C PROGRAMMING

C PROGRAMMING

University

25 Qs

quiz-placeholder

Similar activities

IMK 1

IMK 1

University

20 Qs

DSA5541 Quiz 1 TRI 2210

DSA5541 Quiz 1 TRI 2210

University

20 Qs

C Programming Unit-1 Test-2

C Programming Unit-1 Test-2

University

20 Qs

Cloud Computing 04

Cloud Computing 04

University

20 Qs

Java Quiz 1

Java Quiz 1

University

20 Qs

TEST1.PY

TEST1.PY

10th Grade - University

20 Qs

VB

VB

University

20 Qs

Network Devices Quiz4

Network Devices Quiz4

University

20 Qs

C PROGRAMMING

C PROGRAMMING

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Viswanathkani T

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

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?