NEW
Font size
WorksheetsC BASICS
Total questions: 30
Worksheet time: 29mins
int main ()
{
int x = 24, y = 39, z = 45;
z = x + y;
y = z - y;
x = z - y;
printf ("n%d %d %d", x, y, z);
}
24 39 63
39 24 63
24 39 45
39 24 45
Who is Father of C Language
Bjarne Stroustrup
James A. Gosling
Dennis Ritchie
Dr. E.F. Codd
C Language is developed at ___________?
AT & T's Bell Laboratories of USA in 1972
AT & T's Bell Laboratories of USA in 1970
Sun Microsystems in 1973
Cambridge University in 1972
C programs are converted into machine language with the help of
An Editor
A compiler
An operating system
None of these.
Which one of the following is not a valid identifier?
_examveda
1examveda
exam_veda
examveda1
Which is the only function all C programs must contain?
start()
system()
printf()
main()
Which of the following is not a correct variable type?
float
real
int
char
Program is a list of_______________, written in a _______________________ to determines the behaviour of a machine.
word, english
instructions , programming language
instructions, word
A flowchart is a graphical representation that helps programmer to develop algorithms in programming.
True
False
Process of writing the C source code is called as ___________________
Editing
LInking
Executing
#include<stdio.h> is important line in c. The stdio.h contains information on input output routines.
True
False
The operator "&" is used for
Bitwise AND
Bitwise OR
Logical AND
Logical OR
The size of a character variable in C is
8 bytes
4 bytes
2 bytes
1 byte
When C Language was invented?
1970
1978
1979
1972
___ is used to translate source code instructions into the appropriate machine language instructions
Module
Library routine
Compiler
Preprocessor directives
A ____ is a set of instructions that the computer follows to solve a problem.
Comipler
Linker
Program
Operator
The program written by the programmer with high level language is called:
Object Code
Syntax
Source Code
Runtime Library
What is the extension of C program source code?
.cpp
.py
.c
.java
What is machine language?
A language used by car
Machine language is made of 1's and 0's
Machine language is made of 7's and 8's
A language that only understands plain English
Which of the following is not a high level programming language?
Assembly
C++
Java
Python
Every C Program Statement must be terminated with a
.
#
;
!
The words if, else, auto, float etc. have predefined meaning and users cannot use them as variables.
These words are called
keywords
identifier
data types
constant
C language is a
structured program
object oriented program
oriented program
basic program
What function is use to display a message?
printf
output
