Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
10 views11 pages

Ravindra College of Engineering For Women Department of Computer Sciences and Engineering Unit-I

The document outlines the syllabus for an Introduction to Programming course at Ravindra College of Engineering for Women, detailing short and long answer questions across four units. Each unit covers various programming concepts, including algorithms, flowcharts, C programming basics, control structures, arrays, pointers, and structures. The questions are categorized by Bloom's taxonomy levels, indicating the expected cognitive skills for each topic.

Uploaded by

Mahaboob Saniya
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)
10 views11 pages

Ravindra College of Engineering For Women Department of Computer Sciences and Engineering Unit-I

The document outlines the syllabus for an Introduction to Programming course at Ravindra College of Engineering for Women, detailing short and long answer questions across four units. Each unit covers various programming concepts, including algorithms, flowcharts, C programming basics, control structures, arrays, pointers, and structures. The questions are categorized by Bloom's taxonomy levels, indicating the expected cognitive skills for each topic.

Uploaded by

Mahaboob Saniya
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/ 11

RAVINDRA COLLEGE OF ENGINEERING FOR WOMEN

(Autonomous)
Department of Computer Sciences and Engineering
SUB: INTRODUCTION TO PROGRAMMING (A10501)

UNIT-I
Short Answer Questions (2 Marks)
Blooms
S.No Question Marks CO Taxonom
y Level
1 Write about the concept of algorithm 2 C105.1 Apply

2 Define flowchart and its symbols. 2 C105.1 Apply


3 What is pseudocode in c 2 C105.1 Apply
4 Discuss about different problem solving strategies 2 C105.1 Remember

5 Draw the flowchart for area of a circle. 2 C105.1 Apply


6 Illustrate about the introduction to compilation and 2 C105.1 Remember
execution
7 List out all the characteristics of algorithm. 2 C105.1 Remember
8 What is printf() and scanf() with suitable program 2 C105.1 Apply
9 Write an algorithm or flow chart to find a number is 2 C105.1 Apply
palindrome or not.
10 Write the algorithm for area of a circle 2 C105.1 Apply
11 List out all format specifiers with suitable example 2 C105.1 Remember
12 Draw a flowchart to find sum of n numbers 2 C105.1 Apply
13 Discuss about space and time complexities? 2 C105.1 Remember
14 write about keywords in c 2 C105.1 Apply
15 Discuss about identifiers, constants in c 2 C105.1 Remember
16 What is variable? Write about its properties? 2 C105.1 Apply
17 Write about expressions in C language 2 C105.1 Apply
18 Write C code to read 2 integer, 2 float and a 2 C105.1 Create
character and display them on the screen. Display
float number with 2 decimal places only
19 Write a C program for finding compound interest 2 C105.1 Create
20 Write a C program to find arithmetic operators in a 2 C105.1 Create
single program
Long Answer Questions (10 Marks)
Describe the basic organization of a computer?
1 10 CO Apply

2 Explain about history of computers. 10 C105.1 Understand


Explain the different data types in C programming with
3 an suitable code. 101 C105.1 Understand

Write about operators and expressions in C language with


4 10 C105.1 Remember
an examples
Discuss the structure of C programming?
5 10 C105.1 Apply

Explain about compiler, assembler and interpreter


6 10 C105.1 understand

Write a C program for finding simple interest.


7 10 C105.1 Create

Write a C program to find area of triangle using heron’s


8 10 C105.1 Create
formula
Write a C program to swap two numbers using temporary
9 10 C105.1 Create
variable and with out using temporary variable
Write a C program to find sum and average of five
10 10 C105.1 Create
numbers
. Explain about compiler, assembler and interpreter
11 10 C105.1 Understand

Write a C program to find distance between two points


12 10 C105.1 Create

Explain about operators and expressions in C language


