Total No. of Questions ; 8 I
{
Total No. of Printed Pages: 2
325/2000 B. E. ('Third Semester) EXAMINATION, May, 2000 (Old Course) (Computer Science & Eledrooics Engg. Branch)
COMPUTERPROG~~ (CSE-201-B) Time: Three Hours ]
[ Maximum Marks : 100 [
Pass Percentage : 40% Nilte : Attempt any five questions.
its organization. (b) Differentiate betwen the following :
10
1 (i) Low level, assembly level and high level language (ii)0
Primary and secondary memory. 2. (a) Convert the following binary numbers into odal and hexadecimal numbers: 10 (i) 110110111010 (ii) 111011000ooo101 (b) Convert the foliowing decimal numbers into billd", numbers : 1C) (i) 2756· 525 (1i) 777 3'257
"
( 2 ) 3 D-=:ine flowchart and draw a flowchart to find the average height of males and females in a class of 50 students. 20 20 4. Write short notes on the following : (a) Decision tables (in FORTRAN) (b) Subrange (in PASCAL)
t
(e) Logical expressions (in FORTRAN) (d) SiD1ple data types (in PASCAL) J
5.
Write a program (in PASCAL) to delete a specified number of characters from a specified position in a given string. 20
6.
Write a program (in PASCAL) to merge two student (Name, Age. Ron No) sequential files '.
7. (a) Write a program
20
rID FORTRAN) to evaluate the
functions : 15
x:' x6 t- ~~-!
/,
xlO
xL:
;(l t
i (b) Describe various statement (in ((X)=l+ .' 2 input-output ~
8.
)'
FORTRAN)· Write a program (in FORTRAN) to multiply and div;~L twO complex numbers (.r + i)') and (a + ib).
20