Search Header Logo

COM 121 C++

Authored by Mustapha Yakubu

Computers

1st - 10th Grade

Used 5+ times

COM 121 C++
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?