C++ Quiz 2

C++ Quiz 2

11 Qs

quiz-placeholder

Similar activities

Formatting a Personal Letter Quiz

Formatting a Personal Letter Quiz

KG - University

10 Qs

9.3 Python FFA

9.3 Python FFA

KG - University

10 Qs

The Lion, The Witch and the Wardrobe 10-12

The Lion, The Witch and the Wardrobe 10-12

KG - University

14 Qs

6th Grade Science MS LS1-6

6th Grade Science MS LS1-6

KG - University

14 Qs

BIOLOGY- Syllabus & Lab Safety Quiz

BIOLOGY- Syllabus & Lab Safety Quiz

KG - University

10 Qs

Integer Operations Unit Test Review

Integer Operations Unit Test Review

6th Grade

10 Qs

QUIZ C++

QUIZ C++

KG - University

10 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?