BE - SEMESTER-I - EXAMINATION - SUMMER 2015 -Summer-June-2015


1. Which of the following is a part of primary memory of computer

      a)  PROM                    c) Pen-drive

      b)  CD-ROM               d) Floppy Disk

2. Which protocol is used to transfer files on internet

     a)  HTTP                  c)FTP

     b)  SMPT                  d)Telnet

3. Microprocessor of computer system is a part of :-

     a)  Memory                  c)Output Device

     b)  Input Device          d) Processing Unit

4. Which is not a font style in MS-Word

      a)  Bold                     c) italic

      b) Superscript         d) Regular

5. With which of the following all formulas in excel starts?

      a)  /                       c) $

       b)  *                     d) =

6. Which of the following is not one of PowerPoint view?

      a)  Slide show view       c)  Presentation view

      b)  Slide view                  d)  Outline view

7. In the evaluation of a computer language, all of the following

     characteristics should be considered except?

      a)  application oriented features    

      b)  efficiency                       

      c) readability

      d) hardware maintenance costs


1. Keyboard is the type of device

    A. Input                          B. Pointing           

    C. Output                      D. Sound

2. A document or image can be scanned in to digital form by using

    A. Marker                       B. Printer

    C. Light pen                  D. Scanner

3. ALU is

    A. Array Logic Unit                    B. Application Logic Unit

    C. Arithmetic Logic Unit          D. None of these

4. HTML stands for

    A. Hyper Text Makeup Language           

    B. Hyper Text Markup Language

    C. Hyper Tech Markup Language           

    D. None of these    

5. Operating system is installed on

    A. Hard Disk                            B. Cache memory

    C. Mother Board                     D. None of these

6. Recycle bin is used for

    A.  To store backup file                  

    B. To restore deleted file / folder

    C.  To store most frequently     

    D. All the above

7. The process a user goes through to begin a computer system.

     A. Log out                            B. Log in

     C. Log off                             D. None of these


1. The first expression in a for… loop is

     a)  Step value of loop                          c) Condition statement

     b)  Value of the counter variable       d) None of the above

2. Continue statement used for

     a)  To continue to the next line of code

     b)  To stop the current iteration and begin the next iteration from the beginning

     c) To handle run time error

     d) None of above

3. What will be the output of following program




       int x,y = 10;

       x = y * NULL;



       a) error         c)  10

       b) 0              d) garbage value

4. Difference between calloc() and malloc()

    a) calloc() takes a single argument while malloc() needs two arguments

    b) malloc() takes a single argument while calloc() needs two arguments

    c) malloc() initializes the allocated memory to ZERO

    d) calloc() initializes the allocated memory to NULL

5. Which among following is not necessary for working of a stand alone computer?

    a) RAM                      c)  Operating System

    b) Hard Drive           d) LAN card

6. What is algorithm?

    a) Application code                      

    b) Type of programming language

    c) None of above         

    d) Step by step procedure for calculations

7. printf() belongs to which library of c

    a)  stdlib.h            c) stdout.h

    b) stdio.h              d) stdoutput.h 


Explain different type of functions used in c language. Write a program using function to find maximum if two numbers.


Define algorithm and explain different symbols used in flowchart.


Write the difference between structure and union.


Explain different type of operators used  in C language with their precedence and associativity.



What do you mean by type conversion? Why is it necessary?


What is difference between keywords and identifiers? Explain rules for naming an identifier.


Explain different loops used in c language. Write the difference between while loop and do…while loop.


What is a file? List the various file handling operations in c.


What is user-defined function? Explain actual argument and formal arguments.




Write a program in c for multiplication of two matrix.


Explain the use of malloac and calloc function with their syntax.


What is String? How are they declared and also define the null character.


What do you mean by recursive function? Write a program in c to find factorial of a number using recursive function.


Explain the difference between call by reference and call by value with proper example.


How to initialize Pointer? Explain arrays of pointer using suitable sample program.


Write a program in c using structure to enter rollno, marks of the three subject for 3 student and find total obtained by each student.


What is Software and Hardware? Explain different types of Software.


Write a program using pointer and function to determine the length of string


Explain different type of functions used in c language. Write a program using function to find maximum of two numbers.