Il 0% ha trovato utile questo documento (0 voti)
18 visualizzazioni2 pagine

Esc 104 1

Paper

Caricato da

Mohammad Kaif
Copyright
© © All Rights Reserved
Per noi i diritti sui contenuti sono una cosa seria. Se sospetti che questo contenuto sia tuo, rivendicalo qui.
Formati disponibili
Scarica in formato PDF o leggi online su Scribd
Il 0% ha trovato utile questo documento (0 voti)
18 visualizzazioni2 pagine

Esc 104 1

Paper

Caricato da

Mohammad Kaif
Copyright
© © All Rights Reserved
Per noi i diritti sui contenuti sono una cosa seria. Se sospetti che questo contenuto sia tuo, rivendicalo qui.
Formati disponibili
Scarica in formato PDF o leggi online su Scribd
Sei sulla pagina 1/ 2
Pease check that this auestion paver contains 09 questions and 02 printed paees within first ‘en minutes Total No, of Questions: 03] [Total No. of Pages 02) University Roll No MORNING 10 MAY 2023 Program: B.Tech (Batch 2018 onwards} Semester: 1* Name of the Subject: Programming for Problem Solving Subject Code: ESC-104 Paper ID: 15935 Scientific calculator Is not allowed Max Marks: 60 1) Part A& Bare compulsory. 2), Part-C has TWO questions Q8 and Q9. Both are compulsory but with internal choice 3). Any missing data may be assumed appropriately Part-a [Marks: 02 each} QI. Write short notes on: a) What is an Algorithm? Give example. b)_ Define pointers? Give example. ©) What is a complier? What is its use? d), Define data types. What are their categories? e). What is the need and importance of operating system? f] Write the syntax of for loop. Part-B [Marks: 04 each) @2. Define Flowchart. Draw flow chart to find the largest of three numbers. 3. Draw aneat Block diagram of computer system and explain its components. Q4. What are operators? Name the categories, Give example of each, QS. Differentiate between while & do-while loop. Q6. Define array. Explain 1-D and 2-D array with example. Q7. Write short notes on the following: a) break statement. b) continue statement, Page 1of 2 MORNING 4 0 MAY 1003 Parc (Marks: 02 each} Q8.__ Write a program to find the sum of two matrices(2-D arrays). or Write a program to sort a given array [21, 17, 13, 32, 27, 11, 24, 19] in ascending order. Q9.___ Define Functions. Explain different types of functions available in C language. What are the different methods through which parameters are passed to a function? Write example program of each, or Define Recursion. Write a program to find out factorial of given number using recursion. Page 2 of 2

Potrebbero piacerti anche