C++ Basic To Array Test 01

C++ Basic To Array Test 01

University

50 Qs

quiz-placeholder

Similar activities

c programming

c programming

University

50 Qs

Pre-Test Praktikum

Pre-Test Praktikum

University

50 Qs

Test 2

Test 2

University

49 Qs

IP MIDTERM

IP MIDTERM

University

45 Qs

codinggss

codinggss

University

50 Qs

c++ 202-

c++ 202-

University

50 Qs

HTML,CSS AND JS QUIZ

HTML,CSS AND JS QUIZ

University

50 Qs

P1 COMPROG 1-6

P1 COMPROG 1-6

University

50 Qs

C++ Basic To Array Test 01

C++ Basic To Array Test 01

Assessment

Quiz

Computers

University

Medium

Created by

ram lovewanshi

Used 8+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The process of creating a new variable without value
declaration
naming
instantiation
assigning

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the only function all C++ programs must contain?

start()

system()

main()

program()

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What punctuation is used to signal the beginning and end of code blocks?

{ }

-> and <-

BEGIN and END

( and )

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is a correct comment?

*/ Comments */

** Comment **

/* Comment */

{ Comment }

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

After running the following code, what will be the value of x?
y = 3;
x = 5 * y;
3
5
15
0

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the output of this program?
Program
int main()
{
cout<<"Hi everybody";
return 0;
}
"Hi everybody"
Hi everybody"
Hi everybody
"Hi everybody

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

... variables store whole numbers (-4, 3, 51, etc). 
Float
Logical
Character
Integer

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?