ERROR ELEGANCE

ERROR ELEGANCE

University

30 Qs

quiz-placeholder

Similar activities

Inter School Quiz (English Medium) Paper 03

Inter School Quiz (English Medium) Paper 03

University

25 Qs

ROTC

ROTC

University

25 Qs

random stuff

random stuff

KG - Professional Development

25 Qs

Zoology Module 1 - History and Branches of Zoology

Zoology Module 1 - History and Branches of Zoology

University

25 Qs

Most popular boy names

Most popular boy names

3rd Grade - Professional Development

26 Qs

Landasan Pendidikan UTS

Landasan Pendidikan UTS

1st Grade - University

25 Qs

LAW OF CONTRACT (Offer & Acceptance)

LAW OF CONTRACT (Offer & Acceptance)

University

25 Qs

Arduino

Arduino

University

25 Qs

ERROR ELEGANCE

ERROR ELEGANCE

Assessment

Quiz

Other

University

Hard

Created by

39 Janani

Used 4+ times

FREE Resource

AI

Enhance your content

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

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

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?