int main(void) { int sum=0,n=0; printf("\n how many numbers do u want to add);
scanf("%d",&n);
for(int i=0;i
{
printf("\n Enter a number"); scanf("%d",&i);
sum=sum+i;
} printf("\nSum=%d",sum); return 0; }
1. Define Computer?
2. What are the basic operations of Computer?
3. List out any 5 characteristics of Computer?
4. What is an Information Technology?
5. Who is the Father of Computer?
6. What are the Major Components of I and II generation Computers?
8. Define CPU and ALU?
9. Expand SMPS, RAM, ROM, BIOS.
10. Define Bit, Byte, and Nibble?
11.Define an Integrated Circuit
12.What are the Applications of computers?
13.Define MSB and LSB.
14. Define Binary Number System.
15. Define Decimal Number System.
16. Define Octal Number System.
17. Define Hexadecimal Number System.
18.Define 1’s complement and 2’s Complement
19.Convert the Following binary Number to Decimal
1) 111001 2) 00101 3) 101110 4) 110010
20. Convert the following Hexadecimal to Decimal
1) 93A 2) 6BA 3) 3B9 4) 28D
21. Convert the following Octal and Decimal.
1) 773 2) 7373 3) 1267 5) 6347
22. Convert the following Decimal to Hexadecimal.
1) 7793 2) 2389 3) 2079 4) 676
23. Convert binary real number to its equivalent binary number.
24. Differentiate between primary and secondary memory
25. What are the five basic operations of computer? 26. Define Software and its 2 types?
Part B
1. (a)Explain about the Block Diagram of the Computer in Detail. (8)
(b) What are the characteristics of Computer? (8)
2. Explain in detail About the Components of Computer System. (16)
3. List out the Features of al generations of computer with their advantages and
disadvantages. (16)
4. Write a note on classification of Computers. (16)
5. Explain the various applications of Computer in detail. (16)
6.(a) Convert the Decimal Number 4019 to Hexadecimal Number (8)
(b) Convert the Decimal Number 250 to Octal Number
7. (a) Subtract the binary number 100 from 001 using 1’s Complement Method (4)
(b) Convert the Decimal Fraction 250.3125 to Binary Number (8)
(c) Subtract the hexadecimal number 0B from C3 (2)
(d) Convert (5C2 )16 to Decimal Number (2)
8.(a)Convert Hexadecimal Number AC5.4D to Octal Number (8)
(b)Convert the Binary Number 11110.11011 to Hexadecimal Number (8)
9.(a)Convert the Hexadecimal Number 5C8 to Binary Number (8)
(b)Convert the Octal Number 540 to Binary Number (8)
10. Describe the evolution of computers.
11. Explain in detail about Storage Devices. (16)
12. (a)Explain briefly about Characteristics of Storage. (8)
(b)Explain about Secondary Storage Devices. (8)
13. Explain briefly about Magnetic Storage Devices. (16)
14. Explain briefly about Optical storage Devices. (16)
15. Explain about Input devices in detail? (16)
16. List out the Types of Computer Monitors and Explain in detail. (16)
17.List out the key hardware and software technologies used in building the computer of each of the five generations.
Unit-II
Part A
Define CPU.
Define Control Unit and ALU.
Define Primary Storage and its Components.
Define Dynamic Memory.
Define Secondary
What are the types of Input Devices?
Define about the Monitors and its types
Define Hardware and Software.
What are the types of Software?
10.What is the Application of Software?
11.Define operating System and its Functions.
12.Define Compiler, Interpreter and Assembler.
13.What are the functions of System utilities?
14.What are the types of Operating System?
15.What are the Categories of Operating System?
16.Define Application Program.
17.What are the types involved in Graphics File Formats?
18.What is called Protocol?
19. Define LAN, MAN, WAN.
20.List out any four services provided by Internet.
21.Distinguish between compilers and interpreters.
Part B
1. Define Hardware and Software and its types. (16)
2.What is application software? Describe briefly some of the most commonly known types of application
software.(16)
3. Explain the steps involved in software development. (16)
4. Name some of the basic services provided by the internet. Explain how each of these services helps the internet users. (16)
5. Describe the evolution of internet in detail.(16)
6.Explain about the system software and its importance.
7.Explain the relationship among the hardware, system software, application software and
the users of a computer system.
8.Describe briefly any six application software.
Unit III
1. Define Program.
2. Define Algorithm.
3. How can you measure the quality of Algorithm?
4. What is a decision Table?
5. What is a Flowchart?
6. What is need for flowchart symbols?
7. What is “Pseudo code”?
8. What is Sequence Logic?
9. What is Selection Logic?
10. What is Iteration Logic?
11. Draw a flow chart to find maximum of the given three numbers.
12. State the uses of spread sheet.
13.Enumerate various steps involved in software development.
14.Write the advantages of flow chart.
15.What are te basic logic structure used in writing structured program
16.What are the characteristics necessary for a sequence of instructions to qualify as an
algorithm.
17.What is a CAD system? List out its typical users.
18.Draw a flow chart to find the sum of n natural numbers
Part B
1.Describe briefly about Flowchart and its types. (16)
2. (a)Describe briefly about the advantages of Flowcharts. (8)
(b)Describe Pseudo code with its Advantages and Disadvantages. (8)
3.a)Describe the features of word processor package in detail.(8).
b)Describe the main feature of graphic packages(8)
4.a)What is spreadsheet packages? draw a sample spread sheet for any application.(8)
b)What is a graphic software? Describe the key features supported by modern graphics
packages.(8)
5.What are the various guidelines to be followed while drawing a flowchart? Discuss the
advantage and limitation of flow charting.(16)
6. (i) Witth a neat flow chart explain the division algorithm(8)
(ii) Explain the various steps involved in the software development.(8)
7. (i)What are te various guidelines to be followed while drawing a flow chart?Discuss the advantages and
limitations of flow charting(8)
(ii) What do you mean by pseudo code? Write the pseudo code to add up all even numbers between 0
and 100.(8)
8. (i)Draw a flow chart to find a factorial of a given number.(6)
(ii) Write algorithm to find te sum of the following series.
1+5+9+13+….20 (8)
9.Write the algorithm, draw the flowchart, and write the pseudocode for the following.
1.To find the area of a rectangle
2.To find the area of a circle
To find the circumference of a circle
To find the centigrade value for the corresponding Farenheit value
To find the Farenheit value for the corresponding centigrade value
To find the sum and product of two given values
To find whether the given year is leap year or not
To find the largest of two numbers
To find the largest of three numbers
To find whether the given no is positive or not
To find whether the given no is odd or even
To find the factorial of a given no
To find the sum of all the digits in a given no
To find whether the given no is Armstrong or not
To find the reverse of a given no
To calculate 1+2+3+……n
To calculate 12+22+32+….+n2
Unit IV & V
What are Keywords?
What is an Operator and Operand?
What is Ternary Operator?
List out any 5 Features of “C” Applications.
What are the Characteristics of Program?
Define C Tokens and its types.
Define Identifiers and Keywords.
What are the Data Types and its types?
What is a Variable?
Define Constants and its Types.
Define Operators and its types.
What are the types involved in I/O Operators?
Define Decision-making and its types.
Define Branching and its types.
Define Looping and its Types
Define Arrays and also its types.
List out any 10 String Functions in a “C” Compilers.
Define Function and its types.
What are the Elements of User-Defined Functions?
Define Parameters and its types.
What is called Recursion
List out any 10 Library Functions of C Header Files.
Define Structures.
Define Union.
Define Pointers.
What are the Features of Pointers?
What are the Advantages of Pointers?
Define Null Pointer.
Define Dynamic Memory Allocation (DMA).
What are the Advantages of DMA?
Define “C” Preprocessor.
Define Macro Substitutions.
What are the rules for defining Preprocessor?
Specify the Header files in “C” language.
What re the Preprocessor Directives?
What is Global Variable?
What is Conversion Specification?
What is the difference between Library Functions and User-Defined Function?
39.If a=50,b=10 and c=20 evaluate the complex expression
c+= (a>0 && a<=10)? ++a : a/b
40.Give the meaning of the following functions:
a) floor(d)
b)fmod(d1,d2)
c) pow(d1,d2)
d) ceil(d)
41.Write the output of the program
main()
{
int i=0,x=0;
while(i<20)
{
If(i%5==0)
{
x+=i;
printf(“%d”,x);
}
i++;
}
printf(“%d”,x);
}
42. Define enumerated data type.
43.Differentiate between relational & logical expression
44.State the meaning of the following keywords in C: auto, double, int long
45.Differentiate between local and global variable.
46What is the use of malloc() and free().
47.Give the syntax of conditional operator in C.
48.Differentiate between break and continue statement in C.
49.Differentiate between union and structure in C.
50.Define pointer.
51.Differentiate between getchar() and scanf() in reading a string.
52.What are the character test functions?
53.what is the difference between ‘a’ and “a”
Part B
1. Describe briefly about the Structure of a “C” Program, and explain each section
Briefly. (16)
2. (a) Describe briefly about the Decision Making and its Types. (8)
(b)Describe briefly about the Branching and its types. (8)
3. Describe briefly about the Looping and its types, with an example program. (16)
4. Describe about the Switch Statement and its types, with example programs. (16)
5. Describe briefly about the Arrays and its Types. (16)
6. Explain in briefly about pointers with example. (16)
7. Give Comparison between call by value and call by reference with an example Program (16)
8. (a) Explain in detail about Preprocessor (8)
(b) Explain in detail about the user define functions. (8)
9. (a)Differentiate between operator & operand .Describe the various types of operator(8)
(b)Compare while and do-while with example(8)
10.(a)What are the various operator supported by c with example(8)
(b)Describe the features of primary datatypes and user defined data type(8)
11.Write a C program to find the sum of two numbers.
12. Write a C program to find the average of three float numbers.
13. Write a C program to swap two numbers using third variable.
14. Write a C program to swap two numbers without using temporary variable.
15. Write a C program to find the area and circumference of a circle.
16. Write a C program to find the biggest of two numbers using ternary operator.
17. Write a C program to convert centigrade to Fahrenheit.
18. Write a C program to convert Fahrenheit to centigrade.
19. Write a C program to calculate the simple interest.
20. Write a C program to find the area of a rectangle.
21. Write a C program to find Fibonacci series.
22. Write a C program to verify given number is palindrome or not
23. Write a C program to compute factorial of a number.
24.(i)Describe the different types of operators available in C with example.(12)
(ii)What is a preprocessor in C language with example.(4)
25. (i) Write a C program for factorial for a given number(8)
(ii)Describe the features of primary data types and user defined data type in C.(8)
26. Explain the storage classes with example.(16)
27. Write in detail about decision making Statements with example.(16)