Quizzes
Search
Take Quizzes
Animal
Nutrition
Love
Relationship
Computer
Sports
Society
Business
Geography
Language
Personality
Harry Potter
Movie
Television
Music
Online Exam
Health
Country
Art
Entertainment
Celebrity
Math
Game
Book
Fun
Science
Food
History
Education
All Topics
Create a Quiz
Quiz Maker
Training Maker
Survey Maker
Flashcards
Brain Games
See All
ProProfs.com
Search
Create A Quiz
Take Quizzes
Animal
Nutrition
Love
Relationship
Computer
Sports
Society
Business
Geography
Language
Personality
Harry Potter
Movie
Television
Music
Online Exam
Health
Country
Art
Entertainment
Celebrity
Math
Game
Book
Fun
Science
Food
History
Education
All Topics
Products
Quiz Maker
Training Maker
Survey Maker
Flashcards
Brain Games
See All
ProProfs.com
Quizzes
Quizzes
›
Computer
Fpl-I Test For Div A
50 Questions
|
By Sunil | Updated: Mar 18, 2022
| Attempts: 67
Share
Quiz
Flashcard
Start
Share on Facebook
Share on Twitter
Share on Whatsapp
Share on Pinterest
Share on Email
Copy to Clipboard
Embed on your website
Question
1
/ 50
0 %
0/100
Score
0/100
1.
When a key is pressed on the keyboard, which standard is used for converting the keystrokeinto the corresponding bits(A) ANSI (B) ASCII(C) EBCDIC (D) ISO
A
B
C
D
Submit
Start Quiz
About This Quiz
2.
What's your name?
We’ll put your name on your report, certificate, and leaderboard.
2.
A
B
C
D
Submit
3.
A
B
C
D
Submit
4.
EPROM can be used for(A) Erasing the contents of ROM(B) Reconstructing the contents of ROM(C) Erasing and reconstructing the contents of ROM(D) Duplicating ROM
A
B
C
D
Submit
5.
What is the output of the following program segment?main(){int i = ++2;printf("%d\n", i);}(A) 3 (B) 2(C) 0 (D) -1
A
B
C
D
Submit
6.
A Compiler is _____________________.(A) a combination of computer hardware(B) a program which translates from one high-level language to another(C) a program which translates from one high-level to a machine level(D) None of these
A
B
C
D
Submit
7.
A
B
C
D
Submit
8.
A
B
C
D
Submit
9.
Which one do you like?
Option 1
Option 2
Option 3
Option 4
Submit
10.
The C language includes the header file standard input & output in(A) stdlib.h library (B) stdio.h library(C) conio.h library (D) #include library
A
B
C
D
Submit
11.
What is the output of the following program segment?main(){int i = ++2;printf("%d\n", i);}(A) 3 (B) 2(C) 0 (D) -1
A
B
C
D
Submit
12.
A
B
C
D
Submit
13.
Each C preprocessor directive begins with(A) # (B) include(C) main() (D) {
A
B
C
D
Submit
14.
The operators << and >> are(A) assignment operator (B) relational operator(C) logical operator (D) bitwise shift operator
A
B
C
D
Submit
15.
A
B
C
D
Submit
16.
A
B
C
D
Submit
17.
A
B
C
D
Submit
18.
How many times the following program would print ("abc")?main(){printf("\nabc");main();}(A) Infinite number of times (B) 32767 times(C) 65535 times (D) Till the stack does not overflow
A
B
C
D
Submit
19.
'C' is often called a(A) Object oriented language (B) High level language(C) Assembly language (D) Machine level language
A
B
C
D
Submit
20.
Find outputmain() {long i = 30000;printf("%d", i); }the output is(A) 3000 (B) 30000(C) 0 (D) -1
A
B
C
D
Submit
21.
What does IDE stand for?a.) Integrated Development Environmentb.) Integrated Design Environmentc.) Interior Development Environmentd.) Interior Design Environment
A
B
C
D
Submit
22.
A
B
C
D
Submit
23.
The maximum value that an integer constant can have is(A) .32767 (B) 32767(C) 1.7014e+38 (D) –1.7014e+38
A
B
C
D
Submit
24.
A
B
C
D
Submit
25.
Main() {printf("%p\n", main());}(A) Prints the address of main function.(B) Prints 0.(C) Is an error.(D) Is an infinite loop.
A
B
C
D
Submit
26.
Which of the following number system/code uses only 0s and 1s(A) decimal (B) octal(C) hexadecimal (D) none of the above
A
B
C
D
Submit
27.
The expression P >> 6 shifts all bits of P six places to right. What is the value of P >> 6 ifP = 0m 6db7 ?(A) 0m1234 (B) 0m 0001(C) 0m 0000 (D) 0m1B6
A
B
C
D
Submit
28.
A float variable can store any variable within the range of(A) −1.7 m1038 to 38 1.7 m10 (B) 38 − 3.4 m10 to 38 3.4 m10(C) − 7.2 m1038 to 38 7.2 m10 (D) 38 −1.2 m10 to 38 1.2 m10
A
B
C
D
Submit
29.
A
B
C
D
Submit
30.
The << operator is used for(A) Right shifting (B) Left shifting(C) Bitwise shifting (D) Bitwise complement
A
B
C
D
Submit
31.
If a = 5 and b = 7 then the statement p = (a > b) : a ? b(A) assigns a value 5 to p (B) assigns a value 7 to p(C) assigns a value 8 to p (D) gives an error message
A
B
C
D
Submit
32.
A
B
C
D
Submit
33.
If a=8 and b=15 then the statementx= (a>b) ? a:b;(A) assigns a value 8 to x (B) gives an error message(C) assigns a value 15 to x (D) assigns a value 7 to x
A
B
C
D
Submit
34.
A
B
C
D
Submit
35.
A
B
C
D
Submit
36.
The output of the following code isa = 5;a << 1;printf("%d", a);(A) 5 (B) 6(C) 2 (D) 3
A
B
C
D
Submit
37.
A
B
C
D
Submit
38.
Consider the following programmain ( ){ float a = 0.5, b = 0.7;if (b < 0.8)if (a < 0.5) printf ("ABCD");else printf ("PQR");else printf ("JKLF);}The output is(A) ABCD (B) PQR(C) JKLF (D) None of these
A
B
C
D
Submit
39.
What is the output of the following program segment?main(){long i = 65536;printf("%d\n", i);}(A) 0 (B) 65536(C) -1 (D) 65
A
B
C
D
Submit
40.
Printf ("%d", printf ("tim"));(A) results in a syntax error (B) outputs tim(C) outputs garbage (D) outputs tim and terminates abruptly
A
B
C
D
Submit
41.
What would be output of the following program?# define SQR(X) (X*X)main(){int a, b=3;a = SQR(b+2);printf("\n%d", a);}(A) 25 (B) 11(C) Error (D) Garbage value
A
B
C
D
Submit
42.
What will be the output of the following program?main(){int i = 5;printf("%d", i=++i==6);}(A) 0 (B) 1(C) 7 (D) 6
A
B
C
D
Submit
43.
A
B
C
D
Submit
44.
What will be the output of the following programmain( ){int k, num=30;k=(num>5 ? (num<= 10 ? 100:200):500);printf("\n%d", num);}(A) 100 (B) 5(C) 30 (D) 500
A
B
C
D
Submit
45.
Output of the program given below isint i;main(){printf("%d", i);}(A) 1 (B) 0(C) -1 (D) Null
A
B
C
D
Submit
46.
The output of the following isint a = 75;printf ("%d%%", a);(A) 75 (B) 75%%(C) 75% (D) None of the above
A
B
C
D
Submit
47.
Output of the following program fragment isx = 5;y = x++;printf("%d%d", x, y);(A) 5, 6 (B) 5, 5(C) 6, 5 (D) 6, 6
A
B
C
D
Submit
48.
The expression X=4+2%-8 evaluates(A) –6 (B) 6(C) 4 (D) None
A
B
C
D
Submit
49.
What will be the output of following program?main(){int x=15;printf("\n%d%d%d", x!=15, x=20, x<30);}(A) 0, 20, 1 (B) 15, 20, 30(C) 0, 0, 0 (D) Error
A
B
C
D
Submit
50.
What will be the output of following program?main(){int x=15;printf("\n%d%d%d", x!=15, x=20, x<30);}(A) 0, 20, 1 (B) 15, 20, 30(C) 0, 0, 0 (D) Error
A
B
C
D
Submit
View My Results
Related Quizzes
Tablet Quiz: What Tablet Should I Buy Quiz
Tablet Quiz: What Tablet Should I Buy Quiz
Will A Chromebook Suite Me?
Will A Chromebook Suite Me?
A Quiz On Technical Report
A Quiz On Technical Report
Quiz: What Laptop Should You Buy?
Quiz: What Laptop Should You Buy?
A Customer Relationship Management Quiz
A Customer Relationship Management Quiz
Find The E-reader That's Right For You With This Quiz!
Find The E-reader That's Right For You With This Quiz!
Thank you for your feedback!
Would you like to edit this question to improve it?
No thanks
Name:
Email:
Oops! Give us more information:
Incorrect Question
Incorrect Answer
Typos
I have a feedback
Submit
Please provide name and email to proceed.
Please provide correct email to proceed.
Please provide feedback.
Please select the option.
All (50)
Unanswered (
)
Answered (
)
When a key is pressed on the keyboard, which standard is used for...
EPROM can be used for(A) Erasing the contents of ROM(B) Reconstructing...
What is the output of the following program segment?main(){int i =...
A Compiler is _____________________.(A) a combination of computer...
Which one do you like?
The C language includes the header file standard input & output...
What is the output of the following program segment?main(){int i =...
Each C preprocessor directive begins with(A)...
The operators << and >> are(A) assignment operator ...
How many times the following program would print...
'C' is often called a(A) Object oriented...
Find outputmain() {long i = 30000;printf("%d", i); }the output is(A)...
What does IDE stand for?a.) Integrated Development Environmentb.)...
The maximum value that an integer constant can have is(A) .32767...
Main() {printf("%p\n", main());}(A) Prints the address of main...
Which of the following number system/code uses only 0s and 1s(A)...
The expression P >> 6 shifts all bits of P six places to right....
A float variable can store any variable within the range of(A)...
The << operator is used for(A) Right shifting ...
If a = 5 and b = 7 then the statement p = (a > b) : a ? b(A)...
If a=8 and b=15 then the statementx= (a>b) ? a:b;(A) assigns a...
The output of the following code isa = 5;a << 1;printf("%d",...
Consider the following programmain ( ){ float a = 0.5, b = 0.7;if (b...
What is the output of the following program segment?main(){long i =...
Printf ("%d", printf ("tim"));(A) results in a syntax error ...
What would be output of the following program?# define SQR(X)...
What will be the output of the following program?main(){int i =...
What will be the output of the following programmain( ){int k,...
Output of the program given below isint i;main(){printf("%d", i);}(A)...
The output of the following isint a = 75;printf ("%d%%", a);(A)...
Output of the following program fragment isx = 5;y =...
The expression X=4+2%-8 evaluates(A) –6 ...
What will be the output of following program?main(){int...
What will be the output of following program?main(){int...
X
OK
X
OK
Cancel
X
OK
Cancel
Popular Topics
Software Quizzes
Computer Science Quizzes
Computer Hardware Quizzes
Back to top
Back to top
Advertisement