C++ Programming wk 13

C++ Programming wk 13

Assessment

Flashcard

Computers

Professional Development

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

15 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What will the result of 'num' variable after execution of the following statements? int num = 58; num % 11= ;

Back

3

2.

FLASHCARD QUESTION

Front

What will the result of num1 variable after execution of the following statements?
int j = 1, num1 = 4;
while (++j <= 10) {
num1++;
}

Back

13

3.

FLASHCARD QUESTION

Front

What output is produced by the following segment of code:
for(int i = 0; i < 10; i++)
cout << i << " ";

Back

0 1 2 3 4 5 6 7 8 9

4.

FLASHCARD QUESTION

Front

True/False: For Loops can never be an infinite loop.

Back

False

5.

FLASHCARD QUESTION

Front

How many times will the shown for loop execute?

Back

10

6.

FLASHCARD QUESTION

Front

What does <= mean?

Back

less than or equal to

7.

FLASHCARD QUESTION

Front

What is the only function all C++ programs must contain?

Back

main()

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?