13 10 C105.1 Understand
with an examples
Write a c program Conversion of Fahrenheit to Celsius
14 10 C105.1 Create
and vice versa.
Discus the concept of type conversions and
15 type casting. 10 C105.1 Apply
UNIT-II
Short Answer Questions (2 Marks)
Blooms
Taxono
S.No Question Marks CO
my
Level
1 Differentiate between break and continue statements 2 C105.2 Apply
2 Differentiate while and do while loop? 2 C105.2 Apply
3 Write about nested if? 2 C105.2 Remember
4 Write a C program to find factorial of a given 2 C105.2 Create
number?
5 What is the use of else part in conditional statements 2 C105.2 Apply
6 Write about unconditional statements 2 C105.2 Apply
7 What is the use of iterative statements 2 C105.2 Create
8 Write a program in C to display the first 10 natural 2 C105.2 Create
numbers.
9 Write a C program to verify the given year is leap 2 C105.2 Create
year or not
10 Write a C program to verify the person is eligible to 2 C105.2 Create
vote or not?
11 What is the difference between a++ and ++a? 2 C105.2 Remember
12 What are the valid places to have keyword break 2 C105.2 Apply
13 List out the escape sequences in c 2 C105.2 Remember
14 Difference between if else and if else ladder 2 C105.2 Apply
15 Write about nested for loop 2 C105.2 Remember
16 Write a C program to verify the given number is even or 2 C105.2 Create
odd?
Long Answer Questions (10 Marks)
Explain loop statements with example program for each
1 10 C105.2 Understand
Explain are conditional statements in C with an example
2 10 C105.2 Understand
program
Write a C program, read a character and print
3 corresponding color name using switch statement 101 C105.2 Create

Write a C program to find the max and min of four


4 10 C105.2 Create
numbers using if-Else
Write a C program to find total and average of five
5 10 C105.2 Create
subject marks?
Write a program to find roots of a quadratic equation
6 10 C105.2 Create
with all possibilities.
Write a C program to print the following pattern.
a)* b) 1
7 * * 1 2 10 C105.2 Create
* * * 1 2 3
Develop a C program to implement calculator using a
8 10 C105.2 Create
switch statement
Write a c Program to check the given number is palindrome
9 or not. 10 C105.2 Create

Write a C program to find the biggest number from 3


10 10 C105.2 Create
values using ternary (or Conditional) operator?
Write a C program to find reverse of a numbers?
11 10 C105.2 Create

Write a program to print Fibonacci series up to 20 terms


12 10 C105.2 Create

Write a C program to find multiplication table of a given


13 10 C105.2 Create
number.
Write a C program to find the given number is strong
14 10 C105.2 Create
number or not.
Write a C program to find largest among three numbers
15 10 C105.2 Create

Write a C program to print all numbers divisible by either


16 10 C105.2 Create
2 or 3 between 1 to 100?
Write a program to calculate electricity bill.
17 10 C105.2 Create

Differentiate between break and continue statements with


