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)
36 views
C Language
Uploaded by
gopalmondal110
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save C Language For Later
Download
Save
Save C Language For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
36 views
C Language
Uploaded by
gopalmondal110
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save C Language For Later
Carousel Previous
Carousel Next
Save
Save C Language For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 9
Search
Fullscreen
RAJEEV GANDHI YOUTH COMPUTER SAKSHARTA MISSION EXAM PAPER Question Cum Answer Booklet Total Marks: 100 (Theory :100), (Practical :100) Every Question Marks: juration= 3Hrs. fo be filled by stu Registration No: . Centre Code: ject Name... Student Name... Father's Name .... [_ ‘Student Signature Examiner Signature Marks Obtained Theory] Practical] Theory [Practical] §=§=__ [Treory]Prectical] theory Practical] Date Subject _ feofw | | | 200 Designation Notice 1. Verify the number of pages before writing anything. In case of any error in page numbers replace the booklet. 2. This booklet is 2 question cum answer sheet. All the answer must be written in the space provided according to the instruction given for each question. No separate answer sheet will be provided. 3. Write your registration no and other required details only in the space provided only. 4. Writing any unfair text anywhere in the booklet will be liable for making it invalid, 5.Use only Ball pen Black/Blue only. G.Answer sheet other than booklet are liable to be rejected. ‘7.Answer all questions. Each question contains 2 Marks. Read the question carefully before answering them. The total time allotted for answering the question paper is 3Hrs. You will be provided with 10 minutes of reading time extra to go through the question paper before your answering time starts. 8. You have to tick the correct option (for example A or B of C or D) against the respective question Number/Code in the answer sheet provided separately. In case you have ticked the wrong option, cross it and then tick the correct option. Do not mark the question paper. Submit the question paper along with your Answer sheet once you are through with the examination.C Language 1. Who is the father of C language? a) Steve Jobs b) James Gosling c) Dennis Ritchie d) Rasmus Lerdorf 2. Which of the following is not a valid C variable name? a) int number; b) float rate; Cc) int variable_count; d) int $main; 3. All keywords in C are in a) LowerCase letters b) UpperCase letters c) CamelCase letters d) None of the mentioned 4. Which of the following is true for variable names in C? a) They can contain alphanumeric characters as well as special characters b) Itis not an error to declare a variable to be one of the keywords(like goto, static) c) Variable names cannot start with a digit d) Variable can be of any length 5. Which is valid C expression? a) int my_num = 100,000; b) int my_num = 100000; c) int my num = 1000; d) int $my_num = 10000; 6. Which of the following cannot be a variable name in C? a) volatile b) true ) friend d) export 7. What is short int in C programming? a) The basic data type of C b) Qualifier c) Short is the qualifier and int is the basic data type d) All of the mentioned 8. Which of the following declaration is not supported by C language? a) String str; b) char *str; c) float str = 3e2; d) Both “String str;” and “float str = 3e2;”C Language 9. Which keyword is used to prevent any changes in the variable within a C program? a) immutable b) mutable c) const d) volatile 10. What is the result of logical or relational expression in C? a) True or False b)0or4 c) 0 if an expression is false and any positive number if an expression is true d) None of the mentioned 11. Which of the following typecasting is accepted by C language? a) Widening conversions b) Narrowing conversions c) Widening & Narrowing conversions d) None of the mentioned 412. Where in C the order of precedence of operators do not exist? a) Within conditional statements, if, else b) Within while, do-while c) Within a macro definition d) None of the mentioned 13. Which of the following is NOT possible with any 2 operators in C? a) Different precedence, same associativity b) Different precedence, different associativity c) Same precedence, different associativity d) All of the mentioned 14, What is an example of iteration in C? a) for b) white c) do-while d) all of the mentioned 45. Functions can return enumeration constants in C? a) true b) false c) depends on the compiler d) depends on the standard 16. Functions in C Language are always a) Internal b) External c) Both Internal and External d) External and Internal are not valid terms for functionsC Language 17. Which of following is not accepted in C? a) static a = 10; Iistatic as b) static int func (int); //parameter as stati ) static static int a; //a static variable prefixed with static d) all of the mentioned 18. Property which allows to produce different executable for different platforms in C is called? a) File inclusion b) Selective inclusion c) Conditional compilation d) Recursive macros 19. What is #include
? a) Preprocessor directive b) Inclusion directive c) File inclusion directive d) None of the mentioned 20. C preprocessors can have compiler specific features. a) True b) False c) Depends on the standard d) Depends on the platform 21. Which of the following are C preprocessors? a) #ifdet b) define c) #endif d) all of the mentioned 22. The C-preprocessors are specified with symbol. a) # b)$ oy" ds 23. How many number of pointer (*) does C have against a pointer variable declaration? a)7 b) 127 c) 255 d) No limits 24, Which of the following is not possible statically in C language? a) Jagged Array b) Rectangular Array c) Cuboidal Array d) Multidimensional ArrayC Language 25. Which of the following return-type cannot be used for a function in C7 a) char* b) struct c) void d) none of the mentioned 26. The standard header is used for variable list arguments (...) in C. a)
b)
c)
d)
27. When a C program is started, 0.S environment is responsible for opening file and providing pointer for that file? a) Standard input b) Standard output c) Standard error d) All of the mentioned 28. In C language, FILE is of which data type? a) int b) char* ) struct d) None of the mentioned 29. What is the sizeof(char) in a 32-bit C compiler? a) 1 bit b) 2 bits c) 1 Byte d) 2 Bytes 30. Which of the following is not an operator in C? a), b) sizeof) c)~ d) None of the mentioned 34. scanf() is a predefined function in, header file. a) stdlib. h b) ctype. h ©) stdio. h d) stdarg. h 32, What is meant by ‘a’ in the following C operation? fp = fopen("Random.txt”, a"); a) Attach b) Append c) Apprehend d) AddC Language 33. Comment on the following C statement. n=4; printf("%d, %odn", 3*n, n+); a) Output will be 3, 2 b) Output will be 3, 1 c) Output will be 6, 4 d) Output is compiler dependent 34, What is the problem in the following C declarations? int func(int); double func(int); int func(float); a) A function with same name cannot have different signatures b) A function with same name cannot have different return types c) A function with same name cannot have different number of parameters d) All of the mentioned 38. Which option should be selected to work the following C expression? string p= "HELLO"; a) typedef char [] string; b) typedef char “string; c) typedef char [] string; and typedef char ‘string; d) Such expression cannot be generated in C 36. What is the meaning of the following C statement? printf("%10s”, state); a) 10 spaces before the string state is printed b) Print empty spaces if the string state is less than 10 characters c) Print the last 10 characters of the string d) None of the mentioned 37. The acronym ANSI stands for a) American National Standards International b) American National Standards Instructions c) American National Standards Institute d) American National Software Incorporation 38. Which of the following is not a valid data type in C Language? a) Double b) Char c) Long d) Float 39. Who developed C language? a) Ken Thomson b) Peter Norton c) Dennis Ritchie d) Von NeumanC Language 40. Which of the following are used to enclose the body of a function? ao >) 0 ©) () d) None of above 41. The C language is a__ language. a) Middle b) Low c) High d) None of above 42. By the process of linking, the resulting code is called as_ a) Source code b) Object code c) Executable code d) None of the above 43. Inthe structure, the logical expression is checked first. a) Do-while b) If c) While-loop d) All types 44, The keyword struct introduces a) Array declaration b) Loop declaration c) Structure declaration d) All of the above 45. Which of the following will fix the length from the values assigned in the declaration statement? a) C compiler b) CPU of C c) Editor d) Star Office compiler 46. A list of variables in the function definition of an input is called __ a) Local variable b) Variable c) Dummy parameter d) Parameter 47. is a variable name used to identify a function. a) Name b) Structure name c) Function name d) Variable nameC Language 48. Which of the following statements is not true about C language? a) Every instruction is terminated by semicolon b) Itis case insensitive c) Comments can be placed anywhere in the program code d) It has features of both high level and low level languages 49. Which of the following is not an arithmetic operator? a) + b)* ©) % d)& 50. Which of the following character is used to terminate an instruction in a C program? a) , (comma) b) : (colon) c) . (period) d) ; (semicolon)
You might also like
100 Multiple Choice Questions in C Programming MCQs
PDF
83% (6)
100 Multiple Choice Questions in C Programming MCQs
13 pages
Mcqs For All Units
PDF
100% (1)
Mcqs For All Units
92 pages
Adv. C MCQ
PDF
100% (1)
Adv. C MCQ
52 pages
C Programming MCQ
PDF
No ratings yet
C Programming MCQ
7 pages
Cprogrammingwithans
PDF
No ratings yet
Cprogrammingwithans
34 pages
C MCQS
PDF
No ratings yet
C MCQS
38 pages
C Language Test
PDF
No ratings yet
C Language Test
8 pages
Example
PDF
No ratings yet
Example
14 pages
MCQ of Basic Introduction To C
PDF
No ratings yet
MCQ of Basic Introduction To C
19 pages
FDS S.E. MCQ's For All Units (Pune University) PDF
PDF
65% (23)
FDS S.E. MCQ's For All Units (Pune University) PDF
92 pages
Hemesh Kumar Chhipa - A3 PPL
PDF
No ratings yet
Hemesh Kumar Chhipa - A3 PPL
193 pages
C Bits
PDF
No ratings yet
C Bits
15 pages
UpdatedNew C QB-1
PDF
No ratings yet
UpdatedNew C QB-1
2 pages
Quiz 3 and 4
PDF
No ratings yet
Quiz 3 and 4
12 pages
C Multiple Choice Questions and Answers MCQ With Ans
PDF
No ratings yet
C Multiple Choice Questions and Answers MCQ With Ans
22 pages
Question For C Programing Rajesh
PDF
No ratings yet
Question For C Programing Rajesh
7 pages
Adv. C
PDF
100% (1)
Adv. C
52 pages
Computer Science (Fe) Mcq's
PDF
100% (1)
Computer Science (Fe) Mcq's
41 pages
C Ojective Questions
PDF
No ratings yet
C Ojective Questions
19 pages
C One Mark Questions
PDF
No ratings yet
C One Mark Questions
17 pages
MCQ 100
PDF
No ratings yet
MCQ 100
6 pages
10th MCQs Ch-1,2,3
PDF
No ratings yet
10th MCQs Ch-1,2,3
8 pages
E. None of These
PDF
No ratings yet
E. None of These
7 pages
200 Multiple Choice Questions in C Programming MCQs
PDF
No ratings yet
200 Multiple Choice Questions in C Programming MCQs
37 pages
FY_SEM_II_PICProgramming-in-C22226-MCQ-Bank
PDF
No ratings yet
FY_SEM_II_PICProgramming-in-C22226-MCQ-Bank
130 pages
REVISION SHEET COMP
PDF
No ratings yet
REVISION SHEET COMP
8 pages
PPS - Unit 5 Objective Questions
PDF
No ratings yet
PPS - Unit 5 Objective Questions
12 pages
CMCQ
PDF
No ratings yet
CMCQ
18 pages
Diwali H.w- Computer (Std-10)
PDF
No ratings yet
Diwali H.w- Computer (Std-10)
11 pages
C Multiple Choice Questions and Answers MCQ With Ans
PDF
No ratings yet
C Multiple Choice Questions and Answers MCQ With Ans
11 pages
PPSC BITS -EEE,AIML,ECE
PDF
No ratings yet
PPSC BITS -EEE,AIML,ECE
9 pages
BC0034 Computer Concepts & C Programming Paper 2
PDF
100% (1)
BC0034 Computer Concepts & C Programming Paper 2
14 pages
c-mcq_copy
PDF
No ratings yet
c-mcq_copy
12 pages
C MCQ
PDF
No ratings yet
C MCQ
16 pages
Important Placement Material
PDF
No ratings yet
Important Placement Material
17 pages
C Multiple Choice Questions and Answers MCQ With Ans
PDF
No ratings yet
C Multiple Choice Questions and Answers MCQ With Ans
22 pages
Code Arena - Round 1 Questions
PDF
No ratings yet
Code Arena - Round 1 Questions
8 pages
C Language MCQ's
PDF
100% (2)
C Language MCQ's
39 pages
II Sem Bcom Programming With c c Internal i (2)
PDF
No ratings yet
II Sem Bcom Programming With c c Internal i (2)
7 pages
C Prog
PDF
No ratings yet
C Prog
35 pages
Programming in C
PDF
No ratings yet
Programming in C
24 pages
Cprogmcq
PDF
No ratings yet
Cprogmcq
6 pages
QUIZ
PDF
No ratings yet
QUIZ
14 pages
BC0034 Computer Concepts & C Programming Paper 1
PDF
No ratings yet
BC0034 Computer Concepts & C Programming Paper 1
13 pages
Computer Programming in C (2022)
PDF
No ratings yet
Computer Programming in C (2022)
3 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
C Paper
PDF
No ratings yet
C Paper
8 pages
03 C Language
PDF
No ratings yet
03 C Language
2 pages
C
PDF
40% (5)
C
138 pages
R20-Ppsc-Unitwise Multiple Choice Questions
PDF
No ratings yet
R20-Ppsc-Unitwise Multiple Choice Questions
16 pages
MC With Answers
PDF
No ratings yet
MC With Answers
5 pages
C Lang Questions
PDF
100% (1)
C Lang Questions
16 pages
C Programming MCQ Final
PDF
No ratings yet
C Programming MCQ Final
9 pages
Computer Engineering FE MCQ
PDF
No ratings yet
Computer Engineering FE MCQ
28 pages
C Questions
PDF
No ratings yet
C Questions
40 pages
C Programming With Algorithms
PDF
No ratings yet
C Programming With Algorithms
33 pages
121TEST
PDF
No ratings yet
121TEST
2 pages