ERROR _ELEGANCE

ERROR _ELEGANCE

University

30 Qs

quiz-placeholder

Similar activities

DATA STRUCTURES WORKSHOP DAY-1

DATA STRUCTURES WORKSHOP DAY-1

University

25 Qs

C Quiz 2

C Quiz 2

University

30 Qs

C Programming 2

C Programming 2

University

25 Qs

Fundamentals of Data Science

Fundamentals of Data Science

University

25 Qs

TECH - C

TECH - C

University

30 Qs

Kuis 2 Pemrograman Web 1

Kuis 2 Pemrograman Web 1

University

25 Qs

C Questions for BCA & BSc

C Questions for BCA & BSc

University - Professional Development

30 Qs

CC102 - Seatwork 10

CC102 - Seatwork 10

University

25 Qs

ERROR _ELEGANCE

ERROR _ELEGANCE

Assessment

Quiz

Computers

University

Hard

Created by

VINAYAMANJARI B

Used 8+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the benefit of C++ input and output over c input and output?

Both Type safety & Exception

Sequence container

Exception

Type safety

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How structures and classes in C++ differ?

Structures by default hide every member whereas classes do not

In Structures, members are public by default whereas, in Classes, they are private by

default

Structures cannot have private members whereas classes can have

In Structures, members are private by default whereas, in Classes, they are public by

default

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to define the macros in c++?

#macro

#define

macro

define

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

By default, all the files in C++ are opened in _________ mode.

Binary

VTC

Text

ISCII

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is more effective while calling the C++ functions?

call by object

call by pointer

call by value

call by reference

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following approach is used by C++?

Bottom-up

Left-right

Right-left

Top-down

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Find the output of the code:

L = list('123456')

L[0] = L[5] = 0

L[3] = L[-2]

print(L)

[0, ‘2’, ‘3’, ‘4’, ‘5’, 0]

b. [‘6’, ‘2’, ‘3’, ‘5’, ‘5’, ‘6’]

[‘0’, ‘2’, ‘3’, ‘5’, ‘5’, ‘0’]

[0,'2','3','5','5',0]

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?