CCP Assigmnt Question

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 5

II SEMESTER

COMPUTER CONCEPTS & C PROGRAMMING


Subject Code: 10CCP13/23

I.A. Marks

: 25

Hours/Week : 06

Exam Hours: 03

Total Hours : 62

Exam Marks: 100

UNIT 1
INTRODUCTION TO COMPUTER SYSTEMS, INTERACTING WITH THE COMPUTER,
COMPUTER ORGANIZATION

1. Mention the basic functional units of a computer?


2. Height the progress in four Generation of computer?
3. With a neat diagram explain the working organization of a computer?
4.

What is stored program concept?

5.

What is microprocessor?

6.

Mention the components of a personal computer?

7.

What is a compiler?

8. Give the differences between compiler and interpreter?


9. Differentiate between system software and application software?
10. How the computer accepts input from the keyboard?
11. Explain information Processing life cycle?
12. Explain essential hardware and software?

UNIT 2
STORAGE DEVICE CONCEPTS, OPERATING SYSTEMS, NETWORKING
1. Mention the storage devices used in a personal computer?
2.

Explain primary memory its properties and its types?

3.

What is the need for secondary storage? Briefly describe secondary storage devices like
(i)Floppy disk (ii) hard disk (iii) CD ROM

4. What is the difference between volatile memory and non-volatile memory?


5.

Explain operating system ?what are different type of OS and its functions?

6. What is a network ? Explain different network topologies and N/W devices?


7. Briefly explain the Local area network, Metropolitan area network and wide area
network?
8.

What is a e-mail ? How e-mail works?

9.

What are the uses of Internet?

10. Differentiate between


(i)

RAM & ROM

(ii)

serial port and parallel ports.

11. How the data is organized on magnetic disk?


12. What is ASCII? What is extended ASCII? What is Unicode?

UNIT 3
FUNDAMENTALS OF PROBLEM SOLVING, INTRODUCTION TO C LANGUAGE
1. What is a program?
2. Explain the structure of C program with an example.
3. Explain unformatted input output functions.
4.

Explain four tyoe of fundamental data types in C.

5. Explain
i. Constants
ii. Variables
iii. Keywords
6.

Explain briefly printf() and scanf() with format specifiers.

7.

What is program documentation? Explain 2 different types of program documentation.

8. What is data names and data hiding?


9. Name the primitive data type along with memory requires for each?
10. Discuss the advantages of High level language

UNIT 4
STRUCTURE OF A C PROGRAM
1. Write the expresion in C language and evaluate the arithmetic expression.
i. 2ab++/a+b*(c/a)
ii. (a>b+c+a<c)++/a*b

where a=1,b=2,c=3.

2. What is precedence and associativity?


3. Differeianciate between logical and bitwise
i. OR
ii. And
iii. XOR
4. What do you mean by type conversions? Explain type f conversions possible in c?
5.

What are statements? Explain different types of statements. How do u terminate the
stamen?

6. Give the basic structure of a C program


7. Explain relational operators in C.
8. Explain C program to find the area and perimeter of a circle of given radius r.
9. Write a program to add two numbers without using arithmetic operator.
10. What are pre processor directives?
11. Explain two important library files to write c program with mathematical expression?
12. Explain the following operators with eqution:
i. Logical operators
ii. Relational operators
iii.

conditional operators

13. Explain the following:


i. Conditional operator
ii. Comma operator
iii.

size of operator

UNIT 5
FUNCTIONS
1. what is a function in C? Explain its syntax?
2. Explain Calling function and called function.
3. What are the library functions? What are the advantages and disadvantages of library
functions?
4. Explain Math functions and Random numbers.
5.

Explain the ways of passing parameters to the functions?

6. Differentiate between actual and formal parameters?


7.

What do you mean by structured charts? Explain.

8. Define recursion. Explain recursive definition.


9.

Explain functional cohesion.

10. Write a program to find the maximum of two numbers using user defined Functions?
11. Write a C program for linear search using user defined functions?
12. Write a program to reverse a number and check for palindrome using user defined
functions?
13. Write a C program for matrix multiplication using user defined functions?

UNIT 6
SELECTION MAKING DECISIONS, REPETITION
1. Explain the different types of IF statements.
2. Explain the unconditional branch statements.
3. Explain the difference between Entry loop and Exit loop.
4.

Explain nested for loop with Syntax.

5. Differentiate between break and continue


6.

Explain the syntax of switch statement with an example.

7.

Explain while loop structure with an example write the flow chart .

8. Write a c program to solve a quadratic equation using switch statement.


9. Differentiate between iteration and recursion.

UNIT 7
ARRAYS AND STRINGS
1. What is an array? How are they declared in C? What are the rules to be followed while
using arrays?
2.

Explain the single and multi dimensional arrays?

3.

Write a C program for FIBONACCI series using array?

4. Give the syntax and explain the semantics of formatted i/p and o/p statements for array.
5. a and b are two integers arrays each with n elements. Write a program to find the array c
such that c[i]=a[i]+b[n-1-i]
6.

Write a function to concatenate two strings, write a program to read three Strings and use
the function to concatenate them and print it.

7. Give any five string manipulation library functions, with an example each.
8. With an example getch() and putchar() functions.
9. Write a program for matrix multiplication of matrix order M*N.

UNIT 8
BASIC CONCEPTS OF PARALLEL PROGRAMMING

1. Explain scope of parallel computing.


2. What are threads?
3. Explain open MP in detail.
4. What are the environment variables in openMP?
5. How do you handle data in openMP?
6. How are concurrent tasks specified in openMP.

You might also like