C PROGRAMMING

C PROGRAMMING

University

25 Qs

quiz-placeholder

Similar activities

PERKEMBANGAN & SISTEM KOMPUTER

PERKEMBANGAN & SISTEM KOMPUTER

University

20 Qs

Cuestionario 1.2 Preguntas posibles

Cuestionario 1.2 Preguntas posibles

7th Grade - University

20 Qs

Latihan PSAS Kelas 9

Latihan PSAS Kelas 9

9th Grade - University

20 Qs

C++ Assesment 1

C++ Assesment 1

University

20 Qs

Control Structures  C#

Control Structures C#

University

20 Qs

Kuis Informatika

Kuis Informatika

University

20 Qs

Bridge course with C

Bridge course with C

University

20 Qs

SUMMATIVE TEST (GRADE 8 - COMPUTER)

SUMMATIVE TEST (GRADE 8 - COMPUTER)

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

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

Already have an account?