C++ Quiz 2

C++ Quiz 2

11 Qs

quiz-placeholder

Similar activities

The Lion, The Witch and the Wardrobe 10-12

The Lion, The Witch and the Wardrobe 10-12

KG - University

14 Qs

Year 6 Science GL Style Practice Paper

Year 6 Science GL Style Practice Paper

5th Grade - University

10 Qs

"Down a Dark Hall" ch. 13-19 exam

"Down a Dark Hall" ch. 13-19 exam

6th - 8th Grade

11 Qs

Integer Operations Unit Test Review

Integer Operations Unit Test Review

6th Grade

10 Qs

THURSDAY: Language Review

THURSDAY: Language Review

1st - 5th Grade

13 Qs

Formatting a Personal Letter Quiz

Formatting a Personal Letter Quiz

KG - University

10 Qs

Humphrey - A.2(C) Writing Linear Equations Given Various Representations

Humphrey - A.2(C) Writing Linear Equations Given Various Representations

KG - University

13 Qs

C++ Quiz 2

C++ Quiz 2

Assessment

Quiz

others

Medium

Created by

kushboo jain

Used 1+ times

FREE Resource

11 questions

Show all answers

1.

OPEN ENDED QUESTION

30 sec • Ungraded

Name

Evaluate responses using AI:

OFF

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is a keyword?
Size
Key
Jump
Switch

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

____ is the smallest individual unit in a program.
Variable
Control
Character
Token

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

____ is a sequence of characters surrounded by double quotes.
Constant
Numeric
Character
String literal

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cin uses which operator?
>>
<<
==
!!

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to print the helloworld?
cout<<”helloworld”<
print(“helloworld”)
printf(“helloworld”)
cin>>”helloworld”;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the program? #include using namespace std; int main() { string name; cout << "Enter the name: "; cin >> name; cout << "Entered name is: " << name; return 0; }
"Enter the name: Geetha "Entered name is: Geetha
"Enter the name: Geetha” "Entered name is: Geetha”
Enter the name: Geetha Entered name is: Geetha
"Enter the name Geetha "Entered name is Geetha

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?