0% found this document useful (0 votes)
24 views2 pages

21 ITES201 June 23

Uploaded by

rai662899
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views2 pages

21 ITES201 June 23

Uploaded by

rai662899
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

2023

(June)
INFORMATION TECHNOLOGY
Concepts of Computer and Programming
Course No: 21ITES201
Full Marks: 60
Time: 3 hours
The figures in the margin indicate full marks for the questions.

Answer five questions, Question no. 1 is compulsory

1. Answer the following : (6x2=12)


a) What is type casting?
b) Differentiate between local and global variable
c) What is pseudo code?
d) What is enumerated data types?
e) What are * and & operators means?
f) What is an array?
2. (a) Name at least three I/O devices and its function. (3) 6. (a) Write a program, where there will be two functions: to
add two numbers and multiply two numbers using call by
(b) What is an algorithm? Why do you need an algorithm? value and call by reference respectively. (6)
(3)
(c) What are different types of boxes in flowchart and its (b) Explain how pointer (*) and pointer to pointer (**)
meaning? Write an algorithm and draw a flowchart to works with appropriate example. (6)
check whether the input number is even or odd. (6)
7. (a) What is structure? Write a program to accept the details
3. (a) Write a menu driven program (using switch) to convert of employee and display them using structure. Details
a given temperature from Fahrenheit to Celsius and vice- consist of Employee ID, Name, Designation, Department,
versa. For an incorrect choice, an appropriate message Salary. (6)
should be displayed. [c = 5/9(f-32) and f=1.8c+32] (6)
(b) Explain the following functions with example
(b) Explain the arithmetic, relational, logical, and (3x2=6)
assignment operators in C language. (3) (i) ftell ( )
(ii) rewind ( )
(c) What are logical operators? Illustrate the usage with (iii) fseek ( )
example. (3)

4. (a) How to declare and initialize an array? Give example


program. (6)

(b) Write a program to add all the odd numbers and even
numbers from 0 to N. (6)

5. (a) What is string? scanf(“%s”,str); will take only


characters before space, how will you take a string which
has multiple space and multiple lines. (6)

(b) Write a program to count all the digits, and capital


letters in a string. (6)

You might also like