C- Geniusia

C- Geniusia

University

25 Qs

quiz-placeholder

Similar activities

ICT Unit-2

ICT Unit-2

University

20 Qs

2.3.1 Graph Traversal & Path Finding Algorithms

2.3.1 Graph Traversal & Path Finding Algorithms

12th Grade - University

20 Qs

Quiz Harian Gdevelop MPK

Quiz Harian Gdevelop MPK

University

20 Qs

Input/Output

Input/Output

University

20 Qs

Machine Learning

Machine Learning

University

20 Qs

Algoritma Pemrograman

Algoritma Pemrograman

University

20 Qs

3D Objects - Terms & Transfomations

3D Objects - Terms & Transfomations

6th Grade - Professional Development

20 Qs

Digital and Analog transmission

Digital and Analog transmission

University

20 Qs

C- Geniusia

C- Geniusia

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Sanjeevrajan . E

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

30 sec • 1 pt

Which one in this code is literal?

int age = 25;

int

int age

25

=

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct way to get input from user?

scanf ("%d", &var)

printf("%d", var)

printf (var)

scanf("%d", var)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Format specifier for double:

%d

%c

%f

%lf

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the code?

#include<stdio.h>

intmain() {

int x=10;

printf("%d", x) ;

x=x+10;

printf("%d", x) ;

}

10 10

10 0

0 10

10 20

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type of variable x?

int = x;

float a=x;

Integer

Float

Both Integer and float

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?

#include <stdio.h>

int main() {

int a = 5;

printf("%d\n", a > -1);

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to represent logical AND operator in C?

And

and

&&

&

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?