Hindustan College of Science and Technology Farah ,Mathura Organised By Department of CSE & IT.
A quiz is a form of game or mind sport, in which the players (as individuals or in teams) attempt to answer questions correctly. It is a game to test your knowledge about a certain subject. In some countries, a quiz is also a brief assessment used in education and similar fields to measure growth in knowledge, abilities, and/or skills.
Ken Thompson
Dennis Ritchie
Peter Norton
Martin Richards
An alphabet
A number
A special symbol other than underscore
Both (2) and (3)
Garbage values
2 3 3
3 2 2
0 0 0
Error
D
E
Abcdefgh
Ampersand symbol (&)
Less than symbol (
Two Slashes (//)
Number Sign (#)
The code generates an infinite loop
The code prints all ASCII values and its characters
Error: x undeclared identifier
Error: while statement missing
A>b ? c=30 : c=40;
A>b ? c=30;
Max = a>b ? a>c?a:c:b>c?b:c
Return (a>b)?(a:b)
2.000000, 1.000000
1.500000, 1.500000
1.550000, 2.000000
1.000000, 2.000000
Garbage value
20
Error
0
Dealloc();
Malloc(variable_name, 0)
Free();
Memalloc(variable_name, 0)
Cmp is a pointer to an void type.
Cmp is a void type pointer variable.
Cmp is a function that return a void pointer.
Cmp function returns nothing.
Strnstr()
Laststr()
Strrchr()
Strstr()
Alphabets
Digits
Special Symbols
All of these
Float
Double
Unsigned int
Long double
%ld
%lf
%lu
%lc
A. Address of array
B. First element of array
C. All array elements
D. None from the list
INT=123;
Val='A' * 'B';
Is=20 * 'T'
Count+5=res;
Lower case letters
Upper case letters
Mixed letters
None of these
Microsoft C
Quick C
Turbo C
Fast C
Non structured approach
Structured approach
Object oriented approach
None of these
Compiler
Interpreter
Operating system
Assembler
Systems Programing Language
General Purpose Language
Data Processing Language
D. None of the above
. (dot)
; (semi-colon)
: (colon)
‘ (single quote)
{ }
-> and
BEGIN and END
( and )
: =
=
Equal
= =
Systems Programing Language
General Purpose Language
Data Processing Language
None
An identifier may start with an underscore
An identifier may end with an underscore
IF is a valid identifier
All
Constant expressions are evaluated at compile time
String constants can be concatenated at compile time
Size of array must be known at compile time
All
It is a unary operator
It cannot be applied to an expression
It associates from the right
All
Printf("\\n");
Printf("n\")
Printf('\\n')
Printf("\n")
Int
Float
Array
String
0
1
7
15
.,!!,<,=
=,<,!!,.
=,!!,<,.
<,!!,=,.
6-3*2=9
6*3-4=15
3-6*8=10
3*6-4=33
Int main(int argc,char *argv[])
Int main(){int argc ; char *argv);
None
Int main {argc,argv)int argc; char *argv;
None
String to pointer
Pointers to strings
Both pointers to string and strings to pointers
Dos.h
Alloc.h
Stdlib.h
Memory.h
8
4
Null
Compiler error
Break
Return
Exit
Continue
Yes
No
Compile time error
Yes no
6
7
5
4
P=P-Q-1
P=P-Q+1
P=-P+Q+1
NONE
Far pointer
Void pointer
Null pointer
Wild pointer
Static
Union
Extern
Automatic
Compiler dependent
Runtime error
EOF
NULL
Delete(var-name);
Free(var-name);
Remove(var-name)
Dealloc(var-name);
Automatic variable
Static variable
Registered variable
Global variable
Variables
Structures
Functions
None
It matters
It doesn’t matters
Run time error
Nothing
1
2
4
8
Quiz Review Timeline +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.