0
Computer Programming & Utilization : Question Paper Dec 2015 - First Year Engineering (Semester 1) | Gujarat Technological University (GTU)

## Computer Programming & Utilization - Dec 2015

### First Year Engineering (Semester 1)

TOTAL MARKS: 100
TOTAL TIME: 3 HOURS
(1) Question 1 is compulsory.
(2) Attempt any four from the remaining questions.
(3) Assume data wherever required.
(4) Figures to the right indicate full marks.

### Objective Question (MCQ)

1(a)1 Which protocol is used to transfer files on internet
A) HTTP
B) FTP
C) SMPT
D) Telnet
(1 marks)
1(a)2 Which one is input device?
A) Monitor
B) Keyboard
C) CPU
D) Printer
(1 marks)
1(a)3 In Microsoft Excel you can use the horizontal and vertical scroll bar To
A) Split a worksheet to two panes
B) Edit the contents of a cell
C)View different rows and columns
D) View different worksheet
(1 marks)
1(a)4 A Pointer is?
A) A keyword used to create variables.
B) A variable that stores address of an instruction.
C) A variable that stores address of other variable.
D) All of above.
(1 marks)
1(a)5 Full Form of RAM?
A) Random Access Memory
C) Remote Access Machine
(1 marks)
1(a)6 What type of memory is volatile?
A) Cache B) RAM C) ROM D) Hard Drive
(1 marks)
1(a)7 C is a ______language A) High Level B) Low Level C) Middle Level D) Machine Level(1 marks)

### Objective Question (MCQ)

1(b)1 Which of the following is used as a string termination character?
A) 0
B) \0
C) /0
D) None of these
(1 marks)
1(b)2 Which part of CPU perform calculations and make decision
A) Alternate Logic Unit
B) Arithmetic Local Unit
C) Arithmetic Logic Unit
D) Alternate Local Unit
(1 marks)
1(b)3 Which of the following is a symbol for logical AND operator?
A) II
B) &
C) &&
D) 
(1 marks)
1(b)4 BIOS is an abbreviation of
A) Basic Input Output System
B) Best Input Output System
C)Basic Input Output Symbol
D) Base Input Output System.
(1 marks)
1(b)5 The system unit of a personal Computers typically contains all of the following except:
A) Microprocessors
B)Disk controller
C) Serial interface
D) Modem
(1 marks)
1(b)6 With regards to Email Addresses:
A) They must always contain an @ symbol
B) They are case sensitive
C) They can never contain space
D) All of above
(1 marks)
1(b)7 What will be a meaning of 1KB of memory
A) 1 Kit Bit
B) 1 Kilo Byte
C)1 Kernel Boot
D) 1 Key Block
(1 marks)
2(a) Define algorithm and explain different symbols used in flowchart.(3 marks) 2(b) Write a program to select and print the largest of the three nos. Using nested-if-else statement.(4 marks) 2(c) Draw a flow chart to do the sum of 10 elements read from the user.(7 marks) 3(a) What is Software and Hardware? Explain different types of Software.(3 marks) 3(b) Write an algorithm and draw a flowchart to print first N Fibonacci numbers(4 marks) 3(c) Explain different type of operators used in c language with their precedence and associativity.(7 marks) 4(a) Describe file management? Recall various file modes.(3 marks) 4(b) Write a program in c for multiplication of two matrix.(4 marks) 4(c) Discuss about various operators used in C language.(7 marks) 5(a) Write an algorithm for finding odd and even number from given two numbers.(3 marks) 5(b) List the header files used in c Programming with their properties.(4 marks) 5(c) Write a program to print the following pattern.

 * * * * * * * * * *
(7 marks) 6(a) Distinguish between Structure and Union.(3 marks) 6(b) List out the categories of functions of C. Explain any one category with example.(4 marks) 6(c) Write a program to find the sum of first N odd numbers.(7 marks) 7(a) Write a program to reverse the input string.(3 marks) 7(b) Explain various types of loop available in C with example.(4 marks) 7(c) What is pointer? Give its benefits. Write a program to do swapping of two elements using function with two pointers as arguments.(7 marks)

0