Professional Documents
Culture Documents
PART B (5X16=80marks)
Part B - (5 x 16 = 80 Marks)
11. (a) (i) Illustrate the process of addition and subtraction in 1s and 2s complement
system with suitable examples. (Marks 8)
(ii) Explain the evolution of computers. (Marks 8)
OR
11. (b) (i) Find the decimal equivalent of the number(A2B:D8)16 (Marks 3)(ii) Find the binary equivalent
of the number(108:625)10 (Marks 3)
(iii) Draw the block diagram to illustrate the basic organization of computer
system and explain the functions of the various units. (Marks 10)
12. (a) (i) State and explain the various steps involved in development of a software.
(Marks 8)
(ii) Differentiate between application software and system software.
(Marks 8)
OR
12. (b) (i) Explain the following:
WWW, URL, Internet Service Provider, Web Browser. (Marks 8)
(ii) Explain the various types of internet connection. (Marks 8)
13. (a) (i) Explain guidelines for preparing flowcharts,benefits and limitation of flowcharts.
(Marks 8)
(ii) Write an algorithm for finding sum and average of n numbers. Also state
the properties of a good algorithm. (Marks 8)
OR
13. (b) What is pseudo code? How does it differ from flowchart? write a pseudo code
to add up all the even numbers between 0 and 100 and print the result. (Marks 16)
14. (a) (i) What are the different operators available in C? Explain with examples.
(Marks 12)
(ii) Differentiate between signed and unsigned integer. (Marks 4)
OR
14. (b) (i) Write a C program to compute the following function: S = (x2 +x4 +...+ x2n)=n. Trace the
program for the values x = 2 and n = 5. (Marks 12)
(ii) Compare `for', `while' and `do-while' loops. (Marks 4)
15. (a) Explain, with examples, the different types of storage classes in C. (Marks 16)
OR
15. (b) (i) Discuss the different forms of macro substitution in preprocessed directives.
(Marks 6)
(ii) Define a structure called student that would contain name, reg-no and
marks of five subjects and percentage. Write a program to read the details of name, reg-no and marks of
five subjects for 30 students, calculate
the percentage and display the name, reg-no, marks of 30 subjects and
percentage of each student. (Marks 10)
PART B (5X16=80marks)
12. a) Explain the step involved in software developments with suitable example. (16)
(OR)
b) i) Discuss the services provided by the internet. (8)
ii) Describe the basic Internet terminologies used. (8)
PART B (5X16=80marks)
12 a) Discuss about the different steps involved in the software development. (16)
(OR)
b) How the software are classified? Explain each with relevant example. (16)
13.a) What is the difference between an algorithm and pseudocode? Also write an Algorithm and
pseudocode for solving a quadratic equation. (16)
(OR)
b) i) Explain any eight formatting features with suitable example. (8)
ii) Explain application of software packages.
COMPUTER PROGRAMMING
(Common to all branches)
PART-A(10x2=20)
Answer all questions
PART-B(5x16=100)
12 (a) (i) Write a C program to find the simple interest? Inputs are principal amount, period in year and
rate of interest.
(ii)Write a program to calculate the sum of remainders obtained by dividing with modular division
operation by 2 on 1 to 9 numbers.
OR
(b) (i) Write a C program to evaluate the following series.
x-x3/3!+x5/5!-x7/7!+...xn/n!
14 (a) (i)Write a program to display array elements and their address using pointers.
(ii)Write a program to assign pointer value to another variable and write program to add two numbers
through their pointers.
OR
(b) (i) Write a program to write data to a text file and to read it.
(ii)Write note on self referential structures.
15 (a) Implement a queue so that each element of the queue hold a list of integers. Write the funcions
add_Q and remove_Q for such a queue.
OR
(b) Write a C program to insert to note in the beginning, middle and end of the linked list
PART B (5X16=80marks)
11.a) i) Explain different types of computers. (8)
ii) Discuss about the evolution of computers. (8)
(OR)
b) With suitable diagram, explain the basic organization of computers. (16)
12. a) Explain the step involved in software developments with suitable example. (16)
(OR)
b) i) Discuss the services provided by the internet. (8)
ii) Describe the basic Internet terminologies used. (8)
7.Write a code segment using while statement to print numbers from 10 down to 1.
(OR)
(OR)
13. (a)Draw and explain the various symbols of flowchart and also draw the flowchar
to add an array
of N elements
(OR)
(OR)
(OR)
15.(b)Write a Cprogram that gets and display the report of n students with their
personal and academic detials using structures.