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

Question Paper Format HRITU (Mca)

Uploaded by

Sonu Kumar
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)
48 views2 pages

Question Paper Format HRITU (Mca)

Uploaded by

Sonu Kumar
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

Number of Printed pages:01

Paper ID: 0204202 Paper Code: 24MCA102

HRIT UNIVERSITY, G.Z.B


Second Sessional Examination,
MCA (Ist SEM) Odd Semester Session - (2024-25)
Name of Paper: Problem solving using C

Time: - 1 Hr 30min M. Marks-30


Note: - Attempt all of the following sections.

Section A
Q.1. Attempt all of the following parts: C.O
(1*6=6)
a. What is Token? What are the different types of token available in C language? CO1
b. List all the operators used in C. Give examples. CO1
c. Define array. Explain with suitable example how to declare and initialize 1D CO3
array.
d. Write a C program that computes the size of int, float, double and char, CO1
variables.
e. What is type conversion? Explain two types of conversion with examples. CO1
f. Explain with example, the various constants available in „C‟ language. CO1
Section B

Q.2. Attempt any three of the following parts: (3*3=9) C.O


a. List all conditional control statements used in C. Explain any two with syntax CO3
and example.
b. What is function? Explain different classification of user defined functions CO2
based on parameter passing and return type with examples.
c. Explain the array of pointes with example? Or Explain how pointers and arrays CO3
are related with example.
d. Explain the difference between array and structures. CO3
e. What are basic data types available in „C‟? Write the significance of each data CO1
type.
Section C

Q.3. Attempt all of the following parts: (5*3=15) C.O


a. Explain else-if ladder with the help of flowchart and program.
OR CO2
Write a C program to find whether a given string is palindrome or not.

b. What do you mean by keywords? Explain with example.


OR CO1
Define i) variable ii) Constant iii) Associativity iv) Precedence.

c. Explain the following with proper example:


(i)break (ii)continue (iii)goto CO2
OR
List the differences between while loop and do-while loop. Write a C program
to find sum of Natural numbers from 1 to N using for loop.

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