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

Tutorial Test 2

The document is a tutorial test for the course CS3251 - Programming in C, consisting of two parts. Part A includes five questions related to arrays, such as definitions, declarations, classifications, and a programming task to read elements into an array. Part B contains two questions that require descriptions of array concepts and a programming task to print array elements in ascending order.

Uploaded by

ramgess
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)
3 views1 page

Tutorial Test 2

The document is a tutorial test for the course CS3251 - Programming in C, consisting of two parts. Part A includes five questions related to arrays, such as definitions, declarations, classifications, and a programming task to read elements into an array. Part B contains two questions that require descriptions of array concepts and a programming task to print array elements in ascending order.

Uploaded by

ramgess
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

Tutorial test 2-CS3251-PROGRAMMING IN C Tutorial test 2-CS3251-PROGRAMMING IN C Tutorial test 2-CS3251-PROGRAMMING IN C Tutorial test 2-CS3251-PROGRAMMING IN C

Part A (5*2=10) Part A (5*2=10) Part A (5*2=10) Part A (5*2=10)


1. What is an array? Give an 1. What is an array? Give an 1. What is an array? Give an 1. What is an array? Give an
example. example. example. example.
2. How to declare a float array? 2. How to declare a float array? 2. How to declare a float array? 2. How to declare a float array?
3. What are the main elements of an 3. What are the main elements of an 3. What are the main elements of an 3. What are the main elements of an
array declaration? array declaration? array declaration? array declaration?
4. What are the classification of 4. What are the classification of 4. What are the classification of 4. What are the classification of
array? array? array? array?
5. Write a C program to read 10 5. Write a C program to read 10 5. Write a C program to read 10 5. Write a C program to read 10
elements in an array? elements in an array? elements in an array? elements in an array?
Part B (2*10=20) Part B (2*10=20) Part B (2*10=20) Part B (2*10=20)
6. Describe the following with 6. Describe the following with 6. Describe the following with
respect to arrays, need of array, respect to arrays, need of array, respect to arrays, need of array, 6. Describe the following with
declaration and accessing an array declaration and accessing an array declaration and accessing an array respect to arrays, need of array,
element. element. element. declaration and accessing an array
7. Write a C program to print the 7. Write a C program to print the 7. Write a C program to print the element.
elements of an array in ascending elements of an array in ascending elements of an array in ascending 7. Write a C program to print the
order. order. order. elements of an array in ascending
order.

Tutorial test 2-CS3251-PROGRAMMING IN C Tutorial test 2-CS3251-PROGRAMMING IN C Tutorial test 2-CS3251-PROGRAMMING IN C Tutorial test 2-CS3251-PROGRAMMING IN C
Part A (5*2=10) Part A (5*2=10) Part A (5*2=10) Part A (5*2=10)
1. What is an array? Give an 1. What is an array? Give an 1. What is an array? Give an 1. What is an array? Give an
example. example. example. example.
2. How to declare a float array? 2. How to declare a float array? 2. How to declare a float array? 2. How to declare a float array?
3. What are the main elements of an 3. What are the main elements of an 3. What are the main elements of an 3. What are the main elements of an
array declaration? array declaration? array declaration? array declaration?
4. What are the classification of 4. What are the classification of 4. What are the classification of 4. What are the classification of
array? array? array? array?
5. Write a C program to read 10 5. Write a C program to read 10 5. Write a C program to read 10 5. Write a C program to read 10
elements in an array? elements in an array? elements in an array? elements in an array?
Part B (2*10=20) Part B (2*10=20) Part B (2*10=20) Part B (2*10=20)
6. Describe the following with 6. Describe the following with 6. Describe the following with
respect to arrays, need of array, respect to arrays, need of array, respect to arrays, need of array, 6. Describe the following with
declaration and accessing an array declaration and accessing an array declaration and accessing an array respect to arrays, need of array,
element. element. element. declaration and accessing an array
7. Write a C program to print the 7. Write a C program to print the 7. Write a C program to print the element.
elements of an array in ascending elements of an array in ascending elements of an array in ascending 7. Write a C program to print the
order. order. order. elements of an array in ascending
order.

Tutorial test 2-CS3251-PROGRAMMING IN C Tutorial test 2-CS3251-PROGRAMMING IN C Tutorial test 2-CS3251-PROGRAMMING IN C


