12th Class Computer Science MCQS
______ are used to enter data into databases
Forms
Tables
Reports
Queries
If n=3, what will be the value of n after executing the following code?
do
n*=2
while (n<48)
do
n*=2
while (n<48)
96
32
24
48
The keyword used to come out of the body of loop is
Continue
Ebd
Break
Exit
What is the final value of x after executing the following code:
For (int x=0; x<10; X++)
For (int x=0; x<10; X++)
9
1
0
10
Which of the following loop is available in C language?
All
For
Do-while
While
Which of the following statement can be used in C
All
Do while
For
While
The body of for loop with single statement ends with:
Right brace }
Semi colon ;
Comma ,
Right bracket ]
A loop within another loop is called
Inner loop
None
Counter loop
Nested loop
Semicolon is placed at the end of condition in:
All
For loop
Do-while loop
While loop
A for statement contains three expressions: Initialization, test and:
Assignment
Increment / decrement
Validation
All
Continue Reading Go to Next Page
Google Ads