NEW
Font size
WorksheetsC PROGRAMMING BASICS-QUIZ-1
Total questions: 15
Worksheet time: 5mins
C is developed by______________
Dennis Franklin
Dennis Ritche
Dennis williams
Dennis John
C is a ____________ programming language
Object oriented Programming
Procedure oriented Programming
Structured programming language
Structure and Procedure Oriented Programming
_______________to be included to use standard I/O functions : prinf(),scanf()
#include<conio.h>
#include<stdio.h>
#include<string.h>
#include<math.h>
________to be included to use mathematical functions sqrt()
#include<conio.h>
#include<string.h>
#include<math.h>
#include<stdio.h>
All statements should be written in lower case letters. Upper case letters are only used for symbolic constants.
True
False
Blank spaces can be used while declaring a variable, keyword, constant and function.
True
False
The user can also write one or more statements in one line by separating semicolon (;)
True
False
The opening and closing braces should be balanced.
True
False
Constants are classified as____________
Literal constants
Qualified constants
Symbolic constants
All
A variable is an entity whose value ____________ during the execution of a program
can change
cannot change
A constant is an entity whose value _______________ during the execution of a program
can changed
can't be changed
Which is correct example for variable declaration?
int a;b;c;
Int a,b,c;
int a,b,c;
int a,b;c;
What are the Relational operators?
<< , >>
+, -, !, ~, ++, - -, &, sizeof
*, /, %
<, <=, >, >=
The sizeof operator returns the size of its operand in bytes
True
False
Address-of Operator is used to find the address of a data object. Example: &a
True
False
