Search Header Logo

C Quizz Day 1

Authored by BT official

Education

Professional Development

Used 18+ times

C Quizz Day 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

All keywords in C are in ____________

Lowercase

Uppercase

Camelcase

None of these

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

A translator which reads an entire program written in a high level language and converts it into machine language code is:

Assembler

Compiler

Linker

Loader

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is valid C variable declarations?

int my_num = 100,000;

int my_num = 100000;

int my num = 1000;

int $my_num = 10000;

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is variable declaration?

int a,b;

c=a+b;

printf("%d%d",a,b)

scanf("%d%d",&a,&b);

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

how to print a and b variable of int and float respectively

scanf("%d%f",&a,&b);

printf("%d%f",a,b);

printf("%f%d",&a,&b);

printf("%f%d",&a,&b);

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is not a valid variable name declaration?

int a3;

int 3a;

int _A3;

int a_3

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will be the output of the C code?

Hello World! x;

Hello World! followed by a junk value

Compile time error

Hello World!

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?