Search Header Logo

ERROR ELEGANCE

Authored by 39 Janani

Other

University

Used 4+ 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

Size of wchat_t is

2

4

2 or 4

Depends on number of bits in system

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following types is the language C++?

Procedural

Statically typed language

Dynamically typed language

All of the above

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Total types of errors in C++.

1

2

3

4

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Find the output of the following program.

main(){

Float a = 5;

switch(a){

Case 5: cout <<”Interviewbit”;

Default: cout <<”Scaler”;

}}

Interviewbit

Scaler

error

InterviewbitScaler

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How many times will the print statement be executed?

main(){

int i = 0;

label:

cout << “Interviewbit;

i++;

if(i < 3){

goto label;

}}

1 time

2 times

3 times

error

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the following code snippet?

#include <stdio.h>

int main() {

int a = 3, b = 5;

int t = a;

a = b;

b = t;

printf("%d %d", a, b);

return 0;

}

3 5

3 3

5 3

5 5

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

If p is an integer pointer with a value 1000, then what will the value of p + 5 be?

1020

1005

1004

1010

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?