C Classes

C Classes

University

10 Qs

quiz-placeholder

Similar activities

C Programming Quiz-5

C Programming Quiz-5

University

10 Qs

Data Analytics using Python - Quiz 1

Data Analytics using Python - Quiz 1

University

10 Qs

LC

LC

University

15 Qs

Topik 7b. Sets

Topik 7b. Sets

University

15 Qs

Control Statements - Java

Control Statements - Java

University

15 Qs

Exception handling -oracle plsql

Exception handling -oracle plsql

University

15 Qs

Session 2

Session 2

University

10 Qs

Java Post Hurricane D Check

Java Post Hurricane D Check

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?