COM 121 C++

COM 121 C++

1st - 10th Grade

10 Qs

quiz-placeholder

Similar activities

Caligrafía | CM7

Caligrafía | CM7

1st - 10th Grade

11 Qs

Quiz Bahasa C++ 1

Quiz Bahasa C++ 1

9th - 12th Grade

10 Qs

Pemrograman Dasar Percabangan dan Perulangan

Pemrograman Dasar Percabangan dan Perulangan

1st - 3rd Grade

10 Qs

HTML Basics Quiz

HTML Basics Quiz

1st Grade - University

10 Qs

Цикл whille

Цикл whille

1st - 5th Grade

8 Qs

Reference and Pointers in C++

Reference and Pointers in C++

6th - 8th Grade

10 Qs

C++

C++

6th - 8th Grade

10 Qs

While Loops

While Loops

10th - 12th Grade

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