WorksheetsRound - 1 Code Crafting 1st year
Total questions: 30
Worksheet time: 3600secs
float
int
while loop
All the above
Repeats the loop if the condition applies true-A
Processes the code at least once and then repeats
Repeats only once
All of the above
Process of multiple functions
Multiple functions with the same name
Looping functions
All of the above
int bat;
float cat_a;
int @rat
All of the above
conio.h
getch()
console.log
All of the above
Hello, World!
Syntax Error
0
Nothing
Which of the following is not a keyword in C?
int
char
include
float
.?
low level language
High level language
Medium level language
None of the above
32
33
64
18
Interpreter
Compiler
Both Interpreter and Compiler
Assembler
29
30
31
32
1
2
3
4
%d
%f
%lf
%LF
2
3
4
5
/
\
%
//
Functions can return enumeration constants in C?
true
false
depends on the compiler
depends on the standard.
20
24
Garbage
Error
extend
extends
extern
auto
Repeating the same statement multiple times
Executing a set of statements based on some condition
Providing a name of the block of code
All of these
if-else-if
? :
? ; ?
None of these
Switch
for
Function
All of these
Program will throw an error
Program will loop infinitely
Loop will not run
None of these
0
1
infinite
All of these
scanf()
getc()
fgets()
All of the above
Which function is used to concatenate two strings in C?
concat()
cat()
stringcat()
strcat()
5,5
6,6
5,6
None of the above
strcmp()
strcmpi()
compare()
cmpi()
0
30
Garbage value
Error
-
>
*
.
Which of the following return-type cannot be used for a function in C?
char *
struct
void
none of motioned
