C Programming

C Programming

12th Grade - University

25 Qs

quiz-placeholder

Similar activities

Magajastra

Magajastra

University

20 Qs

Kuis I Blok KMB II

Kuis I Blok KMB II

University

20 Qs

Group RED - Phenomenology

Group RED - Phenomenology

University

20 Qs

K Youth IoT Module 4 Batch 2

K Youth IoT Module 4 Batch 2

University

20 Qs

โครงการPSU ห่วงใยใส่ใจสุขภาพ Season2 Ep1

โครงการPSU ห่วงใยใส่ใจสุขภาพ Season2 Ep1

University

20 Qs

Penilaian Harian 1 Bahasa Indonesia Kelas XII

Penilaian Harian 1 Bahasa Indonesia Kelas XII

12th Grade

20 Qs

Safety Briefing Quiz

Safety Briefing Quiz

University

20 Qs

Pedagogi

Pedagogi

University - Professional Development

20 Qs

C Programming

C Programming

Assessment

Quiz

Other

12th Grade - University

Practice Problem

Hard

Used 604+ times

FREE Resource

AI

Enhance your content in a minute

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

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?

rem = 3.14 % 2.1;
rem = modf(3.14, 2.1);
rem = fmod(3.14, 2.1);
Remainder cannot be obtain in floating point division

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How would you round off a value from 1.66 to 2.0?

ceil(1.66)
floor(1.66)
roundup(1.66)
roundto(1.66)

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Global variable are available to all functions. Does there exist a mechanism by way of which it available to some and not to others.

Yes
No

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Point out the error in the following program 

No error
display() doesn't get invoked
display() is called before it is defined
None of these

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Point out the error in the following program

Error: Declaration syntax error 'v' (or) Size of v is unknown or zero.
Program terminates abnormally.
No error
None of these.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In which order do the following gets evaluated
1.Relational
2.Arithmetic
3.Logical
4.Assignment

2134
1234
4321
3214

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The keyword used to transfer control from a function back to the calling function is

switch
goto
go back
return

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?