Search Header Logo

C++ Knowledge Based Quiz I = IA

Authored by Kurt Danlog

Instructional Technology

University

Used 1+ times

C++ Knowledge Based Quiz I = IA
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Do while loops

Runs a statement once

Runs a statement twice

Runs a statement multiple times or not within a boolean condition

Doesn't run at all

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

iostream

Displays output from the screen and input from the keyboard

Has all the math equations

Counts the time

Checks if the code has a function

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The process of creating a new variable without value

declaration

naming

instantiation

assigning

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

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

start()

system()

main()

program()

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

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

-> and <-

{ }

BEGIN and END

( and )

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A list of instructions that enable a computer to perform a specific task is a...

Computer Program

Algorithm

Machine Code

Binary Code

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the output of this program? Program int main() { cout<<"Hi everybody"; return 0; }

"Hi everybody"

Hi everybody"

Hi everybody

"Hi everybody

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?