0% found this document useful (0 votes)
84 views

Important Questions in CF&P

This document contains questions for five units on C programming. It includes questions about hardware and software, data types, operators, loops, arrays, structures, pointers, functions, recursion, file handling and more. Detailed explanations and programs are required for the answers.

Uploaded by

VINAY KUMAR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
84 views

Important Questions in CF&P

This document contains questions for five units on C programming. It includes questions about hardware and software, data types, operators, loops, arrays, structures, pointers, functions, recursion, file handling and more. Detailed explanations and programs are required for the answers.

Uploaded by

VINAY KUMAR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Important questions UNIT 1

1. Differentiate Hardware and software. Write types of software.


OR

Differentiate Application Software and System Software.

2. Draw architecture of Computer


OR

What do you mean by Components of Computer.Explian with diagram?

3. Differentiate Complier and Interpreter and assembler.


OR

Explain High level Language, Low Level Languge, Assembly Level Language.

4. Convert the following

(i) (1056)16 = (?)8 = (?)2

(ii) (5CS)16=(?)10 = (?)8

(iii) (10111)2= (?)10= (?)8

(iv) (74524)8= (?)2 = (?)10

5. Subtract 11012 and 10102.

6. Differtiate Primary memory and Secondary Memory.


OR
Explain ROM,EPROM,PROM,EEPROM,Static RAM,and Dynamic RAM.
Important questions UNIT 2

1. Write various operators in C with Example.


2. What is data type in C?
OR
What is litterls.
3. Explain printf( ) and Scanf( ) in C.
OR

Write formatted input output function.

4. Differentiate Source Code and object Code.


5. What do you mean by primitive data types in C, how it differs from derived data types
used in C.?
6. Draw a flowchart to find largest among four numbers.
7. Write short notes on 1)pseduocode 2)Algorithm
8. How to declare idetifers.write scope and lifetime of variable.

UNIT 3
1. Explain the Concept of while loop in C with example.
2. WAP in to print following pattern
ABCDE
ABCD
ABC
AB
A

3. Explain the Concept of Break and Continue Statement.

4. Differtiate While and do while statement with their flow chart.

5.one program given to find error or output.

6. write ternary operator/Conditional operator.

UNIT 4

1. Explain array within structure.


OR
Explain array of structure with the help of suitable program. Describe structure within
structure.

2. Differentiate structure and union.


3. Explain pointer to pointer

OR

Explain double pointer in with example.

4. Explain the Concept of 1 D array and 2 array in C.How to store it in memory.


5. Write a program to pass matrix as an argument to a function and display the matrix in
the function.
6. W A P for array of Pointers.
7. Explain the concept of structure.WAP to create customerdeatails (Customer_ID,
CUST_Name, Purchase_amount) for 5 customers.print the details all of them.
8. Write a program for memory allocation.
9. Short notes on
1) ENUM 2)Command line argument 3)Void Pointer

Unit 5

1. Explain the Concept of recursive function with one program.


2. W.A.P. to read data from the keyboard and write into a file then read the same data
from that file.
OR

W.A.P to read and write data from/in file.

3. Write C statement for passing a structure to a function.

4.Write a program for passing array to function.

5.Explain all storage Classes.

6.write a programe to read character one by one and display it back.

OR

How to enter a string and print it.

7.WAP to copy one string into another string.

8.wtite notes on following


1)fseek()

2)fread()

3)fwite()

4)fputc()

5)fgetc()

You might also like