Test 1

Test 1

University

•

49 Qs

quiz-placeholder

Similar activities

Cyber Quiz

Cyber Quiz

University

•

50 Qs

Module 10

Module 10

University

•

48 Qs

ASAS SAINS KOMPUTER TINGKATAN 3 - BAB 1

ASAS SAINS KOMPUTER TINGKATAN 3 - BAB 1

9th Grade - University

•

50 Qs

Comptia Network+ chapter 1-3 exam

Comptia Network+ chapter 1-3 exam

11th Grade - University

•

45 Qs

Networking - Practice Test #1

Networking - Practice Test #1

9th Grade - University

•

47 Qs

Grade 5 IT Quiz

Grade 5 IT Quiz

5th Grade - University

•

50 Qs

Ngôn ngữ lập trình C/C++

Ngôn ngữ lập trình C/C++

University

•

50 Qs

GEOGRAPHICAL INFORMATION SYSTEM

GEOGRAPHICAL INFORMATION SYSTEM

University

•

50 Qs

Test 1

Test 1

Assessment

Quiz

•

Computers

•

University

•

Practice Problem

•

Easy

Created by

Gabe Vandzura

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

49 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

// This is a comment

The above comment line may be replaced with the comment line given below

\* This is a comment *\

T

F

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The variable name score.1 is a valid variable name in Visual C++?

T

F

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

#include <iostream>;

There is syntax error in the above preprocessor directive.

T

F

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

While declaring a named constant, the semicolon (;) is not used at the end of the line.

T

F

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The expression following the word case in the switch statement cannot be a variable.

T

F

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int value;

value = 9.99;      // floating point value is assigned to integer variable

After execution of the above statement, 9 will be stored in the variable value after the value is trucated.

T

F

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int item = 7;

cout << "The value in item = " << "item" << endl;


The above code will display:

The value in item =  7


T

F

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?

Discover more resources for Computers