Search Header Logo

ERROR _ELEGANCE

Authored by VINAYAMANJARI B

Computers

University

Used 8+ times

ERROR _ELEGANCE
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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]

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?

Discover more resources for Computers