GTU First Year Engineering (Semester 1)
Computer Programming & Utilization
December 2015
Total marks: --
Total time: --
INSTRUCTIONS
(1) Assume appropriate data and state your reasons
(2) Marks are given to the right of every question
(3) Draw neat diagrams wherever necessary


Objective Question (MCQ)
1(a)1 Which protocol is used to transfer files on internet
A) HTTP
B) FTP
C) SMPT
D) Telnet
1 M
1(a)2 Which one is input device?
A) Monitor
B) Keyboard
C) CPU
D) Printer
1 M
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 M
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 M
1(a)5 Full Form of RAM?
A) Random Access Memory
B) Ready Application Module
C) Remote Access Machine
D) Read Access Memory
1 M
1(a)6 What type of memory is volatile?
A) Cache B) RAM C) ROM D) Hard Drive
1 M
1(a)7 C is a ______language A) High Level B) Low Level C) Middle Level D) Machine Level
1 M
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 M
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 M
1(b)3 Which of the following is a symbol for logical AND operator?
A) II
B) &
C) &&
D) $$
1 M
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 M
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 M
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 M
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 M

2(a) Define algorithm and explain different symbols used in flowchart.
3 M
2(b) Write a program to select and print the largest of the three nos. Using nested-if-else statement.
4 M
2(c) Draw a flow chart to do the sum of 10 elements read from the user.
7 M

3(a) What is Software and Hardware? Explain different types of Software.
3 M
3(b) Write an algorithm and draw a flowchart to print first N Fibonacci numbers
4 M
3(c) Explain different type of operators used in c language with their precedence and associativity.
7 M

4(a) Describe file management? Recall various file modes.
3 M
4(b) Write a program in c for multiplication of two matrix.
4 M
4(c) Discuss about various operators used in C language.
7 M

5(a) Write an algorithm for finding odd and even number from given two numbers.
3 M
5(b) List the header files used in c Programming with their properties.
4 M
5(c) Write a program to print the following pattern.
*      
* *    
* * *  
* * * *
7 M

6(a) Distinguish between Structure and Union.
3 M
6(b) List out the categories of functions of C. Explain any one category with example.
4 M
6(c) Write a program to find the sum of first N odd numbers.
7 M

7(a) Write a program to reverse the input string.
3 M
7(b) Explain various types of loop available in C with example.
4 M
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 M



More question papers from Computer Programming & Utilization
SPONSORED ADVERTISEMENTS