0% found this document useful (0 votes)
166 views31 pages

Loop (While, For, Do-While) in Java Question Answer - MyCSTutorial - in - The Path To Success in Exam..

The document contains questions and answers about loops in Java. There are three types of loops in Java: while loops, for loops, and do-while loops. The while loop and for loop are entry-controlled loops that check the test condition before the body executes. The do-while loop is an exit-controlled loop that checks the test condition after the body executes. The document provides examples of using while loops to print numbers and calculate sums in Java programs.

Uploaded by

Abhinav Pauranik
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
166 views31 pages

Loop (While, For, Do-While) in Java Question Answer - MyCSTutorial - in - The Path To Success in Exam..

The document contains questions and answers about loops in Java. There are three types of loops in Java: while loops, for loops, and do-while loops. The while loop and for loop are entry-controlled loops that check the test condition before the body executes. The do-while loop is an exit-controlled loop that checks the test condition after the body executes. The document provides examples of using while loops to print numbers and calculate sums in Java programs.

Uploaded by

Abhinav Pauranik
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 31

6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

Loop (while, for, do-while) in Java Question Answer


/ Class 12 Information Technology 802, Java Question Answer / By mycstutorial / March 21, 2023

Repetition Statement Question Answer

Looping in Java – While, For and Do-While


Topics: Control Flow – Repetition Structure while, do-while, and for loop

Get Java Help. Give Java Help.

Que 1. What is Repetition Structures / Looping?


Answer: The repetition structure allows to perform the same sequence of statements repeatedly until
some condition is met.

The ability of a computer to perform the same set of actions again and again is called looping
Que 2. What is the body of loop?
Answer: The sequence of statements that is repeated again and again is called the body of the loop.
Que 3. What is the test condition of loop?

Answer: The test conditions is an expression, which determine whether a loop is entered or exited and it
is constructed using relational and logical operators.

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 1/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

Looking for a freight rate?


With Quick Quotes, you can generate an
online container shipping quote in just 30
seconds.

hapag-lloyd.com Get Quote

Que 4. What is the Iteration?


Answer: A single pass through the loop is called an iteration.

TF
IIFT Bhopal

TFII
Interior Designing
Institute
Open

Que 5. How many looping statements are in Java?


Answer: There are three looping statements in Java.
(a) while statement
(b) for statement

(c) do while statement


Que 6. How many types of loop?
Answer: There are two types of loop – Entry Controlled loop and Exit controlled loop.
Que 7. What is entry controlled loop?

Answer: A loop which check the test condition before the execution of the body is called Entry controlled
loop.
Que 8. What is exit controlled loop?
Answer: A loop which check the test condition after the execution of body is called Exit controlled loop.

Que 9. Give example of entry controlled and exit controlled loop.


Answer: In Java,

Entry controlled loop – while and for loop

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 2/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

Exit controlled loop – do-while loop

Interior Designing
Open
Institute
IIFT Bhopal

Que 10. Differentiate between entry controlled and exit controlled loop.
Answer:  Entry controlled loop vs Exit controlled loop

Entry controlled loop Exit controlled loop

In this loop, condition / test expression evaluates In this loop, condition/test expression evaluates
before the execution of body after the execution of body.

In this body of loop does not execute if test The body of loop executed at least one time, if the
condition is false test condition is false.

Que 11. Explain the element of loop in Java?


Answer: In Java, loop has four components.
1. Initialization: Initialization statement is use to initialize a control variable.
2. Test condition/expression: A test condition/expression, which check the condition based on control
variable.
3. Body of loop: The set of statements which execute repeatedly, till the test condition is true.
4. Update statement: Update statement is use to change the value of control variable, so that
condition becomes false after finite number of times.

Que 12. What is control variable in a loop?


Answer: A variable that, control the execution of loop called control variable. Generally, condition or test
expression is based on control variable.
Que 13. What do mean by infinite loop?
Answer: A non-terminating loop is called infinite loop. The loop which runs forever and never exits. This
happens when the test condition is always true.
Que 14. What is the while statement? 

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 3/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

Answer: The while statement evaluates the body of the loop till the test condition is true. It checks the
condition before executing the body of a loop. It is an entry-controlled loop.

The structure of the Java while statement is as shown:


Initialization;
while (expression or test condition) {
            statements // body of loop

            update_statement
}

Choose ASUS Gaming Desktops


Asus Exclusive Store - Perfect World…

Que 15. Write a java program to print the numbers from 1 to 5 using a while loop.
Answer:

public class PrintNumber1to5 {


public static void main (String[ ] args) {
int number = 1;
while (number <= 5) {
System.out.println (number);

++number;
}
}
}

