LOADING

Questions

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

Q-1(a)

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

(7)
ORQ-1(a)

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

(7)
Q-1(b)

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

       #include

       main()

       {

       int x,y = 10;

       x = y * NULL;

       printf("%d",x);

       }

       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 

(7)
Q-1(c)

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

(7)
Q-2(a)

Define algorithm and explain different symbols used in flowchart.

(3)
Q-2(b)

Write the difference between structure and union.

(3)
Q-2(c)

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

 

(7)
Q-3(a)

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

(3)
Q-3(b)

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

(4)
Q-3(c)

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

(7)
Q-4(a)

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

(3)
Q-4(b)

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

 

 

(4)
Q-4(c)

Write a program in c for multiplication of two matrix.

(7)
Q-5(a)

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

(3)
Q-5(b)

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

(4)
Q-5(c)

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

(7)
Q-6(a)

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

(3)
Q-6(b)

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

(4)
Q-6(c)

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.

(7)
Q-7(a)

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

(3)
Q-7(b)

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

(4)
Q-7(c)

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

(7)