0% found this document useful (0 votes)
37 views1 page

Internal Test Subject-Introduction To Computing 1 Yr, Sec - A Full Marks: 20 Time: 1hr. Answer Any Four

This document appears to be an exam for an introduction to computing class. It contains 5 questions for students to answer 4 of. Each question has multiple parts testing students' understanding of computing concepts like pointers, arrays, recursion, and loops as well as their ability to write C programs demonstrating these concepts, such as swapping numbers without a third variable or checking if a string is a palindrome. Students have 1 hour to complete the exam which is out of 20 total points.

Uploaded by

Aritra Mahapatra
Copyright
© Attribution Non-Commercial (BY-NC)
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)
37 views1 page

Internal Test Subject-Introduction To Computing 1 Yr, Sec - A Full Marks: 20 Time: 1hr. Answer Any Four

This document appears to be an exam for an introduction to computing class. It contains 5 questions for students to answer 4 of. Each question has multiple parts testing students' understanding of computing concepts like pointers, arrays, recursion, and loops as well as their ability to write C programs demonstrating these concepts, such as swapping numbers without a third variable or checking if a string is a palindrome. Students have 1 hour to complete the exam which is out of 20 total points.

Uploaded by

Aritra Mahapatra
Copyright
© Attribution Non-Commercial (BY-NC)
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/ 1

Internal Test

Subject- Introduction to Computing


1st Yr, Sec- A
Full marks: 20 Time: 1hr.
Answer any four
1. (a) What is Pointer?
(b) Write a C program to swap two numbers without using any 3rd variable. [1+4]
2. (a) What is array?
(b) Write a C program to check if a string is Palindrome. [1+4]
3. (a) Write the difference between switch case & if-else.
(b) Write a C program to calculate the summation of the following series.
12 + 22 + 32 + …….. [2+3]
4. (a) What is recursive function?
(b) Write a C program to calculate the g.c.d of two numbers. [1+4]
5. (a) Write the difference between while & do-while.
(b) Write a C program to print the following pattern.
*
* *
* * *
* * * * [2+3]

Internal Test
Subject- Introduction to Computing
1st Yr, Sec- A
Full marks: 20 Time: 1hr.
Answer any four
1. (a) What is Pointer?
(b) Write a C program to swap two numbers without using any 3rd variable. [1+4]
2. (a) What is array?
(b) Write a C program to check if a string is Palindrome. [1+4]
3. (a) Write the difference between switch case & if-else.
(b) Write a C program to calculate the summation of the following series.
12 + 22 + 32 + …….. [2+3]
4. (a) What is recursive function?
(b) Write a C program to calculate the g.c.d of two numbers. [1+4]
5. (a) Write the difference between while & do-while.
(b) Write a C program to print the following pattern.
*
* *
* * *
* * * * [2+3]

You might also like