Tutorial test 2-CS3251-PROGRAMMING IN C
Part A (5*2=10) Part A (5*2=10) Part A (5*2=10)
Part A (5*2=10)
1. What is an array? Give an 1. What is an array? Give an 1. What is an array? Give an
1. What is an array? Give an
example. example. example.
example.
2. How to declare a float array? 2. How to declare a float array? 2. How to declare a float array?
2. How to declare a float array?
3. What are the main elements of an 3. What are the main elements of an 3. What are the main elements of an
3. What are the main elements of an
array declaration? array declaration? array declaration?
array declaration?
4. What are the classification of 4. What are the classification of 4. What are the classification of
4. What are the classification of
array? array? array?
array?
5. Write a C program to read 10 5. Write a C program to read 10 5. Write a C program to read 10
5. Write a C program to read 10
elements in an array? elements in an array? elements in an array?
elements in an array?
Part B (2*10=20) Part B (2*10=20) Part B (2*10=20)
Part B (2*10=20)
6. Describe the following with 6. Describe the following with
6. Describe the following with
respect to arrays, need of array, respect to arrays, need of array, 6. Describe the following with
respect to arrays, need of array,
declaration and accessing an array declaration and accessing an array respect to arrays, need of array,
declaration and accessing an array
element. element. declaration and accessing an array
element.
7. Write a C program to print the 7. Write a C program to print the element.
7. Write a C program to print the
elements of an array in ascending elements of an array in ascending 7. Write a C program to print the
elements of an array in ascending
order. order. elements of an array in ascending
order.
order.

Tutorial test 2-CS3251-PROGRAMMING IN C Tutorial test 2-CS3251-PROGRAMMING IN C Tutorial test 2-CS3251-PROGRAMMING IN C


Tutorial test 2-CS3251-PROGRAMMING IN C
Part A (5*2=10) Part A (5*2=10) Part A (5*2=10)
Part A (5*2=10)
1. What is an array? Give an 1. What is an array? Give an 1. What is an array? Give an
1. What is an array? Give an
example. example. example.
example.
2. How to declare a float array? 2. How to declare a float array? 2. How to declare a float array?
2. How to declare a float array?
3. What are the main elements of an 3. What are the main elements of an 3. What are the main elements of an
3. What are the main elements of an
array declaration? array declaration? array declaration?
array declaration?
4. What are the classification of 4. What are the classification of 4. What are the classification of
4. What are the classification of
array? array? array?
array?
5. Write a C program to read 10 5. Write a C program to read 10 5. Write a C program to read 10
5. Write a C program to read 10
elements in an array? elements in an array? elements in an array?
elements in an array?
Part B (2*10=20) Part B (2*10=20) Part B (2*10=20)
Part B (2*10=20)
6. Describe the following with 6. Describe the following with 6. Describe the following with
6. Describe the following with
respect to arrays, need of array, respect to arrays, need of array, respect to arrays, need of array,
respect to arrays, need of array,
declaration and accessing an array declaration and accessing an array declaration and accessing an array
declaration and accessing an array
element. element. element.
element.
7. Write a C program to print the 7. Write a C program to print the 7. Write a C program to print the
7. Write a C program to print the
elements of an array in ascending elements of an array in ascending elements of an array in ascending
elements of an array in ascending
order. order. order.
order.

Tutorial test 2-CS3251-PROGRAMMING IN C


Tutorial test 2-CS3251-PROGRAMMING IN C Tutorial test 2-CS3251-PROGRAMMING IN C Part A (5*2=10)
Tutorial test 2-CS3251-PROGRAMMING IN C Part A (5*2=10) Part A (5*2=10)
Part A (5*2=10) 1. What is an array? Give an
1. What is an array? Give an 1. What is an array? Give an example.
1. What is an array? Give an example. example.
example. 2. How to declare a float array?
2. How to declare a float array? 2. How to declare a float array? 3. What are the main elements of an
2. How to declare a float array? 3. What are the main elements of an 3. What are the main elements of an
3. What are the main elements of an array declaration?
array declaration? array declaration? 4. What are the classification of
array declaration? 4. What are the classification of 4. What are the classification of
4. What are the classification of array?
array? array? 5. Write a C program to read 10
array? 5. Write a C program to read 10 5. Write a C program to read 10
5. Write a C program to read 10 elements in an array?
elements in an array? elements in an array? Part B (2*10=20)
elements in an array? Part B (2*10=20) Part B (2*10=20)
Part B (2*10=20) 6. Describe the following with
6. Describe the following with 6. Describe the following with
6. Describe the following with respect to arrays, need of array,
respect to arrays, need of array, respect to arrays, need of array,
respect to arrays, need of array, declaration and accessing an array
declaration and accessing an array declaration and accessing an array
declaration and accessing an array element.
element. element.
element. 7. Write a C program to print the
7. Write a C program to print the 7. Write a C program to print the
7. Write a C program to print the elements of an array in ascending
elements of an array in ascending elements of an array in ascending
elements of an array in ascending order.
order. order.
order.

You might also like