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

Pps QUESTION BANK

Uploaded by

snoushith16
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)
28 views2 pages

Pps QUESTION BANK

Uploaded by

snoushith16
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

HYDERABAD INSTITUTE OF TECHNOLOGY & MANAGEMENT (AUTONOMOUS)

Gowdavelli, -Medchal Dist. – 501 401

CONTINUOUS INTERNAL EVALUATION MID-I Exam Odd Semester : 2024-25


Faculty In-Charge : KOLLURI DAVID RAJU I Yr. I Sem / Branch
Subject Name :Programming for Problem Solving [PPS]
Date : -11-2024 Time : 1 Hour
Subject Code : 24ES1CS01
Q. PART-A (2 Mark Question) Bloom’s
No
Marks Level
COs POs

Module - I
1 List out properties of an algorithm? 2 L2 1 1,2

2 Write Rules for Defining a Variable? 2 L2 1 1,2

3 Evaluate the given expression by considering the ‘x=10’ and ‘z=5’: 2 L2 1 1,2

result = x++ +17-8/4*2+3- ++z; x=? z=? & result=?

4 Write the output of the following code snippet: 2 L3 1 1,2


#include<stdio.h>
main()
{
int a = 1;
float b = 1.3;
double c;
c = a + b;
printf("%.3lf", c);
printf(“Size of result %d is %d”, c sizeof(c));
}

5 What is the difference between ‘break’ and ‘continue’ keywords? 2 L1 1 1,2

Module – II

1 Write the Dynamic Initialization of strings? 2 L2 2 1,2

2 List out any two string handling functions with syntax? 2 L3 2 1,2

3 What is the logic to print the alternate numbers between 1 to 10? 2 L3 2 1,2

4 Write the syntax of for loop statements in C? 2 L2 2 1,2

5 Give syntax and example for enum data type. 2 L3 2 1,2

Module – III
1 Differentiate array and string and give example? 2 L2 2 1,2
2 Write the syntax and example of 1D & 2D Arrays? 2 L3 2 1,2

3 Storage Classes specifies what? List out 2 L3 2 1,2

4 List out applications of an array? 2 L2 2 1,2

5 When compiler will consider initial value ‘garbage’ and ‘zero’? 2 L2 2 1,2

Q. PART-B (5 Mark Questions) Bloom’s


Marks COs POs
No Level

Module – I

1 Describe flowchart and symbols? Give an example 5 L2 1 1,2

2 Discuss about creating and Running C program in detail 5 L2 1 1,2

3 List out all operators and explain any four operators with examples? 5 L2 1 1,2

4 Summarize about 6-types of tokens with examples? 5 L3 1 1,2

5 Describe the Basic structure of C program with the help of an example? 5 L2 1 1,2

Module - II

1 Compare while, do-while and for loops with syntax and semantics? 5 L2 2 1,2

2 Write a C program to find whether a character is consonant or vowel 5 L3 2 1,2


using switch statement.
3 Develop a C program to search an element within the array of elements and 5 L3 2 1,2
trace the code.

4 List and Explain string handling functions with examples. 5 L3 2 1,2

5 Write a C program to find matrix multiplication and trace the code? 5 L3 2 1,2

Module - III

1 Summarize 4-types of storage classes? 5 L1 2 1,2

2 Write programs to illustrate the usage of ‘auto’ and ‘static’ storage classes 5 L3 2 1,2

3 Develop programs to illustrate the usage of ‘register’ and ‘extern’ storage 5 L3 2 1,2
classes

4 Crate a program to merge two arrays into third array and trace the code 5 L3 2 1,2

5 Write a c program to sort array of elements and trace the code. 5 L3 2 1,2

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