C Classes

C Classes

University

10 Qs

quiz-placeholder

Similar activities

Code Blaze - Round -1

Code Blaze - Round -1

University - Professional Development

10 Qs

Python input, output, and errors

Python input, output, and errors

University

14 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

Python

Python

University

10 Qs

Python if statement

Python if statement

University

15 Qs

C Programming Quiz-6

C Programming Quiz-6

University

10 Qs

Round 2 Debug-The-Code

Round 2 Debug-The-Code

University

15 Qs

Pythonintro

Pythonintro

University

15 Qs

C Classes

C Classes

Assessment

Quiz

Computers

University

Hard

Created by

SOUMYAJIT BHATTACHARJEE

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a function?

A mathematical operation

A relation that assigns each element of a set to exactly one element of another set

A random number generator

A variable in programming languages

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What is the output of the program?

Hello, World!

World!

Hello,

Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code ?

Square of 5 is: 25

25

5

Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Output of the code

CodeQuotient

CodeQuotientGet better at coding

CodeQuotient Get better at coding

Compile time error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Output of the following program

4

14-12

16

Virtual Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int i = 1 ;

while ( 1 ) {

i++ ;}
Is this will result in infinite loop??

Yes

No

Probably

Run time error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int y, x = 0 ;

do { y = x ; }

while ( x == 0 ) ;

Will this result in infinite loop?

Not sure

No

Yes

Segmentation Fault

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?