Answer All Questions (10X2 20 Marks)
Answer All Questions (10X2 20 Marks)
PART-B
Answer All Questions (5X6=30 marks)
11.A. Explain the components and purpose of a computer system
Or
B. Convert the binary number (01101011)2 to hexadecimal number.
Convert the hexadecimal number (A6B4)16 to octal number.
12.A.Write an algorithm for finding the area of a circle
Or
B. Enlist the features of a good programming language
13.A. Write a ‘C’ program to divide two numbers and find the reminder
Or
B. Compare with suitable examples the Control Statements and the looping
Statements.
14.A. Write a ‘C’ program to swap two numbers using call by value method
Or
B. Explain the use of following String functions
1. Strlen() 2.Strcpy() 3.strcat() 4.strcmp 5.gets()
15.A. Write the use of functions malloc() and realloc()
Or
B. Explain what you understand from the following three lines
int* x;
int a=10;
x=&a;
PART-C
Answer All Questions (5X10=50 marks)
16.a Describe the Organization of computer with block Diagram in
detail.(16)
(OR)
Explain in detail about the booting process
17. a Describe algorithmic problem solving approach in brief.(16)
(OR)
b. Draw a flowchart to verify whether the student has passed in the subject
c.
18. a .Write a C Program to print the grade for the marks obtained.(10)
(OR)
b. Compare the three Loop control structures used in C with examples. (10)
___________________________________________________________________