0% found this document useful (0 votes)
3 views

Programming for Problem Solving Octobernovember-2020

This document outlines the examination structure for the B.Tech I Year I Semester in Programming for Problem Solving at Jawaharlal Nehru Technological University Hyderabad. It includes a list of topics and questions related to the C programming language, such as data types, file handling, recursion, and algorithms. Students are required to answer any five questions, with each question carrying equal marks.

Uploaded by

AVINASH SEEKOLI
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)
3 views

Programming for Problem Solving Octobernovember-2020

This document outlines the examination structure for the B.Tech I Year I Semester in Programming for Problem Solving at Jawaharlal Nehru Technological University Hyderabad. It includes a list of topics and questions related to the C programming language, such as data types, file handling, recursion, and algorithms. Students are required to answer any five questions, with each question carrying equal marks.

Uploaded by

AVINASH SEEKOLI
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/ 1

R18

U
Code No: 151AC
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
H
B.Tech I Year I Semester Examinations, October/November - 2020
PROGRAMMING FOR PROBLEM SOLVING
(Common to CE, ME, ECE, EIE, MCT, MMT, AE, MIE, PTM)
Time: 2 hours Max. Marks: 75
U
Answer any five questions
All questions carry equal marks
SE
---

1.a) List the basic data types, their sizes and range of values supported by ‘C’ language.
b) Describe the purpose of commonly used conversion characters in scanf() function.
D
[7+8]
2.a) Explain about gets( ) and puts( ) functions with example.
b) Write a C program for addition of given two matrices. [7+8]
PA
3.a) Explain Creating Reading and writing text and binary files.
b) Write the syntax and example for fseek, ftell and rewind functions. [7+8]
PE
4.a) Define Recursion. Write a recursive function for factorial of a given number n.
b) Explain about standard library function used in C. [7+8]

5.a) Apply Binary search on {23, 71, 66, 44, 89, 65, 98, 33}.
R
b) Write an algorithm to check whether a given number n is prime or not. [7+8]
S
6.a) What are the arithmetic operators that are permitted on pointers?
b) Write a ‘C’ function to reverse the string passed as an argument that cannot be altered
without using string function. [7+8]
O
7.a) Define Structure and write the general format for declaring and accessing structure
members with an example.
C
b) Discuss pointers to arrays and structures with its syntax and example. [7+8]
T/
8.a) Describe File handling in C.
b) Write the syntax for opening and closing a file. [7+8]
N
O
---ooOoo---
V
20

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