0% found this document useful (0 votes)
14 views

Basic Computer Programming-Supl

Uploaded by

shivganrugved64
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Basic Computer Programming-Supl

Uploaded by

shivganrugved64
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

DR.

BABASAHEB AMBEDKAR TECHNOLOGICAL UNIVERSITY, LONERE


Supplementary Examination, January - 2023
Course: B. Tech Semester: I
Subject Name: Basic Computer Programming Subject Code: ICT206
Max Marks: 60 Date: 17/01/2023 Duration: 3 Hr.
Instructions to the Students:
1. All Questions are compulsory.
2. Each question carries 12 marks.
3. Figures to the right indicate full marks.
4. Assume suitable data wherever necessary and mention it clearly.

Q. 1 Solve any two of the following


A) Explain different phases in programming process. (6)
B) Draw the flowchart and write algorithm and program to find the area of the circle. (6)
C) ii) Differentiate between (6)
a) Compiler b) Interpreter

Q.2 Solve the following


A What is variable? What are the rules for defining variables? Differentiate between local (6)
variable and global variable?
B) Explain any three types of operators with example. (6)
OR
B) Write short note on assignment operator. (6)
C) Write a program to find the factorial of the number.
(6)

Q.3 Solve any two of the following


A) What is the purpose of main() function? What is an argument? Differentiate between (6)
formal arguments and actual arguments?
B) Write a C program to show table of a number using functions. (6)
C) Write the program using Switch Statement which takes an arithmetic operator +, -, *, / (6)
and two operands from the user as an input and performs the calculation on the two
operands.

Q.4 Solve the following


A) Define Array. What are various types of array? Give the syntax of any two of them. (6)

B) Write a program to read 10 elements from the user by using array and display the (6)
squares of the elements.
OR
B) Write a program to find minimum number in an array containing five elements of (6)
integer type.
C) Define string in C? Write syntax to declare character array. How to initialize Character (6)
array?

Q.5 Solve any two of the following


A) Explain the following with examples. (6)
i) What is structure? How to create structure?
ii) How to initialize structure members? How to access structure elements?
B) Write a C program to store information(name, Rollno and Marks) of a student and (6)
displays it on the screen using structure.
C) Explain the following any two string functions with using library functionwith a simple (6)
example:
a) Strcpy
b) Strlen
c) Strcat
d)strncat
e)Strrev

*** End ***

You might also like