Que 16. Write a java program to print the numbers from 1 to 5 and display sum of the numbers.
Answer:
public class SumNumber1to5 {
public static void main (String[ ] args) {

int sum = 0; 

int number = 1;

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 4/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

while (number <= 5) {


System.out.println (” ” + number);
sum = sum + number;

++number;
}
print(“Sum of numbers from 1 to 5 is “, +sum);
}

}
Que 17. Write a java program to print the sum of all even numbers from 1 to 20.
Answer:
public class SumEvenNumber {

public static void main (String[ ] args) {


int sum = 0;
int number = 2;
while (number <= 20) {

sum = sum + number;


number = number + 2;
}
print(“Sum of even numbers from 1 to 20 is “, +sum);
}

}
Que 18. Write a java program to print the squares of numbers from 1 to 10.
Answer:
public class SquareNumber1to10 {

public static void main (String[ ] args) {


int number = 1;
while (number <= 10) {
System.out.print (“Square of  ” + number);

System.out.println(“=” + (number * number));


++number;
}

}

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 5/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

Interior Designing Institute


17 Years Of Legacy. Placement Assistance.
Free Demo Class Available. Call Now for
booking.

IIFT Bhopal Open

Que 19. Write a java program to print the squares of odd number and cube of even number from 1
to 10.
Answer:
public class SQCUBNumber1to10 {
public static void main (String[ ] args) {

int number = 1;
while (number <= 10) {
if(number % 2 == 0)     
System.out.print (“Cube of  ” + number);

System.out.println(“ = ” + (number * number * number));


}
else{
System.out.print (“Square of  ” + number);
System.out.println(“ = ” + (number * number));

}
++number;
}
}

}
Que 20. What is the do – while statement?
Answer: The do-while statement evaluates the body of the loop till the test condition is true. It checks the
condition after executing the body of loop. It is an exit controlled loop.
The structure of the Java do-while statement is as shown:

Initialization;

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 6/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

do {
            statements // body of loop
            update_statement

} while (expression or test condition) ;


Remember, in do while , while is written after the close curly braces and terminated by semicolon.
Que 21. Write a java program to print the numbers from 1 to 5 using do-while loop.
Answer:

public class PrintNumber1to5 {


public static void main (String[ ] args) {
int number = 1;
do {

System.out.println (” ” + number);
++number;
} while (number <= 5) ;
}

}
Que 22. Write a java program to print the squares of numbers from 1 to 10 using do-while loop.
Answer:
public class PrintNumber1to5 {
public static void main (String[ ] args) {

int number = 1;
do {
System.out.print (“Square of  ” + number);
System.out.println(“=” + (number * number));

++number;
} while (number <= 10) ;
}
}

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 7/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

Interior Designing
Open
Institute
IIFT Bhopal

Que 23. Differentiate between while and do-while loop? [CBSE QP/ SQP]
Answer:  while vs do-while

while do – while

A while loop is an entry controlled loop – A do-while loop is an exit control loop – it tests for a
it tests for a condition prior to running a condition after running a  block of code.
block of code

A while loop runs zero or more times A do-while loop runs once or more times but at least once
Body of loop may never be executed

The variables in the test condition must Body of loop is executed at least once  It is not necessary
be initialized prior to entering the loop to initialize the  variables in the test condition prior to
structure.  entering the loop structure.

while (condition) {          statements } do { statements } while (condition) ;

Que 24. Write one example of infinite loop.


Answer:  Example of infinite loop is
int number = 1;

while (number <= 5)


{
System.out.print(“Square of ” + number);
System.out.println(” = ” + number*number);

}
Que 25. What is the Syntax errors?
Answer: Errors occurs due to not writing statement as per syntax rules, called syntax errors.
For example:

            int  x = 1                            // Syntax error – missing semicolon 

            number = 1;
https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 8/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

            do{
                        System.out.println(“”+number);
                        ++number;

}while ( number <= 5)   // Syntax error – missing of semicolon


Que 26. What is the for statement?
Answer:  for statement is an entry control loop in java. The for loop is the most widely used Java
construct.
The for loop has three parts – initialization, test condition and update statement, inside the parenthesis
and one part i.e. body of loop inside the curly braces.
The structure of the Java for statement is as below:

for (counter = initial_value; test_condition; change counter)


{
Statements  // body of for loop
}

Semicolons separate the three parts of a for loop:


The initial_value initializes the value of the loop counter.
The test_condition tests whether the loop should be executed again. The loop is exited when the
test condition fails.
The step updates the counter in each loop iteration

