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

PPS Model Question Paper - 2

This document outlines the examination structure for the IB.Tech I Semester Programming for Problem Solving course at Mohanbabu University, including a total of 100 marks divided into two parts: Part-A with 10 short answer questions and Part-B with 5 detailed questions from various modules. Each question in Part-A carries equal marks, while Part-B requires answering one question from each module. The exam covers various topics in C programming, including data types, operators, structures, functions, and file handling.

Uploaded by

balaji
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)
49 views2 pages

PPS Model Question Paper - 2

This document outlines the examination structure for the IB.Tech I Semester Programming for Problem Solving course at Mohanbabu University, including a total of 100 marks divided into two parts: Part-A with 10 short answer questions and Part-B with 5 detailed questions from various modules. Each question in Part-A carries equal marks, while Part-B requires answering one question from each module. The exam covers various topics in C programming, including data types, operators, structures, functions, and file handling.

Uploaded by

balaji
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

CodeNo.

:22CS102001 SET-1

MOHANBABU UNIVERSITY
SreeSainathNagar,Tirupati 517102

IB.Tech.ISemester(MBU22)RegularExaminations,November,2022
(22CS102001)Programming for Problem solving

(CSE, CSE(AI & ML), CSE(CS), CSIT, CSE(DS))


Time:3Hours Max.Marks:100

PART-A

AnswerAllQuestions.AllQuestionsCarryEqualMarks 10x2=20Marks

Question BL CO PO
1. a) List the advantages of ASCII Code L1 CO2 PO1

b) Difference between printf() and puts() function. L1 CO1 PO1

c) List the five types of Tokens in C program L2 CO1 PO1

d) Difference between 8 biat and 16 bits processor L3 CO1 PO2


memory with architecture.
e) Define pointer with syntax. L1 CO3 PO1

f) What is Nested Structure. L1 CO3 PO1

g) Give an Example for NULL pointer L2 CO4 PO2

h) What is rewind() function L2 CO4 PO2

i) Define Union with syntax L1 CO5 PO1

j) Write any 5 modes in file handling L2 CO5 PO2

PART-B

AnswerOneQuestionfromeachModule.AllQuestionsCarryEqualMarks 5x16=80 Marks

Q.No. Question Marks BL CO PO


MODULE-I
2. a) Explain why we need to use C language with example. 8Marks L1 CO1 PO1
b) Explain formatted and non formatted input and output 8Marks L2 CO1 PO1
functions in c with suitable example?
OR

3. a) Describe comparison, logical and bitwise operators in detail 8Marks L1 CO1 PO1
with examples.
b) Write a C program to check the given number is Fizzbuzz 8Marks L3 CO1 PO3
number or not.
MODULE-II
4. a) Explain Structure of C programming with real time example. 8Marks L2 CO2 PO2
b) Write a C program to check whether the given number is a 8Marks L2 CO2 PO3
palindrome or not without using any inbuilt functions.
OR
5. a) In a meeting there are n people sitting, and they are giving 8Marks L3 CO2 PO3
handshake for all exactly once for a person. Write a program
to display the number of handshakes by all.
b) Write a C program to display the arithmetic operations 8Marks L1 CO2 PO2
without using the respective symbol and bitwise operations
MODULE-III

6. a) Write a C program to delete the particular element in array 8Marks L3 CO3 PO3
with explanation.
b) Write a C program to find the sum of a n number using 8Marks L3 CO3 PO3
recursive function with explanation.
OR
7. a) Write a C program to display the following pattern . 8Marks L2 CO3 PO2
a
bc
def
ghil
klmno
.
b) Write a C program to compare two strings without using 8Marks L3 CO3 PO3
inbuilt function with explanation.
MODULE-IV
8. a) Write a program to find GCD and LCM of two numbers using 8Marks L3 CO4 PO3
concept of functions.
b) Explain Call by Value and Call by reference with example. 8Marks L1 CO4 PO1
OR
9. a) Explain the following with a suitable example: 8Marks L1 CO4 PO1
i) Pointer arithmetic. ii) Array of pointers.
b) Write a C program to reverse order of the array elements 8Marks L3 CO4 PO3
using functions.
MODULE-V
10. a) Explain fseek() and ftell() functions in file handling with 8Marks L2 CO5 PO1
example
b) Explain fgets(), fgetc(), fputc() and fputs() functions in file 8Marks L2 CO5 PO1
handling with example
OR
11. a) Explain Union with syntax and example. 8Marks L2 CO5 PO1
b) Write a C program that uses pointers to initialize the 8Marks L3 CO5 PO3
members of the structure.

***

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