Hello Diploma students welcome to msbte news in this article we have provided 22226 programming in c mcq questions with answers. This msbte mcq question bank computer engineering is ideal for students who are in diploma 1st year. with this programming in c mcq with answers pdf msbte diploma students can practice for their upcoming summer 2021 exams.
In this programming in c mcq test paper we have selected 35 important questions from programming in c previous year question papers which will help students to understand the basic paper pattern of 22226 programming in c mcq.
msbte mcq question bank computer engineering
Table of Contents
programming in c mcq questions with answers
Advantages of recursion
(a) Reduces length of the program
(b) Reduces unnecessary calling of a function.
(c) Useful when same solution is to be applied many times
(d) All of the above
Correct!
Wrong!
A rectangle symbol represents a
(a) Arrows
(b) Process
(c) Decision
(d) Input / Outputs
Correct!
Wrong!
A diamond symbol represents a
(a) Arrows
(b) Process
(c) Decision
(d) Input / Outputs
Correct!
Wrong!
A parallelogram symbol represents a
(a) Arrows
(b) Process
(c) Decision
(d) Input / Outputs
Correct!
Wrong!
A oval symbol represents a
(a) Start & End
(b) Process
(c) Decision
(d) Input / Outputs
Correct!
Wrong!
List the categories of functions
(a) Function with arguments and no return value.
(b) Function with no arguments and no return value
(c) Function with no arguments and return value.
(d) Function with arguments and return value
(e) All of the above
Correct!
Wrong!
Advantages of pointer
(a) They increase execution speed.
(b) Pointers reduce the length and complexity of a program.
(c) Pointers are more efficient in handling the data tables
(d) It supports dynamic memory management.
(e) All of the above
Correct!
Wrong!
State any four decision making statements.
(a) if statement
(b) if-else statement
(c) if-else-if ladder
(d) Nested if-else statement
(e) All of the above
Correct!
Wrong!
State Whether the following statements are True or False
An array with more than one dimension is called a multidimensional array.
(a) True
(b) False
Correct!
Wrong!
Two dimensional array is a collection of similar type of data elements arranged in the form of rows & columns.
(a) True
(b) False
Correct!
Wrong!
printf() function is used to read character, string, numeric data from the keyboard.
(a) True
(b) False
Correct!
Wrong!
The conversion of one data type to another is known as type casting.
(a) True
(b) False
Correct!
Wrong!
While loop is used in programming to repeat a specific block of statement until some end condition is met.
(a) True
(b) False
Correct!
Wrong!
scanf() function is used to print the character, string, float, integer, octal and hexadecimal values onto the output screen.
(a) True
(b) False
Correct!
Wrong!
clrscr() function is used to clear the output screen.
(a) True
(b) False
Correct!
Wrong!
getch() reads character from keyboard and echoes to o/p screen
(a) True
(b) False
Correct!
Wrong!
getche() reads character from keyboard and echoes to o/p screen
(a) True
(b) False
Correct!
Wrong!
putch Writes a character directly to the console.
(a) True
(b) False
Correct!
Wrong!
textcolor() function is used to change the text color
(a) True
(b) False
Correct!
Wrong!
In ‘while’ loop the controlling condition appears at the end of the loop
(a) True
(b) False
Correct!
Wrong!
Array can be of any type like int, float, char.
(a) True
(b) False
Correct!
Wrong!
String can contain only characters
(a) True
(b) False
Correct!
Wrong!
Do-while is an entry controlled loop
(a) True
(b) False
Correct!
Wrong!
Array does not end with a null character
(a) True
(b) False
Correct!
Wrong!
Array size can be modified using pointer.
(a) True
(b) False
Correct!
Wrong!
The left shift operator will shift the bits towards left for the given number of times.
(a) True
(b) False
Correct!
Wrong!
The right shift operator will shift the bits towards right for the given number of times.
(a) True
(b) False
Correct!
Wrong!
String size once declared cannot be changed.
(a) True
(b) False
Correct!
Wrong!
An array is a collection of data elements, all of the same type, accessed using a common name.
(a) True
(b) False
Correct!
Wrong!
Algorithm is a stepwise set of instructions written to perform a specific task.
(a) True
(b) False
Correct!
Wrong!
while is an exit controlled loop
(a) True
(b) False
Correct!
Wrong!
“math.h” header file supports all the mathematical related functions in C language
(a) True
(b) False
Correct!
Wrong!
In ‘do-while’ loop the controlling condition appears at the start of the loop
(a) True
(b) False
Correct!
Wrong!
stdio.h header file is used for input/output functions like scanf and printf.
(a) True
(b) False
Correct!
Wrong!
Conditional operators return one value if condition is false and returns another value is condition is true
We provide regular updates about msbte on our social accounts For latest msbte diploma updates you can follow our page on Instagram @msbtenews and Facebook @msbtediplomaupdates. we solve your queries by message on our social accounts so do follow our social accounts if you have any queries related to diploma and engineering courses.
msbte news.com is created to help msbte diploma students to find study resources, which are very much needed for diploma students while preparing for the exam. msbtenews.com will provide all msbte mcq question bank with answers which are provided by msbte.org.in. with these model question and answer papers students gets a rough idea about paper pattern and marks distribution.