Loading
NRT/KS/19/2207Bachelor of Computer Application (B.C.A.) Semester–I Examination"C" PROGRAMMINGPaper–IITime : Three Hours] [Maximum Marks : 50N.B. :— (1) All questions are compulsory and carry equal marks.(2) Draw well labelled diagram wherever necessary.EITHER1. (a) What do you understand by programming structure ? Explain in brief. 5(b) Define flowchart. Draw a flowchart to find greatest among three numbers. 5OR(c) Define algorithm. Write an algorithm to find whether a given year is leap year or not. 5(d) Give the difference between algorithm and pseudocode. 5EITHER2. (a) What is data type ? Explain different data types supported by 'C-language'. 5(b) Write and explain a program in 'C' to print half pyramid using alphabets as given below :AB BC C CD D D DE E E E E 5OR(c) What is ternary operator ? Explain giving suitable example. 5(d) Write a program in 'C' to print numbers from 1 to N using while loop. 5EITHER3. (a) Define array. Write a program in 'C' to delete an element from one dimensional array at a givenposition. 5(b) Write any five string manipulation functions provided by 'C' language ? Explain with suitableexample. 5OR(c) Write a program in 'C' to illustrate function with :No argument and no return value. 5(d) What is storage class ? Explain various storage classes with suitable examples. 5EITHER4. (a) Give the difference between structure and union. 5(b) How will you declare pointer to pointer ? Write a 'C' program to read two integers and determinebigger of the two with the help of function big( ) returning an integer pointer. 5OR(c) What is file ? Describe various modes to open a file with suitable examples. 5(d) (i) Create a structure student with the members Roll_ No, Name, Marks.(ii) Create the instances s1 and s2 of structure student.(iii) Assign data to s1 using scanf( ) function.(iv) Give the memory representation of s1. 55. (a) If a = 10, b = 20 then c = (a++) + (– –b) + 10 and find the value of a, b, c. 2½(b) Differentiate between break and continue statement. 2½(c) Illustrate with example formal and default argument. 2½(d) Differentiate between sequential and random access. 2½CLS—13429http://www.rtmnuonline.comPage 1
Related documents:
- Political Science and International Relations (Paper II) 2020 Question Paper - Question Paper
- Political Science and International Relations (Paper I) 2019 Question Paper - MCQ
- Political Science and International Relations (Paper II) 2019 Question Paper - MCQ
- Civil Engineering Paper II QP - Question Paper
- CY8151 ENGINEERING CHEMISTRY Lecture Notes - Notes
- PH8151 ENGINEERING PHYSICS QPaper Jan 2018 - Question Paper
- ENGINEERING MATHEMATICS I QPaper Jan 2014 - Question Paper
- GE8151 Problem Solving and Python Programming Notes Unit 1 -5 - Notes
- Political Science and International Relations (Paper I) 2018 Question Paper
- Socio-Economic Impact of Drug Abuse [Notes] - Notes
- Chemistry (Paper I) 2017 Question Paper - Question Paper
- Business Intelligence - Practice MCQ Questions - MCQ
- HISTORY_I 2020 question paper - Question Paper
- Issues & Trends In Contemporary Indian Education - Question Bank
- SERVICES MARKETING - Notes
- banking - Assignment
- Urban Sociology - Questions with answers - Question Bank
- Cases in Marketing MCQs with Answers - MCQ
- Human Resources Planning Development - Notes
- Financial Accounting MCQs (TYBCom Sem VI ) - MCQ