C PROGRAMMING

C PROGRAMMING

University

25 Qs

quiz-placeholder

Similar activities

Code-101

Code-101

University

20 Qs

LIKA LIKU KOMPUTER

LIKA LIKU KOMPUTER

University

20 Qs

Bubble Sort and Pointers

Bubble Sort and Pointers

University

20 Qs

First Quiz Interactive Designing

First Quiz Interactive Designing

University

20 Qs

C - Structures

C - Structures

University

20 Qs

POTENCIACIÓN NIVEL I

POTENCIACIÓN NIVEL I

1st Grade - University

20 Qs

Django-quiz

Django-quiz

5th Grade - University

20 Qs

PAS 2022 Twan

PAS 2022 Twan

University

20 Qs

C PROGRAMMING

C PROGRAMMING

Assessment

Quiz

Computers

University

Hard

Created by

Viswanathkani T

Used 64+ times

FREE Resource

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?