18 10 C105.2 Remember
example programs .
UNIT-III
Short Answer Questions (2 Marks)
Blooms
Taxono
S.No Question Marks CO
my
Level
1 Differentiate between zero-based and one-based 2 C105.3 Apply
indexing in arrays
2 List out all the string manipulation functions in c 2 C105.3 Remember
3 Write a program that finds the sum of integers stored 2 C105.3 Remember
in an array.
4 Discuss about the structure of a two-dimensional 2 C105.3 Apply
array and its representation in memory
5 What is the purpose of nested loops in accessing 2 C105.3 Remember
elements of a two-dimensional array.
6 Discuss the advantages and limitations of using a 2 C105.3 Apply
two-dimensional array over a one-dimensional array
for certain applications
7 Propose an algorithm to transpose a square matrix 2 C105.3 Create
using a two-dimensional array.
8 Define a string in programming and how it differs 2 C105.3 Apply
from an array of characters
9 Define a one-dimensional array and its role in storing 2 C105.3 Apply
integers in a program.
10 Propose a scenario where dynamic memory allocation 2 C105.3 Remember
is preferred over static memory allocation for arrays.
11 How to represent null-terminated character array of 2 C105.3 Remember
strings
12 Write the significance of the array declaration, 2 C105.3 Apply
initialization, and assignment in a program.
13 How to declare ,initialize a two 2d array 2 C105.3 Remember
14 Define string and its representation 2 C105.3 Apply
Long Answer Questions (10 Marks)
Explain the role of memory addresses in array indexing.
1 10 C105.3 Understand
With an example
Describe the process of accessing elements in a one-
2 dimensional array using pointer arithmetic. Discuss how 10 C105.3 Understand
this process is related to the underlying memory model.
Develop a program that dynamically allocates memory for
3 10 C105.3 Remember
an integer array.
Explain how a two-dimensional array is stored in
4 memory. Discuss the concept of row-major and column- 10 C105.3 Understand
major ordering and their implications for array access.
Describe the structure of a two-dimensional array and its
5 10 C105.3 Remember
representation in memory.
6 Write a C program to find the transpose of given matrix. 10 C105.3 Apply
Explain how a two-dimensional array is stored in
7 10 C105.3 Understand
memory with example
8 Compare and contrast string manipulation functions in C 10 C105.3 Apply
Design an algorithm to merge two sorted arrays into a
9 single sorted array. Explain the steps involved and justify 10 C105.3 Remember
the efficiency of your solution.
Explain various string manipulation functions with an
10 10 C105.3 Understand
example
Write a a program that performs a binary search on a
11 10 C105.3 Create
sorted array of integers
12 Write a c program for addition of two matrices 10 C105.3 Create
13 Write a c program for multiplication of two matrices 10 C105.3 Create
Write a c program to Performing Linear Search on a 1D
14 10 C105.3 Create
Array
Write a program to Eliminating Duplicate Elements in an
15 10 C105.3 Create
Array
16 Write a program to Sort Array Elements using Bubblesort 10 C105.3 Create
Write a program to Concatenate Two Strings, reverse a
17 10 C105.3 Create
string without Built-in Functions
Write a C program to find the sum of a 1D array
18 10 C105.3 Create
UNIT-IV
Short Answer Questions (2 Marks)
Blooms
Taxono
S.No Question Marks CO
my
Level
1 Differentiate between structures and unions 2 C105.4 Apply
2 Differentiate between the asterisk (*) used for 2 C105.4
declaration and dereferencing in pointer manipulation Remember
3 Define a pointer and its role in programming. 2 C105.4 Remember
4 What is the purpose of the address-of operator (&) in 2 C105.4 Apply
relation to pointers?
5 Discuss the significance of null pointers in 2 C105.4 Remember
programming
6 Write a program that uses pointer arithmetic to 2 C105.4 Apply
traverse and print the elements of an integer array.
7 Compare and contrast array indexing and pointer 2 C105.4 Create
arithmetic for accessing elements in a one-
dimensional array
8 What is the role of the "->" operator in C 2 C105.4 Apply
programming.
9 Write a C program to copy one string into another 2 C105.4 Apply
using pointer.
10 Write about user-defined datatypes in c C105.4 Remember

11 What is pointer arithmetic in c 2 C105.4 Remember


12 How can you allocate and deallocate dynamic 2 C105.4 Remember
memory for a pointer in C?
13 Define structure and its declaration in c 2 C105.4 Remember
14 Discuss the concept of nested structures 2 C105.4 Remember

15 Design an algorithm that swaps the values of two 2 C105.4 Remember


variables using pointers
16 Write a C program to shift/rotate using bitfields. 2 C105.4 Create
Long Answer Questions (10 Marks)
Define a pointer and explain its role in programming. What C105.4
1 is the purpose of the address-of operator (&) in relation to 10 Remember
pointers?
Explain the concept of pointer arithmetic. How does adding C105.4
2 an integer to a pointer affect the memory address it points 10 Understand
to?
Explain how arrays and pointers are related in C C105.4
3 programming. How can a pointer be used to access array 10 Understand
elements?
Explain a structure in C programming and explain how it C105.4
4 differs from an array. Provide an example to illustrate the 101 Understand
concept.

5 Explain array manipulation using pointer. 10 C105.4 Understand


Write a program that uses a structure to represent a student, C105.4
6 including attributes like name, age, and grade. Initialize and 10 Create
print the values of a structure variable.
Propose a scenario where a double pointer (pointer to a C105.4
7 10 Apply
pointer) is useful. Provide an example code snippet
8 Explain Dangling pointers using a C program 10 C105.4 Understand
Write a C program to find no of lowercase, uppercase, C105.4
9 digits and other characters using pointers 10 Create

