C++ Assessment

C++ Assessment

University

10 Qs

quiz-placeholder

Similar activities

C Wrapup Quiz Deutsch

C Wrapup Quiz Deutsch

University

12 Qs

SCM and Logistics

SCM and Logistics

University

11 Qs

UIT 2221 MALWARE (COPTPA)

UIT 2221 MALWARE (COPTPA)

University

15 Qs

Quiz 10 Susulan  Teori Bahasa dan Otomata 2022-1

Quiz 10 Susulan Teori Bahasa dan Otomata 2022-1

University

10 Qs

PowerPoint 1

PowerPoint 1

12th Grade - University

10 Qs

AB1401 Case Study: Facebook

AB1401 Case Study: Facebook

University

12 Qs

Vocabulary Quiz - Computer - 01

Vocabulary Quiz - Computer - 01

12th Grade - University

10 Qs

Post Test #4 - Python Fundamental #3

Post Test #4 - Python Fundamental #3

University

10 Qs

C++ Assessment

C++ Assessment

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Amit Maan

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

Media Image

What will be the output of the following C++ code?

Hello

World

error

Hello World

2.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

Media Image

Which of the following C++ code will give error on compilation?

Code 1 only

Neither code 1 nor code

Both code 1 and code 2

Code 2 only

3.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

Media Image

What is the value of p in the following C++ code snippet?

12

0

2

16

4.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

Media Image

What will be the output of the following C++ code?

Segmentation fault

Nothing is printed

Error

cin: garbage value

5.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

Media Image

What will be the output of the following C++ code?

30

error

segmentation fault

870

6.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

Media Image

What will be the output of the following C++ program?

Sanfoundry!

Sanfoundry!.

Sanfoundry.

Sanfoundry.!

7.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

Media Image

What will be the output of the following C++ code snippet?

10.0 5

10 2.5

10.0 5.0

5.0 2.5

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?