Search Header Logo

C Programing

Authored by Mary Murphy

Computers

University

Used 445+ times

C Programing
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Choose a right C Statement.

Loops or Repetition block executes a group of statements repeatedly.

Loop is usually executed as long as a condition is met.

Loops usually take advantage of Loop Counter

All the above.

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of C Program.?

int main()

{

int a=25;

while(a <= 27)

{

printf("%d ", a);

a++;

}

return 0;

}

25 25 25

25 26 27

27 27 27

Compiler error

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the way to suddenly come out of or Quit any Loop in C Language.?

continue; statement

break; statement

leave; statement

quit; statement

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Loops in C Language are implemented using.?

While Block

For Block

Do While Block

All the above

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Choose a correct C for loop syntax.

for(initalization; condition; incrementoperation) { //statements }

for(declaration; condition; incrementoperation) { //statements }

for(declaration; incrementoperation; condition) { //statements }

for(initalization; condition; incrementoperation;) { //statements }

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Choose a correct C do while syntax.

dowhile(condition) { //statements }

do while(condition) { //statements }

do { //statements }while(condition)

do { //statements }while(condition);

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who is Father of C Language

Bjarne Stroustrup

James A. Gosling

Dennis Ritchie

Dr. E.F. Codd

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?