Download AKTU B-Tech 1st Sem 2015-2016 NCS 101 Computer System Programming In C Question Paper

Download AKTU (Dr. A.P.J. Abdul Kalam Technical University (AKTU), formerly Uttar Pradesh Technical University (UPTU)) B-Tech 1st Semester (First Semester) 2015-2016 NCS 101 Computer System Programming In C Question Paper

Printed Pages: 4 , 1036 NCS-101
(Following Paper ID and Roll No. to [be filled in your
Answer Book) ?
Roll No.
B.Tech.
('SEM. l) THEORY EXAMINATION, 2015-16
COMPUTER SYSTEM & PROGRAMMING IN C
[Time: 3 hours] [Total Marks:100]
Note : Attempt all Questions from all Seetions as per
directions
Sec'tion-A
1. Attempt all parts of this section. Answer in brief.
(2 x 10:20)
(a) List ?ve internal and external commands used in
DOS operating system.
(b) Explain the basic structure of C program.
(c)- How binary ?le differ from text ?le?
(d) Give difference between android and window OS.
(6) Differentiate between structure and union.
42000 (1) P.T.O

Attempt any ?ve questions from this section.
2.
42000 (2)
?(0 What is void whiter? How is it different from
diicrpointas ??
0 (g) Justify that operating system is a resource
(h) ExplainthedotooperatorinClanguagewith
proper example.
(i) What do you mean by operator precedence?
0) Write di??a?enoe between implicit and explicit type
caning.
Section-B
(IOX5=50)
What are the different types of functions? Write a
program in C to s?tt list of names of students in an
ascending order.
Write a short note on top down program development
approach.
Write a program in C to reverse a string through pointer.
Write difference between call by value and call by
refemnm with suitable example.
NCS-lO]
Answer any two questions from this section:
What are the characteristics ofan algori?nn? Write an
algodthmto ?ndmesumofallvthe nmbctsdivisible by
3 between 1! andSO.
,Iilnstratcandcomparethestaticmdenemsmgc
classw with areicvant example in C
Statemefeannsofpoixm. Writchpmgminmm
agivennumbcrusingpoinm
Differentiate between the following :
(i) High level imgnageand lowicvel language.
(ii) Linker and loader.
(iii) Logical error and run time error.
(iv) Algorithm and ?owchart.
Section-C
(15x2=30)
10. What ai'e the various types of ?les that can be created in
42000 (3)
C langauge? Also give di??erent modes in which these
?les can be used with proper syntax. Write a progam in
C langauc to append some more text at the end of an
existed text ?le.
NCS?lOl

(b)
(c)
12. (a)
(b)
42000
Write a C program to check whether a given square
matrix is symmetric or not.
De?ne data types in C. Discuss primitive?data types
id terms of memory 'size, format speci?er and
range.
List out various ?le operations in ?C?. Write a C
program to count the number of characters in a ?le.
Write the- difference between type conversion and
typecasting. What are the escape sequences
characters?
What are the different types of operators in C
langauge and also write doWn the difference
between the associatively and precedence of
operators.
(4)

This post was last modified on 29 January 2020