[go: up one dir, main page]

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

Important - Questions - BCS 101

Hey

Uploaded by

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

Important - Questions - BCS 101

Hey

Uploaded by

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

BCS 101 (Important Questions)

Unit – 1

1. Discuss the major components of a Digital Computer with suitable block diagram.
(2023-24, 2022-23, 2021-22)
2. Define operating system? Write five important features of any one operating system.
(2022-23)
3. Define Memory Hierarchy based on access time.
(2023-24, 2021-22)
4. Define Algorithm? List characteristics of an algorithm.
(2023-24, 2022-23, 2020-21)
5. Define Flowchart. Draw flowchart to find the largest among three different numbers
entered by user. (2022-23, 2023-24)
6. Define Storage class in C with proper Example. (2023-24, 2022-23, 2021-22, 2020-21)

Unit – 2

1. What is the importance of Operator Precedence and associativity? Explain Bitwise and
Ternary operators in detail. (2023-24,2022-23,2021-22, 2020-21)
2. Discuss the concept of type casting and type conversion with the example. (2023-24)
3. Write a c program to find the greatest and smallest number among three numbers (Numbers
are input through the keyboard) using nested if – else. (2023-24, 2022-23, 2021-22, 2020-21)
4. Write a program in C language to calculate the energy bill. Read the starting and meter
readings. The charges are as follows:- (2022-23)

No. Of units Consumed rate in Rs.


0<units<=200 Rs. 5.50 per unit
200<units<=400 Rs 700+ Rs 6.0 per unit excess 200
400<units<=600 Rs 1400+ Rs 7.50 per unit excess 400
600<units Rs 1850+ Rs 9.0 per unit excess 600

5. Write a C program to make a simple calculator using switch statement.


(2023-24, 2021-22, 2020-21)
Unit – 3
1. Define loops and their types. Also differentiate between while and do-while loop.
(2021-22,)

2. Why Break statement is required? Write a C Program to check a character is a digit,


alphabet or special symbol. (2021-22)

3. Write a C program to print the following pattern: (2021-22, 2020-21)

a) 1 b) A
2 3 A B
4 5 6 A B C
7 8 9 10 A B C D
11 12 13 14 15 A B C D E

4. Define the concept of an array with their types. Also write a program find the minimum and
maximum number in one dimensional array. (2021-22,2020-21)

5. List drawbacks of an Array. Also write a program to print the multiplication of two-
dimensional matrices with m x n dimensions. (2023-24, 2022-23, 2021-22,2020-21)

6. Define Structure. Also create a structure called "Student" with members name, age, and total
marks. Write a C program to input data for two students, display their information, and find
the average of total marks. (2022-23)

Unit – 4
1. Explain recursive function in C using a suitable example to print fibonaccai series up to
user’s choice. (2023-24, 2022-23, 2021-22, 2020-21)
2. Explain the difference between call by value and call by reference function call using an
example. (2022-23)
3. Explain different types of function categories with examples. (2023-24)
4. Define searching techniques in an array. Also write a program to check the entered number is
exist or not in one dimensional array.
5. Define sorting techniques in C. Also write a program to sort an array using bubble and
insertion sort. (2023-24, 2022-23, 2021-22)

Unit – 5
1. What do mean by pointers? How pointer variables are initialized? Write a program in C to
swap the values of any two integer variables using pointers. (2023-24)
2. Write the difference between malloc and calloc. (2023-24,2022-23, 2021-22, 2020-21)
3. Explain the concept of string in c and also demonstrate the working of strcat() and strlen().
4. Write a C program to copy the content of one file into another file. (2023-24, 2022-23, 2021-22)
5. Write short note on following: (2023-24, 2022-23, 2021-22)
1. Self-Referential Structure
2. Linked List
3. Macros

You might also like