Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
14 views4 pages

C QP Set

Uploaded by

abhiramshibu2004
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)
14 views4 pages

C QP Set

Uploaded by

abhiramshibu2004
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/ 4

QP CODE: 18103823 Reg No : .....................

18103823
Name : .....................

B.Sc.DEGREE(CBCS)EXAMINATION, DECEMBER 2018


First Semester
Core Course - CS1CRT02 - METHODOLOGY OF PROGRAMMING AND C LANGUAGE
(Common to B.Sc Computer Applications Model III Triple Main, B.Sc Computer Science Model III,
B.Sc Information Technology Model III, Bachelor of Computer Application)

2018 Admission only


AD9C1513

s
ce
Maximum Marks: 80 Time: 3 Hours
Part A

r
ou
Answer any ten questions.

es
Each question carries 2 marks.

1. What is a low level language?


R
A
BC
2. List out the characteristics of a good programming language.

3. Explain (i) Runtime error (ii) Logical error


m

4. What is a variable ? What are the rules for naming a variable ?


o

5. What are conditional operators?


Fr

6. Explain the use of puts() statement


d
de

7. What is the use of exit() ?


oa

8. What are the differences between arrays and structures?


nl

9. Explain * operator and & operator with example.


ow

10. What are actual parameters and formal parameters?


D

11. What is array of structure? Give example.

12. What is the advantage of using enumerated data type?


(10×2=20)
Part B
Answer any six questions.
Each question carries 5 marks.

13. Explain Linker.

14. Draw a flowchart to find factorial of a number.

Page 1/2 Turn Over


15. Why do you mean by type modifier? What are the different type conversions possible in C? Explain
with example

16. How switch statement is executed in C program? Give example.

17. Write a C program to perform the functions of arithmetic operations of a calculator using switch
statement.

18. Write C program to sort a one dimensional array of integers in ascending or descending order based
on users choice.

19. Explain the concept of pointer to array.

20. What is recursion? What are the advantages and disadvantages of recursion?

s
21. Explain the different dynamic memory allocation functions

ce
(6×5=30)

r
Part C

ou
Answer any two questions.

es
Each question carries 15 marks.

R
22. Explain the following a) Factors for selecting a language. b) Control structures used in programming
A
languages.
BC

23. Explain different tokens in C language


m

24. Explain strings and its memory representation. Write a C program to count the number of vowels in a
o

string
Fr

25. a) What are the different Storage classes in C? B) Write down the arithmetic operations with Pointers.
d

(2×15=30)
de
oa
nl
ow
D

Page 2/2
E 8438 (pages: 2) Reg. No...
Name.......

B.Sc./B.C.A. DEGREE (CBCS) EXAMINATION, JANUARYIFEBRUARY 2018


First Semester
Core-METHODOLOGY OF PROGRAMMING AND C LANGUAGE
(Common to B.C.A., B.Sc. (CS), B.Sc. (IT), B.Sc. lComputer Application T?iple Main])
QO77 Admissions)

es
Time : Three Hours Maximum Marks : 80
Part A

rc
Answer aruy ten questions.

ou
Each question carries 2 marks.

es
1. What is aigorithm ?
2. trVhat is a pointer ?

R
c
3. What are key rvords ?
4. What is pseudo code ? A
BC
5. Defrne linker.
6. Shat is meant by testing and debugging ?
om

7. Briefly explain the charactcristics of a good program.


Fr

B. Discuss the purpose of pro6garn planning.


9. What are enumerated datatypes ?
d
de

10. What is a variable ? What are variabie naming rules ?

11. List any three unconditional branching statements.


oa

72. What are header files ? Give examples.


nl

(10x2=20)
ow

Part B
D

Answer any six questions.


Each question camies 5 marhs.

13. Discuss various bitwise operations in C.

74. What are strings ? Explain any 5 standard string functions.


15. What are structures in C ? How is it different from union ? Give example.
16. Discuss various arithmetic operations with pointers'
T\rrn over
2 E 8438

17. Explain the difference between entry controlled and exit controlled loops. Explain with the help of
suitable example.

18. What are language translators ?

19. What is rneant by dynamic memory allocation ? Explain.


20. What is recursion ? Explain direct and indirect recursion.

21. With the help of flowchart, explain any two decision statements in C. Give examples.
(0x5=30)

es
Part C

rc
Answer any two questions.

ou
Each question carries L5 marks.

22. Write

es
a C program to add two square matrices.

23. Write notes on various operators in C.

R
24. What is a function ? Discuss different types of functionS. Give examples.
25. Explain in detail the various data types in C.
A
BC
(2x15=30)
om
Fr
d
de
oa
nl
ow
D

You might also like