QUIZ 3

QUIZ 3

University

10 Qs

quiz-placeholder

Similar activities

PYTHON LOOPING

PYTHON LOOPING

University

10 Qs

Control Structures

Control Structures

University

14 Qs

Basic Java

Basic Java

University

15 Qs

C++ 1st ONLINE QUIZ

C++ 1st ONLINE QUIZ

University

13 Qs

Computer Quiz

Computer Quiz

7th Grade - University

15 Qs

C Language Basic Quiz

C Language Basic Quiz

7th Grade - Professional Development

10 Qs

BCSC0006 - Quiz 3 - Recursion

BCSC0006 - Quiz 3 - Recursion

University

10 Qs

Quiz 2

Quiz 2

University

15 Qs

QUIZ 3

QUIZ 3

Assessment

Quiz

Computers

University

Hard

Created by

habibah habibah

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?