Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
79 views
7 pages
Answer of Computer Science Question 2021
Computer science question and answer
Uploaded by
Rajani Kanta Dolai 3366
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save Answer of computer science question 2021 For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
79 views
7 pages
Answer of Computer Science Question 2021
Computer science question and answer
Uploaded by
Rajani Kanta Dolai 3366
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save Answer of computer science question 2021 For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save Answer of computer science question 2021 For Later
You are on page 1
/ 7
Search
Fullscreen
18 19 1.10 iu 1.12 1.16 A 1.18 1.19 1.20 1.21 1.22 1.23 1.24 Which is not a keyword in C? (a) const =» ,b) main Identify the scalar data type in C 4) double (b) union Identify the derived data type in C (a) int (b) float Which data type can either be used to represent a 8° 4) pointer (b) double The qualifier that may precede float is (a) signed (b) unsigned The qualifier that may precede char is (a) signed (b) unsigned The qualifier that may precede double is (a) signed (b) unsigned Printable characters always use (a) negative integers (c) both positive and negative integers Integral data type includes (by siBEor ae (c) sizeof (d) void (c) function (d) array () union (4) char alar data type or deriv ed data type? (c) structure (d) union (c) long {c) none of the abov (d) none of the abov Bikey <2) options a and b (c) short ND) positive integers (a1 (c) char i the above edn’ (d) 0X625 (c) 0.08e-4 (d) 1.3345F a -0756 (d) 06.52 (c) 0 (alphabet) @ 0 (zero) (c) HX (d) 0 (a) enum (b) int Which is not a valid integer constant ? (a) 600000 u (b) 534878 ul Which is not a valid floating constant? (a) 4E-6f 0) 4E 12 Identify the Octal constant (a) 627 (b) OX25 An octal constant is preceded by (a) X (b) OX A hexa constant is preceded by a) Ox (v0 A character constant is written within (a) double quotes _o) single quotes (c) options a andb —_(d) none of the above String constants are represented within (a) single quotes ‘u) double quotes (c) options aandb (4) \* and *\ Identify the invalid string constant. (a) “A+B” (@)** «1.25 Which is nota character constant? 4\x24" (a) ‘\60" (b) \012" tone if o tant. ’ 2 1,26 ee oa ; nana Fae a 1.27 Identify the eseape sequence(s). A) all the abo (a) \0 (b) \n (c) \f 1.28 Which is not a white space character? (ay bleak (a)\f (b) \v wo 1.29 Identify the white space character (s). 4, Aiticers (a) blank (b) \f (c) \r ideutify the invalid string constant. (a) “S\t LO\t 15 \” (b) “cost = 90\x24\n (c) *\n Don’t care condition” Na Cis flexible’ 131 Ifaconstant is given a name it becomes { (a) a string constant (4% manifest (c) const declaration (d) inv alid 1,32. Sypbolic constants are defined as # define S1.$2 (b) # define $1 S2; (c) # define $1 = $2 (d) # define $1 = S2; 1.33 we # in the # define statement must commence from anywhere in a line (0) the first column of a line (c) the first column of next line (d) the first line 1.34 What is an object in C? (a) constant MM variable (c) identifier (4) keyword 1.35 Identify the C token(s). (a) keywords (b) constants (c) operators "WH all the abo 1.36 Statement terminator is represented by Gyr (b) blank f 1.37 Which is true in case of ANSI C? eee (a) Comments are represented in betw: i we Nested comments are not allowed poh eae a ble comments are allowed. ‘mments are not allowed within a string constant : string Identify the correct statement(s) related to ie ‘ (a) Token is an individual entity of a ail (b) Tokens are identifi i (c) Compiler always eens ne the compilation, Cine Onstitutes the longest Possible token, 1.39 Identify the number of tokens in the followi lowi ee (b)s Ue =21) 1,38 (d)7Identify the separator(s) in C {g) white space character JF.) options a and > Identify the wrong statement 140 (b) comment (d) semicolon iat (a) # define *symbolic constant *) MAX 100 (b) *declaration*/a.b; (e) char el, €2; “define MAX 25; 1.42 Which is an invalid variable name? (a) Int (b) Xx NG net-sotary (d) floating 1.43. Mentify the correct statement, (a) The variable names VOLUME and volume are identical. . ‘The variable names Sum and sum are identical. ‘ariables are not declared before use. ‘Variable names may be absent in a declaration. 1.44 Iggutify the invalid identifier. NET_S (b) BINGO ()_ACCOUNT = (d)_4 1.48 Which is the most appropriate variable initialization? # define MAX 100 (b) int x, y; y = 15; f) float y = 2.14; (d) char c; ¢ ="0'; 1.46 Tokens are separated by using B): @). (©); A ecaronc 1.47 Am escape sequence commences with é )/ ©? we 1.48 Identify the wrong declaration. (a) inten = (7); (b) char 2 = A’ +25, cl = °Z"; int xy (4) intx=10,y=x* 149 Veit eee Aya ee © eon ae ee | 56 long ftoat 1; (c) long double Id; < 1.50 Ideotfy the wrong sentence. ts) signed sh (a) # define isa preprocessor facility, # define aids in modifying a constant valu eit ¢ throughout the program. LSI 1. A definition allocates memory space for a variabl ditizat cee seins PHN rie ae ons | and 4 4 only . ta a manet=a 2.54 Ina C expression, how is (|| it * logical AND represented? - ) AND. 2.55. Which of the following is a temary operator ©@@ i) as a) ?: (b) * 28 fc (©) sizeof. a 226) Which of the following is NOT a bitwise opately (a) a (a) & (* oe Li 2.57 The type cast operator is ) (type) (b) cast() ; @n @> 2.58 Which of the following statements is/are TRUE? 1. A char data type variable alwa 'yS occupies one byte independent of the system architecture. es sizeof operator is used to ) determine the amount of memory occupied by a variable. both 1 and 2 (b) 1 only (c) 2 only (@) neither 1 nor 2 2.59 What might be the minimum value for the data type int, for 32 bit compiler? (a)0 ) ~2,147,483,648 — (c) -2,147,483,647 (d) -32768 2.60. If the value of a = 10 and b =~1, the value of x after executing the following expression is x= (a! = 10) && (b= 1) a 0 (b) 1 ()-1 (d) none 2.61 What would be the output of the expression 11 * 5? (a)6 (b) 8 O14 (@ 15 2.62 What is the value of x after executing the following statement? int x = O11 | Ox10; (a) 13 (b) 19 WH ev 2.63 fi t languages? What is the function of the modulus operator in most (a) Sets a system environmental value to either base 10, base 8, or base 16. turns id argument power. b) Returns the first argument raised to the secon ® Prints ‘out the actual code written to standard output rather than executing the code Returns the remainder after dividing one number by another. 2 2.64 What is the value of x in the sample code ant double x; x =,(2 + 3) * 2 +37 (c) 25 (d) 28 2.65 cae will be we if the following code is executed? main() oom Bee a De Ce ra eee ee (0 v1 @2 2.66 Whi expressions will correctly, swap two integers without using a tempo- ill t! i x jich of the following " rary variable? - io) (x= % y So Reet oe Sees WOE Gan.”integer x? (a) x & OxFFOO (b) x>>24 (c) x > > (CHAR - BIT * (sizeof(int) — 3)) a x>> (CHAR BIT * (sizeof(int) — 1)) 2.68 What is the value of the following expression? els iss1%2 62 (b) -2 (c) 1 @o 2.69. What is the value of the following expression? i=1; i=(i<<=1%2) Ww2 (1 0 2.70 _ For the following statements find the values generated for p and q? intp=0,q=1; 2.67 What is the correct and fully portable way to obtain the most significant byte of an up (d) syntax error Pop att Dis==4; The value of p and q are 11 (b) 0,0 2.71 : (c) 3,2 (d) 1,2 Which of the following is a better approach to of the do the operation i= i* 16; ? (a) multiply i by 16 and keep it ) shift left by 4 bits (c) add i 16 times (d) none of the above1, structured 2, four s. 8 6. manifent 7, objects 9. tokens 10. initialisation, initializer 12, unicode character «at Trus True a %Match the Following 8 a3 Objective Type Questions 11.b 12a 13.e 1a.e 1s.a 16.4 le 18.b 19.¢ 20.6 le 2b 3.4 4b S.e 6.4 1b aa 9b 1
You might also like
100 Multiple Choice Questions in C Programming MCQs
PDF
86% (7)
100 Multiple Choice Questions in C Programming MCQs
13 pages
C-MCQ
PDF
No ratings yet
C-MCQ
12 pages
Example
PDF
No ratings yet
Example
14 pages
Diwali H.W - Computer (Std-10)
PDF
No ratings yet
Diwali H.W - Computer (Std-10)
11 pages
C Bits
PDF
No ratings yet
C Bits
15 pages
C Programming With Algorithms
PDF
No ratings yet
C Programming With Algorithms
33 pages
Computer Science (Fe) Mcq's
PDF
100% (1)
Computer Science (Fe) Mcq's
41 pages
C MCQ
PDF
No ratings yet
C MCQ
12 pages
100 MCQ - C Lan Nir
PDF
No ratings yet
100 MCQ - C Lan Nir
12 pages
200 Multiple Choice Questions in C Programming MCQs
PDF
No ratings yet
200 Multiple Choice Questions in C Programming MCQs
37 pages
Dca1102 C Language
PDF
100% (1)
Dca1102 C Language
57 pages
Doc
PDF
No ratings yet
Doc
15 pages
C MCQ
PDF
No ratings yet
C MCQ
16 pages
C Celect1
PDF
No ratings yet
C Celect1
17 pages
C One Mark Questions
PDF
No ratings yet
C One Mark Questions
17 pages
I BCA-106A - C Programming
PDF
33% (3)
I BCA-106A - C Programming
26 pages
C Programming
PDF
No ratings yet
C Programming
3 pages
Computer Concepts Programming
PDF
No ratings yet
Computer Concepts Programming
51 pages
Objective Type Question of Computer Science PDF
PDF
No ratings yet
Objective Type Question of Computer Science PDF
281 pages
MCQ's in Computer Science
PDF
0% (1)
MCQ's in Computer Science
281 pages
6102 C Language Mca MCQ
PDF
100% (1)
6102 C Language Mca MCQ
93 pages
BC0034 Computer Concepts & C Programming Paper 1
PDF
No ratings yet
BC0034 Computer Concepts & C Programming Paper 1
13 pages
Tcs Questions
PDF
No ratings yet
Tcs Questions
47 pages
MCQ's On C
PDF
No ratings yet
MCQ's On C
20 pages
100 Multiple Choice Questions in C Programming PDF: Eguardian India
PDF
No ratings yet
100 Multiple Choice Questions in C Programming PDF: Eguardian India
29 pages
(1 Mark Each) : Programming in C
PDF
100% (1)
(1 Mark Each) : Programming in C
12 pages
C Programming
PDF
No ratings yet
C Programming
47 pages
Computer 12 CH09MCQs
PDF
No ratings yet
Computer 12 CH09MCQs
14 pages
B) Stdlib.h: A) Getchar B) Getch C) Getche D) Both (B) and (C)
PDF
No ratings yet
B) Stdlib.h: A) Getchar B) Getch C) Getche D) Both (B) and (C)
9 pages
Important Placement Material
PDF
No ratings yet
Important Placement Material
17 pages
Total C Prog Bits
PDF
100% (1)
Total C Prog Bits
77 pages
A) Printf B) External C) Auto D) Scanf
PDF
No ratings yet
A) Printf B) External C) Auto D) Scanf
9 pages
C Gate Questions
PDF
No ratings yet
C Gate Questions
12 pages
CSCI 1470 Quiz1 Key
PDF
No ratings yet
CSCI 1470 Quiz1 Key
9 pages
Loki Oop
PDF
No ratings yet
Loki Oop
4,280 pages
Adobe Scan 02-Nov-2023
PDF
No ratings yet
Adobe Scan 02-Nov-2023
11 pages
Solved MCQs ch#6
PDF
No ratings yet
Solved MCQs ch#6
3 pages
Pyq C (2023)
PDF
No ratings yet
Pyq C (2023)
3 pages
Quiz 3 and 4
PDF
No ratings yet
Quiz 3 and 4
12 pages
Basic C Programming MCQquestions For Engineering Student
PDF
100% (1)
Basic C Programming MCQquestions For Engineering Student
61 pages
2024 12 23 08 50 Solution
PDF
No ratings yet
2024 12 23 08 50 Solution
6 pages
Programming in C MC Q
PDF
No ratings yet
Programming in C MC Q
18 pages
Computer Programming-Question Bank
PDF
No ratings yet
Computer Programming-Question Bank
81 pages
CH 2
PDF
No ratings yet
CH 2
11 pages
Ôn tập 1
PDF
No ratings yet
Ôn tập 1
13 pages
C Programming I
PDF
No ratings yet
C Programming I
25 pages
23UCAFC11 - Unit I, II
PDF
No ratings yet
23UCAFC11 - Unit I, II
125 pages
10th MCQs Ch-1,2,3
PDF
No ratings yet
10th MCQs Ch-1,2,3
8 pages
Sde 44
PDF
No ratings yet
Sde 44
15 pages
MC With Answers
PDF
No ratings yet
MC With Answers
5 pages
C Programming Notes
PDF
No ratings yet
C Programming Notes
7 pages
Xii C++ (2,3,4 Upto Call by Reference) 07.08.2017
PDF
No ratings yet
Xii C++ (2,3,4 Upto Call by Reference) 07.08.2017
8 pages
C Language
PDF
No ratings yet
C Language
9 pages
IKSHA'2022: Education PAR SCHODL:L1-1855
PDF
No ratings yet
IKSHA'2022: Education PAR SCHODL:L1-1855
2 pages
Admission Cancel Notice For UG 1st SEM 2023
PDF
No ratings yet
Admission Cancel Notice For UG 1st SEM 2023
1 page
Notice For Sending List of Students For Formation of Students'Council 2021-2022
PDF
No ratings yet
Notice For Sending List of Students For Formation of Students'Council 2021-2022
1 page
Viva Voce Notice - Bengali - 03 05 2022
PDF
No ratings yet
Viva Voce Notice - Bengali - 03 05 2022
1 page
Cuet Ug Elegible
PDF
No ratings yet
Cuet Ug Elegible
3 pages
Cu Decentralized Counselling Form
PDF
No ratings yet
Cu Decentralized Counselling Form
1 page
Phy Lab Manual 2nd Sem Mca
PDF
No ratings yet
Phy Lab Manual 2nd Sem Mca
3 pages
Decentralized 3rd Sem 2021
PDF
No ratings yet
Decentralized 3rd Sem 2021
4 pages
English All
PDF
No ratings yet
English All
27 pages
On Letter-Writing - Full Online Book
PDF
100% (2)
On Letter-Writing - Full Online Book
2 pages
The Solitary Reaper by William Wordsworth - Poetry Foundation
PDF
100% (2)
The Solitary Reaper by William Wordsworth - Poetry Foundation
2 pages
Break, Break, Break by Alfred, Lord Tennyson - Poetry Foundation
PDF
No ratings yet
Break, Break, Break by Alfred, Lord Tennyson - Poetry Foundation
1 page
A Short History of Java: Platform Independent (Meaning That The Same Program Can Run On A Wide
PDF
No ratings yet
A Short History of Java: Platform Independent (Meaning That The Same Program Can Run On A Wide
2 pages
Timetable WBJEE-2021
PDF
No ratings yet
Timetable WBJEE-2021
1 page
NOTICE - Wireless Operator
PDF
No ratings yet
NOTICE - Wireless Operator
1 page
Letter Life Skills Facilitator
PDF
No ratings yet
Letter Life Skills Facilitator
1 page