COM 121 C++

COM 121 C++

1st - 10th Grade

10 Qs

quiz-placeholder

Similar activities

while

while

1st - 10th Grade

10 Qs

Unit 4 Opener - Predefined Functions & Casting

Unit 4 Opener - Predefined Functions & Casting

9th - 12th Grade

8 Qs

Массивы C++

Массивы C++

10th - 11th Grade

12 Qs

Основы языка C

Основы языка C

1st Grade

15 Qs

Test if

Test if

10th Grade

15 Qs

C++ Pointer

C++ Pointer

6th - 8th Grade

10 Qs

С++ цикл for

С++ цикл for

6th - 9th Grade

10 Qs

ÔN TẬP C++ CƠ BẢN

ÔN TẬP C++ CƠ BẢN

1st - 5th Grade

10 Qs

COM 121 C++

COM 121 C++

Assessment

Quiz

Computers

1st - 10th Grade

Hard

Created by

Mustapha Yakubu

Used 5+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following represent the tab?

\n

\t

\r

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For inserting a new line in c++ program which of the following statement can be used?

\n

\r

\a

None of the above

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following comment syntax is correct to create a single line comment in the c++ program?

//comment

/comment/

Comment//

None of the above

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Who is the founder of c++ programming language?

Dennis Ritchie

Ken Thompson

Bjarne Stroustrup

Brian kernighan

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the following is the correct identifier?

$var_name

VAR_123

varname@

None of the above

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is the correct syntax to print the message in c++ program language?

Cout<<"Hello!";

Cout<<Hello World!;

Cout<<"Hello World!;

None of the above

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is the correct syntax to add the header file in the c++ program?

#include<userdefined>

#include<userdefined.h>

<include>"userdefi ned.h"

Both A and B

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?