Search Header Logo

10th-2 TEST Q1

Authored by Random Student

Instructional Technology

10th Grade

10th-2 TEST Q1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

Which keyword is used to declare an integer variable in C++?

int
double
char
float

string

2.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

Which operator is used to assign a value to a variable in C++?

<=

<

!=

==

=

3.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

Which data type stores a single character in C++?

int
bool
char
float
string

4.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

Which data type can store a number with decimals?

char
float
int
string

5.

MULTIPLE CHOICE QUESTION

3 mins • 2 pts

This code int age;

cin >> age; is: _______

C++ code for displaying output
C++ code for reading a float input
C++ code for reading an integer input
C++ code for writing a string input

6.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

Which operator is used to add two numbers?

-
+
*
/

%

7.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

Which of the following operators is used for comparison?

=

*

/

$

+

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?