Search Header Logo

C program quiz 1

Authored by 18B074 N

Computers

University

Used 128+ times

C program quiz 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

The portion of language that a computer can understand is called

Binary

Decimal

Code

Numbers

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

A compiler converts a ________ into a __________

object code, source code

binary code, source code

source code, object code

source code, binary code

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

C language consists of _____ parts

2

3

4

5

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

A variable name cannot have both uppercase and lowercase letters

True

False

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Choose the odd one out

Float

Character

Array

Double

6.

FILL IN THE BLANK QUESTION

10 sec • 1 pt

What is the size of float?(in bytes)

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

#include<stdio.h>

int main()

{

int a=10,b=20;

int c,d;

c=a+b;

d=a-b;

printf("%d %d",c,d);

}


What is the output of the above snippet?

30 10

Runtime error

30 -10

Compilation error

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?