Question 1
Which of the following was the first informal standard of C?
K & R C
C99
ANSI C
C11
Question 2
Which of the following best describes C language:
C is a low level language
C is a high level language with features that support low level programming
C is a high level language
C is a very high level language
Question 3
Why do statically typed languages like C generally perform better than dynamically typed languages like Python?
Type is decided at compile time, reducing runtime overhead.
They allocate memory at runtime dynamically.
They use an interpreter instead of a compiler.
They allow implicit data type conversion.
Question 4
The number of tokens in the following C statement is
printf("HELLO WORLD");3
5
9
8
Question 5
The C language is:
A context free language.
A context sensitive language.
A regular language.
Parsable fully only by a Turing machine.
Question 6
Which of the following is a real-world application of C?
Web development with HTML
Operating system development
UI design
Spreadsheet analysis
Question 7
What is the purpose of the main() function in a C program?
To define variables
To serve as the entry point of the program
To handle file operations
To manage memory allocation
Question 8
Which line is essential in a "Hello, World!" program to print output?
printf("Hello, World!");
cout << "Hello, World!";
print("Hello, World!")
write("Hello, World!")
Question 9
What does a compiler do in C?
Executes the program directly
Translates C code into machine code
Manages memory allocation
Debugs runtime errors
Question 10
What is the role of #include <stdio.h> in a C program?
Defines mathematical functions
Includes input/output functions
Manages memory allocation
Handles string operations
There are 10 questions to complete.