Que 27. How for loop evaluated in Java? Explain it.


Answer:  As you know the for loop has three parts – initialization, test condition and update statement,
inside the parenthesis and one part i.e. body of loop inside the curly braces.
The execution of for loop is as follows:
1. First execute the initialization part, i.e. assign the initial value to the variable.
2. Then test the condition,
3. if condition is true, execute the body of loop, otherwise loop terminates.
4. Increment or decrement the value.
5. Loop back to the test the condition.

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 9/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

Interior Designing
Open
Institute
IIFT Bhopal

Que 28. What are Incrementing loop and Decrementing loop?


Answer: Incrementing loop – The loop which counts up the loop index, called Incrementing loop.
Decrementing loop – The loop which counts down the loop index, called Decrementing loop.

Que 29. Write a java program to print the squares of numbers from 1 to 10, using for loop.
Answer:
public class PrintSqrNumber1to10 {
public static void main (String[ ] args) {

for (int number = 1; number <= 10; ++number) {


System.out.print (“Square of  ” + number);
System.out.println(“=” + (number * number));
}

}
}
Que 30. Write a java program to print the numbers from 10 to 1 using for loop.
Answer:

public class PrintNumber10to1 {


public static void main (String[ ] args) {
for (int number = 10; number >= 1; number–)
{
System.out.println (number);

}
}
}
Que 31. Write a java program to print the table of 5 using for loop.

Answer: 

public class TableOfFive {

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 10/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

public static void main (String[ ] args) {


for (int number = 5; number <= 50; number = number + 5)
{

System.out.print (number);
}
}
}

Bhopal OPEN 09:00 – 20:00


Plot No 71A, Kolar Road,…

Que 32. Write a java program to print the all the even numbers from 11 to 30 .
Answer:
public class EvenNumbers {
public static void main (String[ ] args) {

for (int number = 12; number <= 30; number = number + 2)


{
System.out.print (”  ” + number);
}

}
}
Que 33. Find the output of the following code. How many times will the loop be executed?
for (int count = 1; count <= 10; count = count + 2)
{

System.out.println (count);
}
Answer: It print all odd numbers from 1 to 10. The ouptu is
1 

3
https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 11/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

5
7
9

The loop will execute/iterate 5 times.


Que 34. Find the output of the following code.
for ( int count = 5; count < 10; count++)
{

System.out.println(count);
}
Answer: The output is
          5

          6
          7
          8
          9

Que 35. How many times following loop will iterate? Also gives it output.
for ( int count = 5; count <=10; count++)
{
System.out.println(count);
}

Answer: This loop will iterate 6 times.


Output of the above code is –
          5
          6

          7
          8
          9
          10

Que 36. Write some important features of for loop.


Answer:  Some common important feature of for loop are:
If there is only one statement in the body of the loop, the set of curly braces enclosing the body can
be omitted.

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 12/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

You can use multiple items in the initialization and the updation part of the loop by separating
them with the comma operator.
All parts – initialization, test condition, and updation statement are optional. Any part can be
ignored.

For example:
int x, y;

for (x = 0, y = 10; x < 10; x++, y–)


System.out.println(“x = “ +x + “y = “ + y);
                        int x = 10;
                        for ( ; x > 5;  )

                        {
                                    System.out.println(“”+x);
                                    x–;
                        }
Que 37. Break statement is used to [CBSE QP]

1. Get out of a method                            


2. End a program
3. Get out of a loop
4. Get out of the system

(a) 1 and 2 only


(b) 1, 2 and 3 only
(c) 1 and 3 only
(d) 3 only

Answer: d. 3 only
Que 38. Find the output of the following code:  [CBSE 2019]
public class WhileDemo
{

public static void main (String [ ] args)


{
int number = 1;
while(number <= 5) {
System.out.print(‘‘Square of ’’ + number);

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 13/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

System.out.println(‘‘=’’ + number*number);
++number;
}

}
}
Answer: Output of the above code is
            Square of 1 = 1

            Square of 2 = 4
Square of 3 = 9
            Square of 4 = 16
            Square of 5 = 25

Que 39. What is use of ++ operator in the above code (Q No 36) ? [CBSE 2019]
Answer: The ++ operator in the above code is use to increase the value of number by 1. It is a pre-
increment operator.
Que 40. Why are loops used in programming? What will be the output of the following loop and
why?   
int x = 5;
while (x == 5)

{
System.out.println(“In the loop”);
}
Answer: Loops are used in programming to execute set of statements repeatedly till the condition is true.

Output is:
            In the loop
            In the loop
            ..
            ..

