Search Header Logo

C++ Basics

Authored by pallavi narang

Computers

University

CCSS covered

Used 12K+ times

C++ Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

start()

system()

main()

program()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command in C++ moves the text to the next line?

\t

\n

\r

\s

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

C++ was developed by?

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the extension of C++ programs?

.c

.css

.cpp

.jsp

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which syntax is correct in printing an output in a C++ program?

print<<"Good Day!";

cout<<"Good Day!";

printf<<"Good Day!";

cout<<"Good"<<"Day!";

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Insertion operator (<<) is used with?

cin

cout

both of the above

main

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which operators are used in C++?

==

+=

**

++

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