PHP-Mysql PROJECT CODE tips and tricks , c / CPP /JAVA/ JSP-Mysql tips and tricks...and ORACLE World of opensource Web programming
Wednesday, October 9, 2024
History of C Programming Language
CTSD model paper SET-6
Instructions:
1. This question paper
comprises of two sections. Write answer of both the sections in separate answer
books.
2. From Section I, Q.1 is
compulsory, attempt any THREE from Q. 2 to Q. 5
3. From Section II, Q.6
is compulsory, attempt any THREE from Q. 7 to Q. 10
4. Make suitable
assumptions wherever necessary.
5. Start new question on new page.
CTSD Paper model SET-5
Instructions:
1. This question paper
comprises of two sections. Write answer of both the sections in separate answer
books.
2. From Section I, Q.1 is
compulsory, attempt any THREE from Q. 2 to Q. 5
3. From Section II, Q.6
is compulsory, attempt any THREE from Q. 7 to Q. 10
4. Make suitable
assumptions wherever necessary.
5. Start new question on new page.
CTSD Model paper SET-4
Instructions:
1. This question paper
comprises of two sections. Write answer of both the sections in separate answer
books.
2. From Section I, Q.1 is
compulsory, attempt any THREE from Q. 2 to Q. 5
3. From Section II, Q.6
is compulsory, attempt any THREE from Q. 7 to Q. 10
4. Make suitable
assumptions wherever necessary.
5. Start new question on
new page.
Section-A (30 Marks)
Q.1 Objective Type Questions - (State, Define, List, etc) (6 Marks)
- Define the ‘do-while’ loop.
- List the basic data types in C.
- State the purpose of the ‘goto’ statement.
Q.2 Answer the following questions.
A) Define flowchart symbols. (2 Marks)
B) Explain the history of C language. (6 Marks)
Q.3 Answer the following questions.
C) What is an enum in C? (2 Marks)
D) Write a program to find the average of three numbers. (6 Marks)
Q.4 Answer the following questions.
A) Define a 2D array. (2 Marks)
B) Write a program to sort an array in ascending order. (6 Marks)
Q.5 Answer the following questions.
A) Explain call by reference. (2 Marks)
B) Write a program to reverse a given number. (6 Marks)
Section-B (30 Marks)
Q.6 Objective Type Questions - (State, Define, List, etc) (6 Marks)
- Define typecasting in C.
- What is the purpose of the ‘break’ statement?
- List the string functions in C.
Q.7 Answer the following questions.
A) Describe the structure of a C program. (2 Marks)
B) Explain the use of recursion with an example. (6 Marks)
Q.8 Answer the following questions.
A) What is a switch case? (2 Marks)
B) Write a program to check whether a number is Armstrong. (6 Marks)
Q.9 Answer the following questions.
A) Define nested loops. (2 Marks)
B) Write a program to generate a multiplication table using a loop. (6 Marks)
Q.10 Answer the following questions.
A) What are string functions? (2 Marks)
B) Write a program to count the total number of words in a string. (6 Marks)
CTSD model Question paper SET-3
Instructions:
1. This question paper
comprises of two sections. Write answer of both the sections in separate answer
books.
2. From Section I, Q.1 is
compulsory, attempt any THREE from Q. 2 to Q. 5
3. From Section II, Q.6
is compulsory, attempt any THREE from Q. 7 to Q. 10
4. Make suitable
assumptions wherever necessary.
5. Start new question on
new page.
aper Set 4
Section-A (30 Marks)
Q.1 Objective Type Questions - (State, Define, List, etc) (6 Marks)
- Define type conversion.
- List the components of a C program.
- State the use of the ‘continue’ statement.
Q.2 Answer the following questions.
A) Define nested if-else statements. (2 Marks)
B) Explain the concept of user-defined functions in C. (6 Marks)
Q.3 Answer the following questions.
C) What is a 1D array? (2 Marks)
D) Write a program to generate a Fibonacci series up to N numbers. (6 Marks)
Q.4 Answer the following questions.
A) Define a string in C. (2 Marks)
B) Write a program to toggle the case of characters in a string. (6 Marks)
Q.5 Answer the following questions.
A) Explain call by value. (2 Marks)
B) Write a program to find the factorial of a number using recursion. (6 Marks)
Section-B (30 Marks)
Q.6 Objective Type Questions - (State, Define, List, etc) (6 Marks)
- Define the ‘for’ loop.
- What is a string function?
- State the difference between call by value and call by reference.
Q.7 Answer the following questions.
A) List the branching statements in C. (2 Marks)
B) Explain how the ‘switch’ statement works with an example. (6 Marks)
Q.8 Answer the following questions.
A) What is a function prototype? (2 Marks)
B) Write a program to generate a result sheet for 5 students using a loop. (6 Marks)
Q.9 Answer the following questions.
A) Define arrays in C. (2 Marks)
B) Write a program to reverse the order of numbers in an array. (6 Marks)
Q.10 Answer the following questions.
A) What is recursion? (2 Marks)
B) Write a program to create a calculator using user-defined functions. (6 Marks)
CTSD Model Question Paper for practice SET-2
Instructions:
1. This question paper
comprises of two sections. Write answer of both the sections in separate answer
books.
2. From Section I, Q.1 is
compulsory, attempt any THREE from Q. 2 to Q. 5
3. From Section II, Q.6
is compulsory, attempt any THREE from Q. 7 to Q. 10
4. Make suitable
assumptions wherever necessary.
5. Start new question on
new page.
Section-A (30 Marks)
Q.1 Objective Type Questions - (State, Define, List, etc) (6 Marks)
- Define recursion in programming.
- List the loop control statements in C.
- State the components of a function in C.
Q.2 Answer the following questions.
A) Define a 2D array. (2 Marks)
B) Explain the concept of nested loops with an example. (6 Marks)
Q.3 Answer the following questions.
C) What is a string function in C? (2 Marks)
D) Write a program to find the maximum of three numbers using else-if ladder. (6 Marks)
Q.4 Answer the following questions.
A) Define matrix in C. (2 Marks)
B) Write a program to multiply two matrices. (6 Marks)
Q.5 Answer the following questions.
A) Explain the use of the ‘break’ statement in loops. (2 Marks)
B) Write a program to check whether a given number is a palindrome. (6 Marks)
Section-B (30 Marks)
Q.6 Objective Type Questions - (State, Define, List, etc) (6 Marks)
- Define a loop in programming.
- What is an operator in C?
- State the types of user-defined functions.
Q.7 Answer the following questions.
A) List the string functions available in C. (2 Marks)
B) Explain the difference between pre-decrement and post-decrement operators. (6 Marks)
Q.8 Answer the following questions.
A) What is a nested if-else statement? (2 Marks)
B) Write a program to generate an electricity bill based on unit consumption. (6 Marks)
Q.9 Answer the following questions.
A) Define an algorithm. (2 Marks)
B) Write a program to add two matrices. (6 Marks)
Q.10 Answer the following questions.
A) What is a flowchart? (2 Marks)
B) Write a program to arrange a given set of numbers in descending order. (6 Marks)
CTSD - Model Question Paper of 60 Marks for practice SET-1
Instructions:
1. This question paper
comprises of two sections. Write answer of both the sections in separate answer
books.
2. From Section I, Q.1 is
compulsory, attempt any THREE from Q. 2 to Q. 5
3. From Section II, Q.6
is compulsory, attempt any THREE from Q. 7 to Q. 10
4. Make suitable
assumptions wherever necessary.
5. Start new question on
new page.
Section-A (30 Marks)
Q.1 Objective Type Questions - (State, Define, List, etc) (6 Marks)
- Define typecasting in C.
- List the different data types in C.
- State the use of the ‘continue’ statement in loops.
Q.2 Answer the following questions.
A) Define a function in C. (2 Marks)
B) Explain the concept of call by reference with an example. (6 Marks)
Q.3 Answer the following questions.
C) What is a 1D array? (2 Marks)
D) Write a program to generate the first 10 natural numbers using a loop. (6 Marks)
Q.4 Answer the following questions.
A) Define a string in C. (2 Marks)
B) Write a program to find the length of a string. (6 Marks)
Q.5 Answer the following questions.
A) Explain recursion with an example. (2 Marks)
B) Write a program to find the area of a circle using a function. (6 Marks)
Section-B (30 Marks)
Q.6 Objective Type Questions - (State, Define, List, etc) (6 Marks)
- Define a loop.
- What is an array in C?
- State the difference between 'while' and 'do-while' loops.
Q.7 Answer the following questions.
A) List the different types of loops in C. (2 Marks)
B) Explain the use of the ‘for’ loop with an example. (6 Marks)
Q.8 Answer the following questions.
A) What is a switch case? (2 Marks)
B) Write a program to check whether a number is prime. (6 Marks)
Q.9 Answer the following questions.
A) Define nested loops. (2 Marks)
B) Write a program to generate a multiplication table for a given number using nested loops. (6 Marks)
Q.10 Answer the following questions.
A) What is a user-defined function? (2 Marks)
B) Write a program to calculate the factorial of a number using recursion. (6 Marks)
Saturday, August 31, 2024
Friday, August 25, 2023
MONGO DB
Wednesday, July 11, 2018
constants , final and autoload functions [BCA Sem-3]
include $class_name . '.php';
});
$obj = new MyClass1();
$obj2 = new MyClass2();
?>
echo "Want to load $name.\n";
throw new Exception("Unable to load $name.");
});
try {
$obj = new NonLoadableClass();
} catch (Exception $e) {
echo $e->getMessage(), "\n";
}
?>
';
';