Print In the loop Infinite times .


The above loop is a infinite loop, because the value control variables is remains 5 and condition x == 5 is
always true.

As well as this loop does not contains the update statement, so the value of x does not change in loop
iteration. 
Que 41. Rewrite the following loop using for loop?         

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 14/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

int x = 5;
while (x <= 50)
{

System.out.println(“In the loop”);


x = x + 3;
}
Answer:

            for (int x= 5; x < = 50; x = x + 3)


{
            System.out.println(“In the loop”);
}

Que 42. Rewrite the following loop using do while loop?


int x = 5;
while (x <= 50)
{

System.out.println(“In the loop”);


x = x + 3;
}
Answer:
int x = 5;

do {
System.out.println(“In the loop”);
x = x + 3;
} while (x <= 50);

Que 43. What is the output of the following code? Give reason also.
for (int count = 5; count <= 1; count++)
            System.out.prinln(“Hello”);
Answer: No output.

Reason: Initial value is greater than the limit value and the loop increment is positive. In this case, body of
the loop will never be executed.
Que 44. What is the output of the following code? Give reason also.
for (int count = 1; count >= 5; count–)

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 15/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

            System.out.prinln(“Hello”);
Answer: No output.
Reason: Initial value is lesser than the limit value and the loop increment is negative.

In this case, body of the loop will never be executed.


Que 45. What is the output of the following code? Give reason also.
for (int count = 1; count <= 5; count++);
{

System.out.prinln(“Hello”);
}
Answer: Hello
Reason: The statements within the curly braces will be executed only once (after the for loop terminates)
and not as many times as expected. Because loop is terminated due to placing a semicolon at the end of a
for statement.
Que 46. What do you mean by scope of a variable?

Answer: The scope of variable tells about the visibility of the variable. If any variable is declared inside the
block, then it is not visible outside the block.
For example:

for ( int count = 1; count < 5; count ++)


{
System.out.println(count);
}
The scope of the variable count is only within the body of the for loop. It is not visible outside the
loop.
Que 47. Find the errors in the given code.
            int number = 10

for ( int count = 1; count <= 5; count ++)


{
System.out.println(count * number);
}
System.out.println(“Value of count is”, +count);

System.out.println(“Value of Number is”, +number);


Answer:  Error -> System.out.println(“Value of count is”, +count); 
The scope of the variable count is only within the body of the loop. It is not visible outside the loop.

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 16/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

Que 48. Find the outputs of the given code.


            int number = 10
for ( int count = 1; count <= 5; count ++)

{
System.out.println(count * number);
}
Answer:  Output is 

10
20
30
40

50
Que 49. Predict the output generated by the following code Categorize the loop into entry control
or exit control.  
int x =10, b=30;

while (x<=40) {  
x += b;  
b-=2;
System.out.println(“ ”+x);

}
Answer:      
40
68

Entry Control Loop


Que 50. The following code has error(s). Rewrite the correct code underlining all the corrections
made:
int n = 15;
int I = 10, x = 1;
do; {
       x = x*i;
       i++;
while[i<=n]

jTextField1.settext(“”+x); 

Answer:     
https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 17/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

int n = 15;
int i = 10, x = 1;
do {
       x = x * i ;
       i++;
}while(i <= n) ;
jTextField1.setText(“”+x);

Que 51. Rewrite the following code using WHILE loop:


       int x = 100;
       for(int i = 2;i <= 22; i = i + 4) {
            jTextArea1.append(“\n”+(i+x) );
x = x – 2;
        }
Answer:
int x = 100, i = 2;
           while(i <= 22) {
                     jTextArea1.append(“\n”+(i+x));
                     x = x – 2;
                     i = i + 4;
             }
Que 52. The following code has some error(s). Rewrite the correct code underlining all the
corrections. Also categorize the loop as Entry / Exit Control Loop.
int p
p = 14;
do;

p = p – 2;
System.out.displayln(p);
} while p >= 2
Answer:

int p;
p = 14;
do {
p = p-2;
System.out.println(p);

 }while( p >= 2);


Exit Control Loop


https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 18/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

Que 53. Predict the output of the following code; Also categorize the loop as Entry / Exit Control
Loop.

int j=1, s=0;       


while (j < 10)
{
            System.out.print(j + “+”);

s = s + j;
j=j+j%3;
}
System.out.println(“=” +s);

Answer:  1+2+4+5+7+8+=27
Entry Control Loop
Que 54. Find the error and give correct code
int number = 1;
while (number <= 5) {
      System.out.print(“Square of ” + number);
      System.out.println(” = ” + number*number);

}
Answer: This loop will run forever since number never changes, it remains at 1.

