UPTU B.Tech Computer Concepts & Programming in C-ECS-101 ...
Recommend Documents
UPTU B.Tech ECS-201 Computer Concepts And Programming in C sem 2_ 2010-11.pdf. UPTU B.Tech ECS-201 Computer Concepts And
UPTU B.Tech Computer Concepts & Programming in C-ECS-201 sem 2_ 2009-10.pdf. UPTU B.Tech Computer Concepts & Pro
UPTU B.Tech Computer Concepts & Programming in C ECS 201 ECS201 Sem 3_2011-12.pdf. UPTU B.Tech Computer Concepts &am
Design Concepts in Programming. Languages. FRANKLYN TURBAK AND.
DAVID GIFFORD. WITH MARK A. SHELDON. Design Concepts in Programming
...
A critical aspect of a programming language is the means it provides for ... size
10). Also, it should be clear that the value associated with area and ... (not 〈e〉).
The following are some examples. (define (between x y z) (and (
Jun 5, 2003 - One approach to study computer programming is to study .... based on Java, but the problem exists in all e
is limited in pure object-oriented languages to a single style, the ... semantics for all concepts. â We have especially good coverage of concurrent programming ... We are making available for free complete course materials for ... Page 11 ...
Jun 5, 2003 - 2.1 Defining practical programming languages . . . . . . . . . . . . . 33 .... 3 Declarative Programming T
Jun 5, 2003 - 7.1 An example class Counter (with class syntax) . . . . . . . . . . ...... scribing good programming tech
This includes designing a program and coding it in a ... We show how to program and reason in this language .... Except for the ticket, the program is unchanged.
Computer programs tell the computer precisely what to do, step-by-step. ⢠Writing computer ... For example, Sprite1 se
Remastering Ubuntu might not be easiest for all users, also has some room for
improvement. The proposed project is to make a software which can remaster ...
Fundamental Concepts in Programming Languages. CHRISTOPHER
STRACHEY. Reader in Computation at Oxford University, Programming
Research Group, ...
Design concepts in programming languages / Franklyn A. Turbak and David K.
Gifford, with ..... 17.12 Transformation 10: Register Allocation 1098. 17.12.1 ...... e.
(postfix 0 2 3 1 (add) (mul) sel) f. (postfix 0 2 3 1 (add) (mul) sel exec) g. (post
Nov 23, 2004 ... Design Concepts in Programming Languages. Franklyn Turbak ... 1.1
Programming Languages . ... 3.4.1 Programming Language Properties .
For the past three years at the University of Oklahoma, we have merged the ... wander around a room, and when it got near a person, it would back off a bit and ...
College Station, Texas 77843. 1 Introduction .... the resolution algoritm picks the unique best overload if one exists,
auto si = find(s, 7); // calls associative container overload. At each call site, the compiler checks the requirements o
Independent of the programming language. • Program. Dept. of CSE, IIT KGP. •
Program ... Typically written in a high-level language like C, C++, Java, etc.
Jan 6, 2004 ... Languages ... David A. Watt: Programming Language Concepts and. Paradigms,
Prentice Hall ... Robert W. Sebesta: Concepts of Programming.
RESULT = 0;. GET LIST (LISTLEN); ..... program pasex (input, output); ...... else System.out.println( ...... nates each RHS with a semicolon, and requires quotes on all terminal symbols. ...... a list of literals delimited by parentheses and slashes.
Beginning in 1968, a computer-assisted course in computer programming ..... This concept is best introduced in assembly language programming and illustrated ...
Oct 14, 2007 ... This PDF is version 0 from 14 October 2007. ... to download and print copies of
this free computer programming textbook (in ... generally unwise for beginners to
attempt to learn more than one programming language at a time.
Programming Languages. Concepts of Programming Languages. Assignments.
CMSC 4023. Robert W. Sebesta 9th Edition. Page 1 of 1. Assignment. Number.
UPTU B.Tech Computer Concepts & Programming in C-ECS-101 ...
UPTU B.Tech Computer Concepts & Programming in C-ECS-101 Sem 1_2009-10.pdf. UPTU B.Tech Computer Concepts & Prog
111111111111111111111111111111 Printed Pages:
7
ECSIOI
(Following Paper ID and Roll No. to be filled in your Answer Book)
PAPER 10: 1.601 '
:
(c)
Both (a) and (b)
(d)
:\one of the above
(viii) For a C program code for (i=O; i ~ 10; i ++) {A}; A will run
(ix)
(a)
10 times
(b)
11 times
(c)
12 times
(d)
None of the above
Which ofthe following is not a functional programming language (a)
SML
(b)
HASKELL
(c)
C
(d)
LISP
11111111111111111111I1 [1111111111111111111111 *
J
J
-
1
6
0
1
~
(x)
A pointer in C language
(a)
IS
a address of some location
(b)
IS
useful in describing linked list
(c)
can be used to access the elements of
State whether the following statements are True or False : '~'~t.(i} Normal binary operators like + and - can be combined with assignment operator = to form new operators in C Language. (ii)
A compiler translates a High-level program into a machine understandable language.
(iii)
An algorithm might never terminate.
(iv)
In C language pointers can be used as a function argument.
(v)
MS-WORD may be classified as an application software.
(i) (ii)
is used to open a file. is used as a statement terminator in C.
(iii) (iv) (v)
.,.-
~
4
There are total ~ A e ~
questions in this section.
questions /~ .1.'~ \Yri e a C p~gram
l~b.I{}v-,
i
(a)
cr--Lp
6x5=30
c.A,t'
f~
~'~ to swap two integer J
'ariables without usmg third variable. "'''''''ft''I
\\ nat is the difference between initialization
"1: - ,~~.•.
and assignment of a variable. (b)
(i
Differentiate between WHILE ...DO and DO ....WHILE loops.
(ii)
Write a recursive C program to calculate the factorial of a given integer.
(c)
(i)
Draw a flow chart to sort three integers.
(ii)
What is dynamic memory
allocation?
Explain malloc function. (i)
(d)
Write a C program to sequentially search a given integer element from a given list of numbers.
(ii)
What is the purpose of using Structures in C? Explain with the help of a suitable example.
JJ-1601]
11111111111111111111I111111111111111111111111 •
J
J
-
1
~
0
1
•
'5
(e)
(i)
Find the value of X in the equation (1230)4
(ii)
= Xe;.
Draw the functional block diagram of a Digital Computer and discuss its components in brief.
5
This section contains SEVEN programming qu~_stions. Attempt any FIVE questions. All .1~:;;~~:1
answers must contain Flow chart/Algorithm for your program logic : (a)
Write a C program to read in 10 integer numbers and print their average, minimum and maximum numbers.
(b)
Write a C program to add, multiply two N x N matrix.
(c)
Write a simple database program in C which stores personal details of 100 persons such as Name, Date of Birth, Address, Phone number etc.
(d)
Write a C program which reverses the digits of the integer input given to it. For example an input 65367 is outputted as 76356.
(e)
Write a C program to calculate the sum of the following series upto 50 terms SUM = -13 + 33
(t)
v
- 53
+ 73
-
93 + 113
- ....
rite a C program to print nth Fibonacci
number. (g)
V.-rite a-C program to arrange given n strings in lexicographical