1. >Data Science
Found 1  QuestionSET DEFAULT
Selected Filters
    Data Science Loops and Iterations
Exams
Subjects
Topics

List of top Data Science Questions on Loops and Iterations

Consider the following code blocks. 

A. for (i=0; i<1000; i++) 
\(\hspace{1cm}\) statement block; 
B. for (i=0; i<100; i+=2) 
\(\hspace{1cm}\) statement block; 
C. for (i=1; i<1000; i*=2) 
\(\hspace{1cm}\) statement block; 
D. for (i=0; i<10; i++) 
\(\hspace{1cm}\) for (j=0; j<10; j++) 
\(\hspace{2cm}\) statement block; 
Arrange the number of iterations of the above loops (number of times 'statement block' is executed) in ascending order.

  • CUET (PG) - 2025
  • CUET (PG)
  • Data Science
  • Loops and Iterations