0% found this document useful (0 votes)
12 views2 pages

C Programming Quiz and Practical Tasks

The document contains multiple choice questions, fill in the blanks, and practical programming tasks related to the C programming language. It covers topics such as the characteristics of C, its creator, and its applications across different operating systems. Additionally, it includes practical exercises for basic programming skills in C.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views2 pages

C Programming Quiz and Practical Tasks

The document contains multiple choice questions, fill in the blanks, and practical programming tasks related to the C programming language. It covers topics such as the characteristics of C, its creator, and its applications across different operating systems. Additionally, it includes practical exercises for basic programming skills in C.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

C Programming — Multiple Choice, Fill in the Blanks & Practical Questions

Section A — Multiple Choice Questions


1. C is a:
(a) High-level language
(b) Low-level language
(c) Middle-level language
(d) Assembly-level language

2. Logic of a program is called:


(a) Syntax
(b) Semantics
(c) Flowchart
(d) Debugging

3. C language has been developed by:


(a) Ken Thompson
(b) Dennis Ritchie
(c) Patrick Naughton
(d) Ed Frank

4. Flowcharts are used to decide:


(a) Sequence of steps involved in finding a solution
(b) An aid to making algorithm
(c) To prepare decision table
(d) To debug a program

5. C programs are converted into machine language with the help of:
(a) An Editor
(b) A Compiler
(c) An Operating System
(d) None of the above

6. C can be used on:


(a) Only MS-DOS operating system
(b) Only Linux operating system
(c) Only Windows operating system
(d) All the above

Section B — Fill in the Blanks


1. ___ is the creator of C language. It was developed at ___ in ________ year.

2. _______ operating system is developed in C.

3. _______ can be stated as the ancestor of C.

4. C language is translated into machine code using a _______.

5. C can be used with _______, _______ and _______ operating systems.

Section C — Practical Programming Questions (WAP)


1 WAP to input two numbers from the keyboard and print their sum.
1️⃣

2️⃣WAP to input two numbers from the keyboard and print their average.

3️⃣WAP to calculate the area of a circle.

4️⃣WAP to print the total seconds in a given time (hrs, mins, secs).

5️⃣WAP to convert temperature from Fahrenheit to Centigrade.

You might also like