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

Sem-2-Problem Solving Using C

The document outlines important questions for a Problem Solving Using C course at Krishna Chaitanya Degree College, covering five units. Each unit includes questions on fundamental concepts such as program structure, control statements, arrays, functions, and file operations. The questions are categorized into two sections based on their mark allocation, with both 4-mark and 10-mark questions provided.

Uploaded by

pprudhvi1239
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 views2 pages

Sem-2-Problem Solving Using C

The document outlines important questions for a Problem Solving Using C course at Krishna Chaitanya Degree College, covering five units. Each unit includes questions on fundamental concepts such as program structure, control statements, arrays, functions, and file operations. The questions are categorized into two sections based on their mark allocation, with both 4-mark and 10-mark questions provided.

Uploaded by

pprudhvi1239
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

Krishna Chaitanya Degree College (A):: Nellore

SEMESTER – II (R-25)

BCA-AI(AI1,T1-T8),BCA(CA),BCA-DS

Problem Solving Using C

IMPORTANT QUESTIONS (4 MARKS)

UNIT-1
1. Explain the structure of a c program with example.
2. Explain about keywords and identifiers in c
3. What is a constant?
UNIT-II

1. Write about goto statement


2. What is a nested loop?
3. Write about nested if statement

UNIT-III
1. What are differences between one dimensional and two dimensional arrays
2. What is string? write about declaration ,initialization of string
3. Write about gets() and puts() in c

UNIT-IV
1. What is recursive function?
2. What is function? write about passing parameters(call by value, call by reference)
3. discuss about return statement

UNIT-V
1. What is file?
2. Explain different file modes in c.
3. write about detecting the end-of-file
Krishna Chaitanya Degree College (A):: Nellore

SEMESTER – II (R-25)

BCA-AI(AI1,T1-T8),BCA(CA),BCA-DS

Problem Solving Using C

IMPORTANT QUESTIONS (10 MARKS)

UNIT-1
1. Explain flow chart and algorithm
2. Write generation of programming language
3. Explain different data types in c.
4. Explain input and output function (printf(), scanf())

UNIT-2
1. Explain conditional statements(if, if-else, if-else-if, switch)
2. Explain iterative(looping) statements
3. What is difference between break and continue?

UNIT-3
1. Write about one dimensional array. Explain process of declaration and accessing of
one dimensional array
2. Write about array for inter function communication
3. Write about string handling functions in c.

UNIT 4
1. Explain different storage classes.
2. Define user defined function? Explain function declaration and definition with
example.
3. Explain structures, union in c with example.
UNIT-5
1. Explain dynamic memory allocation(DMA)
2. What is pointer? Write about passing arguments to a function using pointers
3. Write about different file operations in c(reading and writing)

You might also like