C++ Basics

C++ Basics

University

40 Qs

quiz-placeholder

Similar activities

Web Programming (Midterm)

Web Programming (Midterm)

University

40 Qs

Information Theory №1

Information Theory №1

University

38 Qs

Loop Control Statement in C

Loop Control Statement in C

University

41 Qs

Android Development Associate

Android Development Associate

University

40 Qs

JavaScript Basics

JavaScript Basics

University

41 Qs

quiz based on web design

quiz based on web design

University

40 Qs

JavaScript - Practice 9

JavaScript - Practice 9

University

40 Qs

Web Dev Masterclass Day 2

Web Dev Masterclass Day 2

10th Grade - Professional Development

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