
Techno Whiz Level 1
Presentation
•
Professional Development
•
•
Practice Problem
•
Hard
HANUDEEP GATTU
Used 4+ times
FREE Resource
0 Slides • 25 Questions
1
Multiple Choice
Which of the following is not a Primitive Data-Type?
int
Float
Double
String
2
Multiple Choice
Which of the following is a Conditional Operator?
==
?:
>=
<=
3
Multiple Choice
Which of the Following Functions is used to Open a File in C ?
Open()
openfile()
fopen()
createfile()
4
Multiple Choice
Guess the output of the following snippet?
10<<2
2
30
40
60
5
Multiple Choice
Which of the following statements about dynamic memory allocation in C is true?
It is done using the malloc() function
Memory allocated dynamically is automatically deallocated when the program terminates
It is less flexible than static memory allocation
Dynamic memory allocation is not allowed in C
6
Multiple Choice
What does the "const" qualifier indicate in the following declaration?
const int *ptr;
The pointer itself is constant
The value pointed to by ptr is constant
Both the pointer and the value pointed to by ptr are constant
the function pointed to by ptr cannot modify any variables
7
Multiple Choice
Which of the following is used to define a Macro in C?
#def
#define
#macro
#define_macro
8
Multiple Choice
Functions in C Language are always_
Internal
External
Both External and Internal
External and Internal are not valid terms for functions
9
Multiple Choice
What is #include<stdio.h>?
Preprocessor directive
Inclusion directive
File inclusion directive
None of the above
10
Multiple Choice
What is the sizeof(char)in a 32-bit C Compiler?
1 bit
2 bits
1 Byte
2 Bytes
11
Multiple Choice
What is meant by ‘a’ in the following C operation?
fp = fopen("Random.txt", "a");
Attach
Append
Apperehend
Add
12
Multiple Choice
Who is the father of C Language ?
Steve Jobs
James Gosling
Dennis Ritchie
Rasmus Lerdorf
13
Multiple Choice
Which is the valid C expression?
int my_num = 10,000;
int my_num = 10000;
int my num = 10000;
int $my_num = 10,000;
14
Multiple Choice
What is the result of Logical and Relational Expression in C?
True or False
0 or 1
0 if expression false and any positive number if an expression is true
None of the Above
15
Multiple Choice
The C- preprocesses are specified with ____ symbol?
#
$
" "
&
16
Multiple Choice
How many number of pointers (*) does C have against a pointer variable declaration?
7
127
255
No limit
17
Multiple Choice
What will be the data type returned for the following c function?
int fun()
{
return (double)(char) 5.0;
}
char
int
double
float
18
Multiple Choice
Which of the following language predecessor to C programming language?
A
B
BCPL
C++
19
Multiple Choice
Character constants should be enclosed between
Single quotes
Double quotes
Both
None of the above
20
Multiple Choice
The operator & is used for
Bitwise AND
Bitwise OR
Logical AND
Logical OR
21
Multiple Choice
Which of the following operator has the highest precedence?
*
==
=>
+
22
Multiple Choice
Which of the following statements is true?
C library functions provide I/O facilities
C inherit I/O facilities
C doesn't have I/O facilities
Both A and C
23
Multiple Choice
Which operator in C is known as ternary operator
/
&&
?:
//
24
Multiple Choice
Which of the following keyword is used for storage classes?
Printf
Auto
sacnf
external
25
Multiple Choice
The ___ chars have values from -128 to 127.
Signed
unsigned
long
none
Which of the following is not a Primitive Data-Type?
int
Float
Double
String
Show answer
Auto Play
Slide 1 / 25
MULTIPLE CHOICE
Similar Resources on Wayground
20 questions
Causative Form
Presentation
•
10th Grade
20 questions
Can
Presentation
•
12th Grade
20 questions
Fraction-Of Whole Numbers
Presentation
•
4th - 5th Grade
20 questions
Một số tổ hợp phím tắt cơ bản trong Word
Presentation
•
KG - University
22 questions
Interpersonal and Intrapersonal Communication
Presentation
•
9th - 12th Grade
16 questions
Effective Goal-Setting
Presentation
•
Professional Development
19 questions
Midterm review UTS
Presentation
•
University
Popular Resources on Wayground
24 questions
PBIS-HGMS Day 10
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Review 3
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
15 questions
HCS SCI 05 Summer School Assessment 3 Review
Quiz
•
5th Grade
35 questions
Lufkin Road Middle School Student Handbook & Policies Assessment
Quiz
•
7th Grade
18 questions
Geo 11.3 Area of Circles and Sectors
Quiz
•
9th - 11th Grade
Discover more resources for Professional Development
24 questions
PBIS-HGMS Day 10
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Review 3
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
15 questions
HCS SCI 05 Summer School Assessment 3 Review
Quiz
•
5th Grade
35 questions
Lufkin Road Middle School Student Handbook & Policies Assessment
Quiz
•
7th Grade
18 questions
Geo 11.3 Area of Circles and Sectors
Quiz
•
9th - 11th Grade