Correct code
int number = 1;
while (number <= 5) {
System.out.print(“Square of ” + number);

System.out.println((” = ” + number*number);
number++;
}

Que 55. Predict the output of the following, if the value of N = 19 is passed as an argument to it.
static void method1(int N){
        int x, y, flg;
        for(x = 1; x < N; x++){
            if(x == 1 || x == 0)

                continue; 

            flg = 1;
https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 19/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

            for (y = 2; y <= x/2; ++y){


                if (x % y == 0){
                    flg = 0;

                    break;
                }    
            }
            if(flg == 1)

                System.out.println(x+””);
        }
    }
Answer: Output of the given code, if N = 19 then, is

2
3
5
7
11
13
17

In-store shopping Delivery

← Previous Post Next Post →

Related Posts

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 20/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

Class 12 Information Technology 802 Term 1 2021-22 Examination


Question Paper with Answer Key
Class 12 Information Technology 802 / By mycstutorial

Class 12 IT 802 Unit 3 Fundamentals of Java – Important Questions


Answers
Class 12 Information Technology 802, Java Question Answer / By mycstutorial

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 21/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

Class 12 Information Technology Code 802 Important Questions


Answers
Class 12 Information Technology 802 / By mycstutorial

Class 12 Information Technology 802 Term 2 2021-22 Board


Examination Question Paper with Answer Key
Class 12 Information Technology 802 / By mycstutorial

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 22/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

Class 12 IT 802 Unit 1 : Database Concepts – Basics of RDBMS Question


Answer
Class 12 Information Technology 802 / By mycstutorial

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 23/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

Class 12 IT 802 Unit 1: Database Concepts – SQL Table Creation and


Manipulation Commands Question Answer
Class 12 Information Technology 802 / By mycstutorial

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 24/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

Class 12 IT 802 Unit 1 Database concepts NCERT Book solution


Class 12 Information Technology 802, Class 12 Information Technology 802 NCERT Book Solution / By
mycstutorial

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 25/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

Class 12 IT 802 Unit 3 Fundamentals of Java Programming NCERT


Book solution
Class 12 Information Technology 802, Class 12 Information Technology 802 NCERT Book Solution / By
mycstutorial

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 26/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

Recent Posts

Class 10 Employability Skills Unit 2 Self Management Skills – II Study Material Notes
Class 9 Employability Skills Question Answer based on NCERT Textbook
Class 9 Employability Skills Multiple Choice Questions MCQ based on NCERT Book
Class 9 Employability Skills NCERT Textbook Solution
Class 9 Employability Skills Unit 5 Green Skills NCERT Book Solution

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 27/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

Nissan Magnite
GEZA @7.39L
This June, bring home
the India inspired SUV
Nissan Magnite
GEZA. Click to book
now @7.39L

Nissan India

Contact Us

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 28/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

Nissan Magnite
GEZA @7.39L
This June, bring home
the India inspired SUV
Nissan Magnite
GEZA. Click to book
now @7.39L

Nissan India

Contact Us

Search … 

Join Our Community


Enter your email address to register to our newsletter subscription delivered on regular basis!

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 29/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

MyCSTutorial is working for free education for all. We are try to provide educational aids free of cost, 
study material, sample papers and so many other things also.

Our only moto to help the students without any trouble or cost.

Follow Us    

CBSE Popular Links

 CBSE Curriculum 2022-23

 Class 12 SQP & MS 2022-23

 Class 10 SQP & MS 2022-23

 9 to 12 CBSE Study Material Links 22-23

 CBSE Class 10 Question Bank 21-22

 CBSE Class 12 Question Bank 21-22

 CBSE Term-2 Question Bank 21-22 (KVS Raipur)

 CBSE Term-1 Question Bank 21-22 (KVS Raipur)


 CBSE Term-1 Question Bank 21-22 (KVS Hyd)

Quick Links

 Computer Science

 Informatics Practices

 Information Technology

 Artificial Intelligence

 Computer Application 165 

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 30/31
6/26/23, 3:12 PM Loop (while, for, do-while) in Java Question Answer - MyCSTutorial.in | The Path to Success in Exam...

Contact Info

Phone
+91 8221909045
Email
info.mycstutorial@gmail.com

COPYRIGHT © 2023 MYCSTUTORIAL.IN | THE PATH TO SUCCESS IN EXAM...


POWERED BY ANJEEV SINGH

https://mycstutorial.in/loop-while-for-do-while-in-java-question-answer/ 31/31

You might also like