Search Header Logo

QUIZ 3

Authored by habibah habibah

Computers

University

QUIZ 3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct value to return to the operating system upon the successful completion of a program?

-1

1

0

Programs do not return a value.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the only function all C programs must contain?

start( )

system( )

main( )

program( )

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What punctuation is used to signal the beginning and end of code blocks?

{ }

-> and <-

BEGIN and END

.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct comment?

//

COMMENT

/*COMMENT */

(COMMENT)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a correct variable type?

float

real

iny

double

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the break statement used for ?

  

 

To quit the program.

To quit the current iteration.   

To stop the current iteration and begin the next iteration.

None of the above.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is not a loop structure?
           

for

do while

while

repeat until

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?