C Classes

C Classes

University

10 Qs

quiz-placeholder

Similar activities

7.9 Identifying and Correcting Errors Cambridge IGCSE 0478

7.9 Identifying and Correcting Errors Cambridge IGCSE 0478

10th Grade - University

10 Qs

Python quiz - 3 Control Statements and Functions

Python quiz - 3 Control Statements and Functions

University

10 Qs

Control Structures - Selection in Python

Control Structures - Selection in Python

8th Grade - University

11 Qs

Lec8

Lec8

University

10 Qs

Session 2 Quiz

Session 2 Quiz

University

10 Qs

Code Blaze - Round -1

Code Blaze - Round -1

University - Professional Development

10 Qs

Common errors in C programming

Common errors in C programming

University

15 Qs

UNIT-1 PYTHON BASICS

UNIT-1 PYTHON BASICS

University

10 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?