Module-1
Explain the “Structure of a
computer” with a neat block diagram.
List and discuss in brief about input devices.List and discuss in brief about output devices.
Discuss the “Generations of Computers”
List and discuss in brief about Types of Computers.
What is Computer Network? List its advantages.
Discuss different "Network Topology" with neat diagrams.
Discuss the structure of C program with programming example.
What are C tokens? List and discuss in brief.
What are data types? List and discuss with range of values supported by them.
What are identifiers? Write rules for defining identifiers with examples for valid and invalid identifiers.
What are formatted I/O functions? Discuss with syntax and examples.
What is an operator? List the different operators supported by C language.
Discuss the following operators with examples.
Arithmetical operators,
Relational operators,
Logical operators,
Increment and Decrement operators,
Assignment operators,
conditional operator,
bitwise operators and
special operators.
What is precedence and associativity of an operator? Discuss with examples.
What is typeconversion? Discuss the implicit and explicit type conversion with examples.
Module-2
What are conditional (decision making or selection) statements?List and discuss with syntax, flowchart and programming examples.
simple if
if else
nested if
else if ladder
switch
What are loop statements? List and discuss with syntax, flowchart and programming examples.
while
do while
for
What are jump statements? List and discuss with syntax, flowchart and programming examples.
break
continue
goto
return
exit
Module-3
What is one-dimensional array? Discuss its declaration and initialization with syntax and examples.
What is two-dimensional array? Discuss its declaration and initialization with syntax and examples.
What is string? Discuss its declaration and initialization with syntax and examples.
Discuss string handling(manipulation) functions with syntax and examples.
strlen
strcpy
strncpy
strcat
strncat
strcmp
strncmp
strlwr
strupr
strrev
Module-4
Discuss the three elements of user defined functions with syntax and examples.
What are actual and formal parameters? Give examples.
Discuss the different categories of functions with programming example for each category.
category 1: Functions with no arguments and no return value.
category 2: Functions with no arguments and return value.
category 3: Functions with arguments and no return value.
category 4: Functions with arguments and no return value.
Discuss the parameter passing techniques with programming examples.
call by value (pass by value)
call by reference(call/pass by address)
Write function to swap two values. (call by reference)
What is recursive function? Give programming example.
List and discuss storage classes used in C.
automatic or local,
global,
static,
register
Module-5
What is structure?Write syntax and examples for defining structures, defining structure variables and initializing structure variables.
Discuss different ways to define structure variables with examples.
What is array of structure?Give programming example.
What is nested structure? Give programming example.
What is typedef?Explain with syntax and examples.
Write C program to read and display N students information (RNo, Name, Total and Grade) using arrays of structure.
What is pointer?Discuss its declaration and initialization with syntax and examples.
What is dynamic memory allocation?Discuss the different memory allocation functions with syntax and examples.
What are preprocessors?List and discuss three types of pre processors with examples.
Macro substitution directives.
File inclusion directives.
Compiler control directives.
What is dynamic memory allocation?Discuss the different memory allocation functions with syntax and examples.
What are preprocessors?List and discuss three types of pre processors with examples.
Macro substitution directives.
File inclusion directives.
Compiler control directives.
No comments:
Post a Comment