0% found this document useful (0 votes)
44 views5 pages

PPS Bit-Bank

Uploaded by

patelaashritha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views5 pages

PPS Bit-Bank

Uploaded by

patelaashritha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Bhoj Reddy Engineering College for Women

(Sponsored by Sangam Laxmibai Vidyapeet, Accredited by NAAC with A Grade, Approved by AICTE and Affiliated to JNTUH)
Vinaynagar, IS Sadan Crossroads, Saidabad, Hyderabad – 500 059, Telangana. www.brecw.ac.in

I. Choose the correct alternative:

PPS BIT BANK

1. The do while loop is ___________loop

a) Pre tested a) post tested a) both a) none [a ]

2. The software tool that helps a user to interact with computer for a specific purpose is
called
a) System b) Application c) Operating d) Hardware [ b]
software Software System
3. Which of the following is an operator in C?
c)
a) , b) sizeof()
~ d) All [ d]

4. Which among the following is a unconditional control structure.

a) do while b) goto c) for d) if else [ b]

5. All keywords in C are in ____________


a) LowerCase a) LowerCase a) LowerCase
a) LowerCase letters [ a]or b
letters letters letters
6 Which keyword is used to come out of a loop only for that iteration?
d) none of the
a) break b) continue c) return [ a]
mentioned
7. How do you access the first element of an array arr in C

a)arr[0] b) arr[1] c)Both d) None [ a]

8. What is #include <stdio.h>?


a) Preprocessor b) Inclusion
c) File inclusion d) None of the
directive directive [ a]
directive mentioned

9 Which among the following is NOT a logical or relational operator?


[ d ]
a) != b) == c) || d) =

10. The _____________ function reads data from the standard input file keyboard.

a) write b) printf c) read d) scanf [ d]

11 Which of the following is not a data type in C language?

a) int b) float c) char d) string [d]

12. The size of double is _________bytes

P a g e | 1 of 2
a) 2 b) 10 c) 8 d) 4 [ c]

Which of the following is the correct order of operators for the evaluation for the
13 [a]
expression z = x + y * z/4 % 2 - 1
a)* / % + - = b) - % ? * + = c) / * % - + = d) * / % - + =

14. The type cast operator is ____________


d) None of the
a) (type) b) cast() c) ( ;; ) [a]
mentioned

15. The size of float is _________bytes [ d]

a) 2 b) 10 c) 8 d) 4

16. Which symbol is used to represent process in flowchart? [ a]

a)circle b)Rectangle c)Diamond d)Oval

17. Which of the following is not a valid C variable name? [ d]

a)int number; b)float rate; c)int v_count; d)int $main;

18.Which keyword is used to define a structure? [ a]

a)struct b)structure c)strct d)structures

19. pow() function is define in which header file? [ b]

a)<string.h> b)<math.h> c)<stdio.h> d)<stdlib.h>

20. The ___________function appends not more than n characters. [a ]

a)strcat() b)strcon() c)strncat() d)memcat()

II. Fill in the Blanks

11
21. for (i=0; i<=10;i++) executes ________number of times.

unary
22. Increment and decrement operators are called as ____________ operators.

P a g e | 2 of 2
23. Consider the following statement
a=10;
b=a++; Then the value of b is _________________
11

24. while
____________________is entry-controlled loop in c.

25 Syntax for declaring a string variable_____________________


char str_nme[size] ;

26 __________________
strcpy() String handling function is used to copy one string
into another string.

27 _____________is
array a collection of similar data types under the common
name.

28. Dot operator (.) is used for _______________________


to access the elements of structure or union

29. Execution of a C program begins at ______________


main function

30 The memory address of the first element of the array is called_________


base address

for(intilalisation,test condition,increment/decrement)
{
31 Syntax of for loop____________________________________
body of the loop;
}

32. variable
A ___________________ is a name that is used to store a data value.

33 Collection of related data items of different data types is called as


____________________.
structure

34. ______________
strlen() String handling function is used to find length of string.

pointer
35. ______________ stores the address of another variable.

P a g e | 3 of 2
36 The control statement which allows us to make a decision from the
number of choices is called a ___________.
switch

37 A ___________________
variable is a name that is used to store a data value.

38. datatype array _name[rows][coloum];


Syntax to declare 2D array is ___________________

break
39. ______________ statement is used to terminate the loop and control
transfer to the immediate statement after the loop.

40 _____________is
dowhile exit-controlled loop in c.
struct structure name
41 Syntax to declare structure variables is ______________ {
datatype 1;
42. comparsions datatype 2;
__________________ is a use of relational operator. }variable;
43.
Define preprocessor __________

dot operator
_______________ is member selection operator.
44
preprosser
45. #define is ____________

46 __________ is a example of link list.


47.
________is
strcat() a function to add two strings
48
What is emum____________
49.
,if ifelse nested if else
Name all selection control structure _________

50. How to create infinite loop________


while()

P a g e | 4 of 2
P a g e | 5 of 2

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy