Control statements in C++

Control statements in C++

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

HEALTH AND SAFETY 9

HEALTH AND SAFETY 9

7th - 9th Grade

11 Qs

Remidi UTS AIJ

Remidi UTS AIJ

12th Grade

20 Qs

Excel 2016 perusteet

Excel 2016 perusteet

10th Grade

12 Qs

Internet 2nd

Internet 2nd

11th Grade

18 Qs

INTRODUCCION A LA PROGRAMACION

INTRODUCCION A LA PROGRAMACION

6th Grade - University

10 Qs

Programming: Which Loop?

Programming: Which Loop?

9th - 12th Grade

20 Qs

SHORTCUT PADA KEYBOARD

SHORTCUT PADA KEYBOARD

10th - 12th Grade

10 Qs

Threats to Data

Threats to Data

9th - 12th Grade

11 Qs

Control statements in C++

Control statements in C++

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Malar Selvi

Used 18+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the odd one from the keywords of jump statements:

break

switch

goto

continue

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following is called entry control loop?

(A) do-while

(B) for

(C) while

(D) if-else

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int a, b, c

a = 6 ;

b = 7 ;

c = (a++) – (- - b) ;

cout << c ;

The output of the above code, when it is executed is ……………

a) 0

b) 9

c) 11

d) error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an Object Oriented Programming language?

a) C++

b) C

c) BASIC

d) FORTRAN

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A preprocessor directive starts with the symbol ………….

a) %

b) \

c) $

d) #

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A Program written in high level language is called as …………….

a) Object code

b) Source code

c) Executable code

d) All of these

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT true, related to functions?

a) The actual parameters can be passed in the form of constants to the formal parameters of value type.

b) The actual parameters can be passed only as variable to formal parameters of reference type.

c) The default value in the formal parameters can be given in the form of variable initialization.

d) The default value for an argument can be given in between the argument list

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers