QUIZ 3

QUIZ 3

University

10 Qs

quiz-placeholder

Similar activities

JavaScript Quiz

JavaScript Quiz

University

12 Qs

C/C++ Programming Chapter 3

C/C++ Programming Chapter 3

University

11 Qs

C++ Chapter 2

C++ Chapter 2

University

10 Qs

Control Statements

Control Statements

University

10 Qs

FOP - CHAPTER 3

FOP - CHAPTER 3

University

10 Qs

Enumeration and Recursion

Enumeration and Recursion

11th Grade - University

12 Qs

Java Iteration

Java Iteration

University

9 Qs

PPS : Quiz 2

PPS : 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?