C PROGRAMMING

C PROGRAMMING

University

25 Qs

quiz-placeholder

Similar activities

Quiz Pemrograman Perangkat Bergerak 2

Quiz Pemrograman Perangkat Bergerak 2

12th Grade - University

20 Qs

Sistem Informasi Manajemen

Sistem Informasi Manajemen

University

20 Qs

Data Structure & Algo - Prelim Long Quiz

Data Structure & Algo - Prelim Long Quiz

University

21 Qs

Week 5: Test your understanding part 1

Week 5: Test your understanding part 1

University

20 Qs

Python Programming

Python Programming

University

20 Qs

unit-4-testing

unit-4-testing

University

20 Qs

Web Development and Programming

Web Development and Programming

University

20 Qs

data structures1

data structures1

University

20 Qs

C PROGRAMMING

C PROGRAMMING

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Viswanathkani T

Used 65+ 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

2 mins • 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)

2.

MULTIPLE CHOICE QUESTION

2 mins • 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

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

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

2134
1234
4321
3214

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What will be the output of the program?

Hello
Hi Hello
No output
Infinite loop

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

How will you print \n on the screen?

printf("\n");
echo "\\n";
printf('\n');
printf("\\n");

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What function should be used to free the memory allocated by calloc() ?

dealloc();
malloc(variable_name, 0)
free();
memalloc(variable_name, 0)

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

A good algorithm must be: 

replacable
simple 
open-ended
detailed

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?

Discover more resources for Computers