1)Write a C program to find the sum of a 1D array using C105.4


malloc()
10 10 Create
ii) Write a C program to find the total, average of n
students using structures
Write a program to Enter n students data using calloc() C105.4
11 10 Create
and display failed students list
Write a program to Read student name and marks from C105.4
12 the command line and display the student details along 10 Create
with the total.
Demonstrate the differences between structures and C105.4
13 10 Apply
unions using a C program.
Write a C program to copy one structure variable to C105.4
14 10 Create
another structure of the same type.
15 Explain dynamic memory allocation with examples 10 C105.4 Understand
Develop a program that reads a string input from the user, C105.4
16 dynamically allocates memory to store it, and then 10 Remember
reverses the string using pointer manipulation.
Describe how to create and display a linked list using C105.4
17 structures and pointers. 10 Remember

Write a C program to implement realloc(),malloc(),calloc() C105.4


18 10 Create
UNIT-V
Short Answer Questions (2 Marks)
Blooms
Taxono
S.No Question Marks CO
my
Level
1 Differentiate between a function declaration and a 2 C105.5 Apply
function definition.

2 What is the purpose of a function prototype, and why is it 2 C105.5 Remember


necessary?

3 What is the purpose of using functions in programming? 2 C105.6 Remember

4 Differentiate between call by value and call by reference 2 C105.5 Apply


in function arguments
5 Discuss the role of the return statement in a function. 2 C105.5 Remember

6 Design a program that demonstrates the use of recursive 2 C105.6 Apply


functions
7 Write a function that swaps the values of two integer 2 C105.5 Create
variables using pointers
8 Define the terms "scope" and "lifetime" of a variable in 2 C105.6 Apply
programming.

9 Discuss the advantages of using local variables over 2 C105.5 Apply


global variables.

10 Design a program that demonstrates the use of static 2 C105.6 Remember


variables in functions.

11 What are the primary operations involved in file 2 C105.6 Remember


handling?
12 Differentiate between text files and binary files in the 2 C105.5 Remember
context of file handling
13 Write a program that creates a new text file 2 C105.6 Remember
14 Design a program that copies the content of one text file 2 C105.5 Remember
to another.
15 How are arrays passed to functions in C programming? 2 C105.5 Remember
16 Discuss potential issues and error handling strategies 2 C105.5 Create
when opening, reading, or writing to files in a program.
Long Answer Questions (10 Marks)
What role do functions play in C programming, and how do they
1 10 C105.6 Remember
contribute to code organization.
Differentiate between a function declaration and a function
2 10 C105.5 Understand
definition in the context of C programming.
Write a simple C function that calculates the factorial of a given
3 10 C105.5 Understand
integer.
Discuss how the concept of recursion is implemented in C
4 functions. Provide an example and highlight potential 101 C105.6 Understand
advantages and drawbacks.

Design a C program that demonstrates the use of function


pointers. Explain the scenarios where function pointers are
5 10 C105.5 Understand
particularly useful in C.

Discuss the difference between a function parameter and an


6 argument in the context of C programming. 10 C105.5 Create

. Write a C function that swaps the values of two integer


7 variables using pointers. Call the function and print the values 10 C105.6 Apply
before and after the swap.
Compare and contrast pass-by-reference using pointers with
8 pass-by-reference using references in C. What are the 10 C105.5 Understand
advantages and limitations of each approach
Define the terms "scope" and "lifetime" of a variable in C. How
does the scope of a variable affect its accessibility in different
9 10 C105.5 Create
parts of a C program?

Discuss the concept of local and global variables in C. Provide


10 examples to illustrate the differences and potential issues 10 C105.5 Create
associated with each
Explain different file operations in c
11 10 C105.5 Create

Write a C program that includes local, global, and static


12 10 C105.6 Create
variables.
Compare and contrast passing a two-dimensional array to a
13 10 C105.5 Apply
function with passing a one-dimensional array in C
Explain the significance of specifying a return type in a C
14 function. How does it affect the behavior of the function? 10 C105.5 Create

Explain the purpose of a function prototype in C. How does it


15 impact the compilation process 10 C105.5 Understand

You might also like