0% found this document useful (0 votes)
2K views4 pages

Ip-R-23 Question Bank (2023-24)

The document contains a question bank for an introduction to programming class. It is divided into 5 units covering topics like basic C programming concepts, control structures, arrays, pointers, functions, and file handling. Each unit contains short 2-mark and long 10-mark questions.

Uploaded by

datta98855
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)
2K views4 pages

Ip-R-23 Question Bank (2023-24)

The document contains a question bank for an introduction to programming class. It is divided into 5 units covering topics like basic C programming concepts, control structures, arrays, pointers, functions, and file handling. Each unit contains short 2-mark and long 10-mark questions.

Uploaded by

datta98855
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/ 4

Question Bank

Subject: Introduction to Programming Reg:R23

Class: I – B.Tech-I Sem(CSE-B,C,EEE)

S.No UNIT – I (2-Marks)


1 (a) What is a C Programming Language?
(b) Define Hardware, Software
(c)Why is C called the mother of all languages?
2 What is the structure of basic organization of computer
3 a) Explain rules of variables
b)What are the basic Data types supported in C Language?
4 Define the term algorithm and how it is different from a Flowchart
5 How do you identify the starting and ending points of a program in a flowchart?
6 Why all variables are to be declared before using the program
7 Define algorithm, flowchart, pseudo code, program
8 List the data types and their sizes of C language
9 Write a pseudo code for a program that calculates the sum of even numbers from 1 to 10.
10 a) How real numbers and integers are stored.
b)Describe the role of the program counter in a computer's central processing unit (CPU).
11 What is a constant with an example
12 Explain about identifiers and types in ‘C’.
13 Define local and global variable
14 Differentiate between RAM and ROM in terms of their functions and characteristics
15 What are the commonly used Input / Output functions used in ‘C’. How they are
accessed?
16 Write a program to find a number entered is prime number or not
17 What are input devices? Mention and explain any two input devices
18 Define pseudo code. Write a pseudo code to find the sum and average of given three
numbers
19 Define what an algorithmic approach is and why it is essential in problem-solving

UNIT – I (10-Marks)
1 Write a program in ‘C’ language to print the Fibonacci series.
Fibonacci series is 0, 0, 1, 1, 2, 3, 5, 8, 13, 21
2 With an example, explain the structure of C program
or
With a neat diagram explain the basic structure of a computer
3 List and explain the various symbols used in flowchart with figures.

Prepared by Mrs. S Sushma, Asst.Professor, Dept of CSE, PVKKIT 1


4 What is an operator? Explain different operators in C
5 Briefly describe the step-by-step process of compiling and executing a
program..
6 Write an algorithm to find the roots of a quadratic equation.
7 Explain about type conversion in ‘C’.
8 Write a ‘C’ program to print all prime numbers from 1 to
N What are scope rules in ‘C’?
9 Write overview and history of Computer
10 Write and explain the basic concepts of a C program
11 Write a C program that computes the size of int, float, double and char
variables
12 Differentiate between the top-down and bottom-up approaches to problem-solving
13 Define time complexity and space complexity in the context of algorithm
Analysis.

S.No UNIT – II (2-Marks)


1 Define Control Statement?
2 What is the use of default in switch control statement?
3 Differentiate between break and Continue?
4 What is the difference between while loop and do-while loop
5 What is the use of break control statement? Give an example
S.No UNIT – II (10-Marks)
1 Explain the use of Switch Statement with an example?

2 a) Write a C Program to find maximum number among three numbers


3 Explain different decision(Condition/Selection) statements in C language
4 Write a C program of your own choice where else-if-ladder is used?
5 Explain in detail about loop control(iterative) statements with an examples (while, do-while, for
loop)

6 Write a C program to find the factorial of a given number using while loop
7 Write a C program to add N natural numbers using for loop
8 Differentiate between

I)Compiler and interpreter II)Linker and Loader IIIs)break and Continue


S.No UNIT – III (2-Marks)

Prepared by Mrs. S Sushma, Asst.Professor, Dept of CSE, PVKKIT 2


1 Define an Array with its Syntax?
2 Define multidimensional array with an example
3 Write an algorithm to find the second largest element in an array
4 Define one-dimensional array with suitable example
5 Write a program to find the average of N numbers using Arrays
6 Discus about how can access elements in array?
7 Define string with an its syntax
8 Write a C function to concatenate two strings
9 What do you meanby command line arguments in C
S.No UNIT – III (10-Marks)
1 What is an array? What are the advantages of arrays over ordinary variables
2 Explain various dynamic memory allocations functions with an example
3 Define String? Explain String Handling functions with an examples
4 Explain how arrays are declared and initialized with suitable example
5 Write a C function to multiply two matrices and display the result
6 Write a C function to addition of two matrices and display the result
7 What are the different types of arrays? Give example of each array types and how two-dimensional
arrays are represented in memory
8 Explain about memory model in detail
9 Example programs related arrays

S.No UNIT – IV (2-Marks)


1 Define pointer with its syntax?
2 What is Dangling Pointer give an example
3 What is null pointer give an example
4 What do you mean by pointer arithmetic
5 How to use pointers in C
6 Differentiate Structure with Union
7 How can Access the Structures
S.No UNIT – V (2-Marks)
1 What are the Static variables and functions
2 Differentiate between actual parameters and formal parameters
3 What is the Scope and life time of variables
4 Define function and explain types
5 How is a function declared in a C Language
6 What is the use of Register Storage Class?
7 Define local variable and global variables?
8

Prepared by Mrs. S Sushma, Asst.Professor, Dept of CSE, PVKKIT 3


S.No UNIT – V (10-Marks)
1 Define Function? Explain in detail about functions with an example
2 Differentiate between call by value and call by reference. With an example programs
3 Explain in details about Storage classes with an example
4 Define Recursion? Write a C function to find the factorial of a number using recursion
5 How can Modify parameters inside function using pointers
6 Define File ?Explain Different types of file handling functions in detail
7 Explain different Categories of Functions in detail
8 Explain function argument parameters with an example

Prepared by Mrs. S Sushma, Asst.Professor, Dept of CSE, PVKKIT 4

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy