Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (1 vote)
373 views

CCP Model Question Paper

This document contains a model question paper for a Computer Concepts and 'C' Programming exam with 8 questions covering various topics related to computer fundamentals, operating systems, C programming, functions, arrays, and more. The questions include both objective type multiple choice questions and questions requiring longer written answers.

Uploaded by

naveennaik099
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
373 views

CCP Model Question Paper

This document contains a model question paper for a Computer Concepts and 'C' Programming exam with 8 questions covering various topics related to computer fundamentals, operating systems, C programming, functions, arrays, and more. The questions include both objective type multiple choice questions and questions requiring longer written answers.

Uploaded by

naveennaik099
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

06CCP13/23

First/Second Semester B.E. Degree Examination Computer Concepts and C Programming


Time: 3 hrs MODEL QUESTION PAPER Max. Marks: 100

Note: 1. Answer any five full question selecting atleast two questions from each part 2. Answer all objective types questions only in first and second writing pages. 3. Objective types questions should not be repeated.

only PART - A 1 a. i) Any computer is controlled by (A) Hardware (B) Information (C) User ii) Which of these is a powerful type of personal computer? (A) Workstation (B) Notebook (C) Mainframes iii) The term dots per inch (dpi) refers to the printers (A) Resolution (B) Speed (C) Output iv) Which printers speed is not measured in pages per minute? (A). Inkjet (B) Dot Matrix (C) Laser (D) Instruction (D) Supercomputer (D) Colors

(D) Plotter (04 Marks) b. With the help of a block diagram explain the different functional units of a digital computer. (08 Marks) c. What is an assembler? How does it differ from a compiler? (04 Marks) d. Differentiate between primary memory and secondary memory (04 Marks) 2. a i) The process of mapping magnetic disk surface is called (A) Polarizing (B) Charging (C) Formatting ii) Magnetic disk tracks are divided into smaller parts called (A) Clusters (B) Sectors (C) Slices iii) An example for magnetic storage device is (A). Flash Memory (B) CD ROM (C) Hard Disk iv) Each side of a standard DVD ROM disc can hold up to_____ (A) 4.7GB (B) 9.4GB (C) 17GB b. Explain the following storage devices with figures? i) Magnetic tape ii) Magnetic disk c. Discuss the factors that affect the processing speed of a computer? 3. a i) The operating system is the intermediary between programs and (A) User (B) Utilities (C) Firmware (D) Hardware ii) In a GUI, the window that is currently in use is called (A) Top (B) Active (C) Biggest (D) Framed iii) A nibble is (A) 4 bits (B) 8 bits (C) 10 bits (D) 32 bits (D) Accessing (D) Bytes (D) Optical (D) 140GB (04 Marks) (08 Marks) (08 Marks)

iv) The following is one of the benefits of using a network. (A) File security (B) Peripherals sharing (C) Protection from virus (D) All of the above (04 Marks) b. What is an operating system? What are the functions of an operating system? List any two operating systems. (06 Marks) c. What is a Network? Discuss the different network topologies (06 Marks) d. Define the following terms: i) Hub ii) Router (04 Marks) 4. a. i) What is graphical representation of a solution to a given problem, called? (A) Algorithm (B) Flowchart (C) Icon (D) Wizard ii) What kind of language C is? (A) Machine (B) Procedural (C) Assembly (D) Object Oriented iii) The hexa constant is preceded by (A) OX (B) O (C) HX (D) H iv) The operator % yields (A) Quotient (B) Reminder (C) Percentage (D) Fractional part (04 Marks) b. What is an algorithm? Write an algorithm and flowchart to find the largest of three numbers. (08 Marks) c. Explain with examples. i) Relational operators ii) Bitwise operators (08 Marks) PART B 5. a i) Identify formatted console input function. (A) getchar( ) (B) gets( ) (C) scanf( ) ii) What is the output of the following code? main( ) { printf(%d,A); } (A) 65 (B) A (C) 65.0 iii) Each case statement in switch is separated by (A) break (B) continue (C) exit( ) iv) In C, x?y : z is equivalent to (A) if(x==0) y; else z (B) if(x==1) z; else y (C) if(x==0) y; z (D) fgets( )

(D) error (D) goto

(D) if(x==1) y; else z; (04 Marks) b. Write the syntax of formatted output statement and Explain with an example? (06 Marks) c. Write a C program to find the roots of a quadratic equation using switch statement. (10 Marks) 6. a i) Consider the following program segment: for(i=0; i!=10;i+=2) printf(.); How many times the printf( ) will be executed? (A) 10 (B) 1 (C) 5 (D) Not even once ii) Which of the following commands will place the program control at the end of the loop, when it gets executed?

(D) while (04 Marks) b. Differentiate between while and do-while statement? Write a C program to print from 5 to 50 in steps of 5 using these loops. (10 Marks) c. Using do-while write a C program to generate N prime numbers. (06 Marks) 7. a i) How many elements will be there in a[10][5] array? (A) 15 (B) 5 (C) 50 (D) 20 ii) The array elements are represented by (A) Index value (B) Subscripted variables (C) Array name (D) Size of an array. iii) An array subscript may be (A) integer constant (B) integer variable (C) integer expression (D) all of these iv) Identify the correct declaration (A) int a[10][10]; (B) int a[10,10] (C) int (10)(10) (D) int a(10,10) (04 Marks) b. How do you declare and initialize one dimension array? Explain with an example (04 Marks) c. Write a C program to accept two matrices A(mxn) and B(pxq) and find the product matrix C (08 Marks) d. What are the advantages and disadvantages of Binary search (04 Marks) 8. a. i) The default return type of function is (A) int (B) float (C) void (D) long int ii) Which is the user defined function (A) main (B) sqrt (C) clrscr( ) (D) gets( ) iii) A function that calls itself is known as ________ function (A) recursive (B) iterative (C) main (D) none of the above iv) A variable declared inside a function by default assumes the following storage class. (A) extern (B) static (C) register (D) auto (04 Marks) b. What is a user-defined function? What are its advantages (04 Marks) c. Discuss the different methods of passing parameters to the function (06 Marks) d. Write a C function to find the factorial of a given integer number. Using the above function write a C program to compute the Binomial coefficient. (06 Marks) *******

(A) continue (B) break (C) end iii)The minimum number of times the do..while loop is executed (A) 0 (B) 1 (C) 2 iv) The keyword else can be used with (A) if statement (B) switch( ) (C) do-while

(D) all the above (D) both a & b

You might also like