Rajasthan Technical University 2010-1st Sem B.Tech Civil Engineering(Main) .- - Question Paper
Friday, 24 May 2013 08:20Web
B.Tech. first Semester (Main) exam Feb.-2010
Computer Programming and IT
Unit - 1
Q1. (a) describe block diagram of computer system. [4]
(b) discuss different kinds of memory in detail. [4]
(c) discuss low level, assembly and concept of high level programming language briefly. [8]
OR
(a) discuss briefly about compiler, assembler and interpreter. [8]
(b) Make a flowchart to obtain maximum number among three numbers. [8]
Unit - II
Q2. (a) Convert the subsequent : [4x2=8]
(i) (276.65)8 to Decimal
(ii) (1101110.1010)2 to Octal
(iii) (FB9.EC)16 to Octal
(iv) (725.36)8 to Binary
(b) Write short notes on BCD, ASCIT and EBC.DIC codes. [8]
OR
(a) Subtract (259)10 from (798)10 using, (r-1)'s complement method. [4]
(b) Subtract (1110101)2 from (10001010)2. [4]
(c) What is bit in computer technology? How many various trends of bits are possible with [8]
(i) six bits
(ii) 8bits
Unit - III
Q3.(a) discuss structure of program in C language briefly. [8]
(b) Write a program that provided (Inputted) number is prime or not. [8]
OR
(a) Write a program to generate the subsequent trend [8]
*********
*******
*****
***
*
(b) Write a program to generate subsequent trend [8]
1
two three 2
three four five four 3
four five six seven six five four
five six seven eight nine eight seven six five
Unit - IV
Q4. (a) What is array? elaborate the advantages of array? Write a program to obtain maximum value from n values in array. [8]
(b) What is pointer? explain advantages of pointer. [8]
OR
(a) discuss call by value and call by address. [8]
(b) Write a few records of employee like name, address, age & salary in a file.
learn that records from file again and display. [8]
Unit - V
Q5. (a) describe storage class in user describe function. [8]
(b) Write a program of reverse of a number using function. [8]
OR
Write a program that a number (i.e. 153) is Armstrong number of not using user described function return value. [16]
Earning: Approval pending. |