C++ Basics

C++ Basics

University

40 Qs

quiz-placeholder

Similar activities

C++ Internal Assessment

C++ Internal Assessment

University

40 Qs

Operators in Python

Operators in Python

University

43 Qs

Decision and Case Control Statements in C

Decision and Case Control Statements in C

University

35 Qs

[AP CSP] Programming with Conditionals [If, Elif, Else]

[AP CSP] Programming with Conditionals [If, Elif, Else]

9th Grade - University

35 Qs

Test Algoritma

Test Algoritma

University

40 Qs

Java Programming

Java Programming

University

40 Qs

CodeChef (Secret Snippet)

CodeChef (Secret Snippet)

University

35 Qs

C++ Basics

C++ Basics

University

40 Qs

C++ Basics

C++ Basics

Assessment

Quiz

Computers

University

Hard

CCSS
6.EE.B.8

Standards-aligned

Created by

pallavi narang

Used 11K+ times

FREE Resource

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

==

+=

**

++

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?