0% found this document useful (0 votes)
19 views2 pages

Questions

The document contains a list of practice questions from last year's question papers covering various topics in computer science, particularly focusing on C programming and computer architecture. Key areas include memory hierarchy, volatile memory, data types, operators, type conversion, and programming exercises. Additionally, it includes questions on algorithms, flowcharts, and the functions of operating systems.

Uploaded by

2k23.cs2313869
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)
19 views2 pages

Questions

The document contains a list of practice questions from last year's question papers covering various topics in computer science, particularly focusing on C programming and computer architecture. Key areas include memory hierarchy, volatile memory, data types, operators, type conversion, and programming exercises. Additionally, it includes questions on algorithms, flowcharts, and the functions of operating systems.

Uploaded by

2k23.cs2313869
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/ 2

Some questions from last years question papers for your practice.

1. Draw memory hierarchical structure of a computer system.


2. Why is RAM called a Volatile memory?
Because ram requires power to maintain its state meaning any data stored in ram is lost
when the power is turned off
3. Explain identifiers and keywords in C Language.
4. Differentiate between implicit and explicit type conversion.
5. What do you mean by Operands? Discuss the operator precedence and associatively of all
the operators.
6. Write the use of Break statement in switch case. Write a program to find out the greatest
number out of three numbers.
7. Write a Program to find the entered number is Armstrong number or not.
8. Differentiate between High level and Low-Level Programming. Draw and explain the diagram
of Digital computer.
9. Explain different type of operators in C programming. Which concept makes the difference
between operators when precedence is same.
10. Differentiate between Compiler and Interpreter. Draw the flow chart of swapping of two
numbers.
11. Find the output of following code written in C-Language:

#include<stdio.h>

main()

int i=1;

for(;;)

printf("%d",i);

if(i=5) break;

12. Write down the output of following code.

#include <stdio.h>

int main()

int a=23;

;printf("%d",a);
;

return 0;

13. Write down the output of following code.

#include<stdio.h>

int main()

int a = 5; a = 1, 2, 3;

printf("%d", a);

return 0;

14. Define Data Types in C. Discuss basic data types in terms of memory occupied, format
specifier and range.
15. Illustrate basic components of computer system with neat block diagram. Also, explain
various functions of Operating System in detail.
16. Write an algorithm and draw a flow chart to check whether the number entered by user is
palindrome or not.
17. Explain various bitwise operators in C Language with help of an example. When precedence
of two operators in an expression is same, how associativity helps in identifying which
operator will be evaluated first. Illustrate it with an example.

18. Write a program in C to print the given pattern:

* * *

* * * * *

And so on.

18. Write a program to print the pattern

23

456

7 8 9 10

And so on

You might also like