C++ Basics

C++ Basics

University

40 Qs

quiz-placeholder

Similar activities

CodeChef (Secret Snippet)

CodeChef (Secret Snippet)

University

35 Qs

Model test

Model test

University

40 Qs

Estructura de Datos Avanzada 2018

Estructura de Datos Avanzada 2018

3rd Grade - University

35 Qs

Cyber Security

Cyber Security

University

36 Qs

QUIZ

QUIZ

University

45 Qs

Git & GitHub Quiz

Git & GitHub Quiz

University

40 Qs

C++ Basics

C++ Basics

University

40 Qs

PHP Quiz

PHP Quiz

University

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