CPP Prelim

CPP Prelim

University

5 Qs

quiz-placeholder

Similar activities

C++ Array Quick Review

C++ Array Quick Review

University

10 Qs

Informatika x

Informatika x

University

10 Qs

QUIZ C++: 1

QUIZ C++: 1

University

5 Qs

C++

C++

University

5 Qs

CSC126_Chapter4_Part1

CSC126_Chapter4_Part1

University

10 Qs

Instrukcja for z zagnieżdżeniem (C++)

Instrukcja for z zagnieżdżeniem (C++)

KG - University

7 Qs

C++ prasanja

C++ prasanja

KG - Professional Development

5 Qs

C++ Chapter 2

C++ Chapter 2

University

7 Qs

CPP Prelim

CPP Prelim

Assessment

Quiz

Computers

University

Medium

Created by

John Oli

Used 9+ times

FREE Resource

5 questions

Show all answers

1.

DRAG AND DROP QUESTION

3 mins • 5 pts

Media Image

What is the missing part of the code below to output "Hello World!".

(a)  
CIN
Cout
COUT
cout

2.

DRAG AND DROP QUESTION

3 mins • 5 pts

Media Image

Insert a new line after "Hello World", by using a special character:

(a)  
\n
/n
<<endl
new line

3.

DRAG AND DROP QUESTION

3 mins • 5 pts

Media Image

Use the correct keyword to get user input, stored in the variable num1:

(a)  
CIN<<Num1;
cin<<num1;
cin>>Num1;
cin>>num1;

4.

MULTIPLE CHOICE QUESTION

3 mins • 10 pts

Media Image

Fill in the missing parts to print the sum of two numbers (which is put in by the user):

Media Image
Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

3 mins • 5 pts

Media Image

Add the correct data type for the following variables

Integer, Double, Character, Boolean, String

Var, Num1, Char, Sting

Boolean, Strings, Intege

Doubles , Integers, Characters