C program quiz 1

C program quiz 1

University

10 Qs

quiz-placeholder

Similar activities

TECHNICAL C PROGRAM

TECHNICAL C PROGRAM

University

10 Qs

CIS1101-programming practice

CIS1101-programming practice

University

15 Qs

C programming-1

C programming-1

University

13 Qs

C programming

C programming

University

15 Qs

C Program Array and strings

C Program Array and strings

University

10 Qs

C Programming - Basics 001

C Programming - Basics 001

University

10 Qs

Milking Minds 2 17-01-24

Milking Minds 2 17-01-24

University

15 Qs

TECH INTELLECT - ROUND 2

TECH INTELLECT - ROUND 2

University

10 Qs

C program quiz 1

C program quiz 1

Assessment

Quiz

Computers

University

Hard

Created by

18B074 N

Used 122+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?