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

1 Sem BSC

1. This document contains a sample exam paper for Computer Science with questions covering fundamental computer and C programming concepts. It is divided into 4 sections with a total of 60 marks. 2. Section I contains 10 multiple choice questions worth 1 mark each about topics like computer history, binary, C keywords, operators, and functions. Section II requires explaining 5 out of 7 concepts in short notes worth 3 marks each. Section III contains 3 out of 5 long answer questions worth 5 marks each. Section IV contains 2 out of 4 long answer questions worth 10 marks each. 3. The questions test knowledge on topics such as logic gates, computer components, C programming constructs like data types, functions, arrays, pointers, structures

Uploaded by

Sinchana Sinchu
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)
74 views3 pages

1 Sem BSC

1. This document contains a sample exam paper for Computer Science with questions covering fundamental computer and C programming concepts. It is divided into 4 sections with a total of 60 marks. 2. Section I contains 10 multiple choice questions worth 1 mark each about topics like computer history, binary, C keywords, operators, and functions. Section II requires explaining 5 out of 7 concepts in short notes worth 3 marks each. Section III contains 3 out of 5 long answer questions worth 5 marks each. Section IV contains 2 out of 4 long answer questions worth 10 marks each. 3. The questions test knowledge on topics such as logic gates, computer components, C programming constructs like data types, functions, arrays, pointers, structures

Uploaded by

Sinchana Sinchu
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

9.P. Code No.31132 I'aqe Vo.

First Semester B.Sc., Degree Examinations


January/ February 2023
(NEP Scheme)
COMPUTER SCIENCE
Paper : NSA0320 Computer Fundamentals and Programming in C
Tune: 2 hrs.) IMax. Mauks:60
Instructions to students
1. The sudents should legiblu write Section number along
with question numbers.
2. The answers without Section number and question
numbers will not be valued.
3. The question numbers should be legibly written within
the margin only.
SECTION - I

options provided : 10X 1- 10 Marks


Select the most appropriate answer from
1-) Father of Computer
a) Pascal b) Charles Babbage
c) Neumann d) None

I-2) T10la (gray)

a) 10010 b) |1110
c) 10110 d) 1010I

I-3) | (10)
a) 7 b) 8
c) 4 d) 6
| -4) C Programming was invented by
a) James Goslings b) Charles Babbage
c) Dennis Ritchie d) George Boole
|-5) All keywords in C are in
a) Upper case b) Sentence Case
c) Random d) Lower case

|-6) 'if is Statement.

a) Condition b) Declauration
c) Friend d) Loop
Contd...2
9.P. Code No.31132 Puqe No.., 2
|-7) +tg means
a) Decrement g b) Post increimnent g
c) Add g d) Pre incremcnt g
I-8) tolower ( ) function returns
a) Length of String b) String in Lower Case
c) String Reverse d) String Uppercase

|-9) Void hai() will


a) Not return any value b) Will return value
c) Will not execute d) None of these
1-10) User defined function created by
a) Ken Thomson b) Dennis Ritchic
c) Library d) User

SECTION - II
II. AnswerWrite notes on any FIVE of the following : SX 3= S Murks
II -1) Write truth table for AND, OR, NOT gates.
II-2) Define different translators.
II -3) Write the rules for naming an ident1fier.
I|4) Write note on type conversions.
II -5) Differentiate while and do-while loop.
Il-6) What is an array ? How arrays are declared? Give examplc.
II-7) Write the advantages of pointers.
I|-8) How structure members are accessed inC Explain

SECTION - III

III. Answer any THREE questions from the following. 3X 5= 15 Marks

II-) Explain Block diagram of digital computer with neat diagram


I|I-2) Explain unformatted input and output functions.
II|-3) Explain switch case with program example
II-4) Explain following with example
a) strcmp b) strcpy c) strcat d) isalpha e) strlen
|-5) Explain components of user defined function with example.
(ontd...3
9.P. Code No.31 132 Page No... 3
SECTION - IV
Answer the following: 2X 10= 20 Marks
IV- ) Bnetly explain History of computers.
Wnte an algorithm and flowchart to find arca und volune of a sphere.
|5+5]
OR

Explain structure of C program


Expluin bitwise and logical operators used in C with example. |5+5|
IV- 2) Explain nested if statement with example.
How pointers are declared and initialized? Give exanplc. (5+5|
OR

Explain the categories of user defined function


Write the difterences between structure und union |S+5|

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