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

Bsc Computer Science Cs Semester 1 2023 April Problem Solving Using Computer and c Programming 2019 Pattern

Uploaded by

hamidyusufi617
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)
48 views3 pages

Bsc Computer Science Cs Semester 1 2023 April Problem Solving Using Computer and c Programming 2019 Pattern

Uploaded by

hamidyusufi617
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/ 3

[Total No.

of Questionsr5] SEAT No':


t-l
[Total No .of Pages: 3l

F.Y.B.Sc. (ComPuter Science)


CS-l11: Problems Solving Using Computer and 'C'
Programming
(20 I 9Pattern) (CBCS) (Semester-I)
plme: 2lloanl [MaxMarks:351
Insttactlons to the eandldates:
1) All questions are eotqulsory.
2) Flgures to the right indicdte full ma*s.
3) Assame suitable data if necessnry.

Ql) Axempt any Eight of the follorving: [8r 1:8]


a) What is a compiler?
b) What are two tvpes of'static variable?
c) Deflne pseudocode.
d) List the vad6us data types in 'C' language.
e) What is the use of break & continue statement?
g Write the syntat for nested if-else loop.

c) What is Constant?
h) Listthe diflbrent storage classes.
r) \\4rat is an escape sequence?

.D State the applications ofarrays.

Q2) Altempt any Four of the following: 14x2=81

a) Explain for loop',vith example.


b) Explain the use of Sizeof Q function.
c) Define algorithm. Explain its characteristics
d) Write a note on: I) Structure II) Union
e) Explain array with its type.

P.T.O.
following: 8"4:81
Q3) LtHmptany Two ofttre
two nurnbers'
a) Write an algorithm and flowchart for swap of
b) Explain recursive functions with example'
c) Write * c Fogram to furd out &ctorial of a nurnber'

Q4) AtlerrrylaayTwo of the


followiug: [2x4=81

a) Traee the output for the tbllowiog:


i) #inclu&<stdio.h>
iotmein$
{
iru n;

fur(n = 7; nl=0; n")


Printi{"n = Yd"' n-);
getchar$:
tetum0i
l
I
{

ii) intmain()
{ char str[10]="Flello";
print{" o/td, %od\n"' strlen( str)'sizeo(str)) ;

retum 0l
II

b) What is structure of C hograrn?


c) kplain dil*reut lypes of oprotors available in C'
Attempt any one of the following: *3=3]
Qil [1

a) Write a prograur in 'C' to Program to find Suni of N input


Numbers.

b) Write a C pro$am to prirrt following pattern for n lines'


1

23
456
'7 I910

**r(?k?k

\)

You might also like