Sei sulla pagina 1di 14

c program of rectangle

#include<graphics.h> #include<conio.h> int main() { int gd = DETECT, gm; initgraph(&gd,&gm,"C:\\TC\\BGI"); rectangle(100,100,200,200); getch(); closegraph(); return 0; }

rectangle program. Output of program:

M.Sc. (IT) (Semester - 3rd)


C # WITH . NET (M.Sc. (IT) - 301)
Time: 03 Hours Maximum Marks: 75

Instruction to Candidates: 1) Section - A is compulsory. 2) Attempt any Nine questions from Section - B. Section - A (15 x 2 = 30) Q1) a) What is unboxing? b) What are access modifiers? Name the access modifiers used in C#. c) Explain the use of enum type values with an example. d) Define an exception. e) Explain the switch statement. f) Differentiate between an array of Array List class and an array of Array class.

g) What is method overloading? h) Why do we use console class? i) What are delegate methods? j) Give an example of a regular expression? k) Why do we require type conversion operations? l) Give any two differences between a class and struct. m) What is multiple inheritance? n) Why is C# called type safe language? o) Briefly explain namespace.

Section - B (9 x 5 = 45) Q2) Describe operator precedence and associativity of C #. Q3) State the features of C #. Q4) What is structure? What are its uses? How structure can be nested? Q5) Write a program in C# to explain the concept of method overloading? Q6) How does C# differ from Java? Q7) What is an indexer? Give an example of typical use of indexer. Q8) Write a program to convert a two dimensional matrix into one dimensional row major matrix. Q9) Explain in detail the logical operators available in C#. Q10) Write a program to illustrate overloading of the unary operator + +. Q11) What are interfaces? What are their significances? How interface can be used in C#?

Q12) Explain the differences between constructor and destructors. Q13) Write a program to illustrate multilevel inheritance with virtual methods.

M.Sc. (IT) (Semester - 3rd)


C # WITH . NET (M.Sc. (IT) - 301)
Time : 03 Hours Maximum Marks : 75

Instruction to Candidates: 1) Section - A is compulsory. 2) Attempt any Nine questions from Section - B. Section - A (15 x 2 = 30) Q1) a) What is boxing? b) What is meant by unsafe mode? c) Explain the use of enum type values with an example. d) What is try and catch block? e) What are special and bitwise operator? f) Differentiate between an array of Array List class and an array of Array class. g) What is method overloading?

h) Why do we use console class? i) Define an interface. j) What is a regular expression? k) Why do we require type conversion operations? l) Give any two differences between a class and struct. m) What is multiple inheritance? n) What is .NET framework? o) Briefly explain namespace.

Section - B (9 x 5 = 45) Q2) Explain with example the use of break and continue statements? Q3) How do you invoke a method? Illustrate with an example. Q4) Describe nesting of structure with an example. Q5) Write a program in C# to explain the concept of method overloading? Q6) How does C# differ from Java? Q7) Write a program in C# to explain the concept of creating your own exception class? Q8) Write a program to convert a two dimensional matrix into one dimensional row major matrix. Q9) Explain in detail the logical operators used in C#. Q10) Write a program to illustrate overloading of the unary operator + +. Q11) What are the situations when delegates are preferred? Q12) Explain the differences between constructor and destructors.

Q13) Write a program to illustrate the concept of boxing and unboxing.

M.Sc. HNT-102 PRINCIPLES OF BASIC ELECTRONICS


Time: 03 Hours Maximum Marks: 75

Instruction to Candidates: 1) Section - A is compulsory. 2) Attempt any Nine questions from Section - B. Section - A (15 x 2 = 30) Q1) a) Realize a full adder using half adder b) What do you understand by (i) Depletion region (ii) Potential barrier c) Why is an ordinary junction transistor called Bipolar Junction transistor? d) The base of a transistor is highly doped and very thin. Why? e) Draw a 4X1 multiplier circuit f) Give the symbolic diagrams of PNP and NPN transistor g) Define stability factor

h) Draw the logic diagram of clocked D flip flop i) What do you understand by hole in a semiconductor? j) What do you mean by even parity? k) Differentiate between EPROM and EEPROM l) Define peak inverse voltage m) What do you mean by junction capacitance? n) Define active region and saturation region o) What is avalanche breakdown?

Section - B (9 x 5 = 45) Q2) What are universal gates? Discuss the universal property of NAND and NOR gate. Q3) Distinguish between (i) N type and P type semiconductor (ii) Extrinsic and Intrinsic semiconductor. Q4) Sketch the input and output characteristics of Common Base transistor. Q5) What is race condition? How can it be avoided? Q6) Explain the V I characteristics of PN junction diode with proper diagram Q7) Calculate the voltage gain, current gain, output and input impedance of Common emitter amplifier. Q8) Discuss the working, circuit and timing diagram of 3 bit asynchronous binary counter. Q9) Explain the working and principle of half wave rectifier. Calculate its output dc voltage and load current. Q10) Define operating point of a transistor. What do you understand by

stabilization of operating point? Q11) Implement a full adder using NOR gate only. Q12) Discuss the working of a simple PNP transistor. Q13) Differentiate between conductors, semiconductors and insulators based upon their energy band diagrams

M.Sc. HNT-102 PRINCIPLES OF BASIC ELECTRONICS


Time: 03 Hours Maximum Marks: 75

Instruction to Candidates: 1) Section - A is compulsory. 2) Attempt any Nine questions from Section - B. Section - A (15 x 2 = 30) Q1) a) What are universal gates? b) What do you understand by doping? c) Why is an ordinary junction transistor called Bipolar Junction transistor? d) The base of a transistor is highly doped and very thin. Why? e) What is the full form of T and D flip flop? f) Give the names of transistor terminals. g) Define stability factor h) What is a flip flop? i) What do you understand by hole in a semiconductor? j) Give the truth table of half adder. k) Differentiate between RAM and ROM

l) Define peak inverse voltage m) What do you mean by junction capacitance? n) Define operating of a transistor. o) What is Zener breakdown?

Section - B (9 x 5 = 45) Q2) What is JK flip flop? How it is different from RS flip flop? Explain the working of master slave J K flip flop. Q3) Distinguish between (i) N type and P type semiconductor (ii) Extrinsic and Intrinsic semiconductor. Q4) Sketch the input and output characteristics of Common Emitter transistor. Q5) What is race condition? How can it be avoided? Q6) Explain the V I characteristics of PN junction diode with proper diagram Q7) Calculate the voltage gain, current gain, output and input impedance of Common emitter transistor amplifier. Q8) Explain the working of various shift registers with their block diagrams Q9) Explain the working and principle of full wave rectifier. Calculate its output dc voltage and load current. Q10) Define operating point of a transistor. What do you understand by stabilization of operating point? Q11) Explain the designing of full adder and full subtractor. Q12) Discuss the working of a simple PNP transistor. Q13) Write a short note on: (a) Adders

(b) DEMUX (c) Code Converters

B.Sc. (IT) (Semester - 6th)


C# WITH.NET (B.Sc. (IT) - 603)
Time : 03 Hours Maximum Marks : 75

Instruction to Candidates: 1) Section - A is compulsory. 2) Attempt any Nine questions from Section - B. Section - A (15 x 2 = 30) Q1) a) How does foreach loop differ from other loops? b) What are access modifiers? Name the access modifiers used in C#. c) Explain the use of enum type values with an example. d) Define an exception. e) Explain the switch statement. f) Write the syntax to declare an array in C#. g) What is method overloading? h) Why do we use console class? i) How do we implement interfaces? j) Give an example of a regular expression? k) What is meant by type conversion? l) Give any two differences between a class and struct. m) What is multiple inheritance?

n) What are special and bitwise operators? o) Briefly explain namespace.

Section - B (9 x 5 = 45) Q2) Describe operator precedence and associativity of C #. Q3) What are two different categories of data types? Distinguish between them. Q4) What is structure? What are its uses? How structure can be nested? Q5) Describe the definition of an array class and array list class? Q6) How does C# differ from Java? Q7) Discuss the different types of loop statement used in C#. Illustrate with examples. Q8) Write a program using enumeration displaying days of the week. Q9) How we define a class and then adding: variables, methods, modifiers and further accessing class members? Q10) Write a program to illustrate overloading of the unary operator + +. Q11) What are interfaces? What are their significances? How interface can be used in C#? Q12) Explain the differences between constructor and destructors. Q13) Write about checked and unchecked operators.

B.Sc. (IT) (Semester - 6th)


C# WITH.NET (B.Sc. (IT) - 603)
Time: 03 Hours Maximum Marks : 75

Instruction to Candidates: 1) Section - A is compulsory. 2) Attempt any Nine questions from Section - B. Section - A (15 x 2 = 30) Q1) a) How does C# differ from Java? Give two reasons. b) What are modifiers? c) Distinguish between nested class and abstract class. d) Define exception handling. e) What is the function of sizeof operator? f) Write the syntax to declare an array in C#. g) What is method overloading? h) Why do we use console class? i) How do we implement interfaces? j) Give an example of a regular expression? k) What is meant by type conversion? l) Describe the definition of nesting of classes. m) What is polymorphism? n) What are special and bitwise operators? o) Define boxing.

Section - B (9 x 5 = 45) Q2) How we initialize & declare variable in C#. Give example. Q3) What do you mean by typecasting? Give possible methods used for type conversion. Q4) Explain with syntax the working of any five String handling Methods. Q5) Compare the features of C# and Java. How do they differ from each other? Q6) What are the situations when delegates are preferred? Q7) Discuss the different types of loop statement used in C#. Illustrate with examples. Q8) Distinguish between overloaded constructor and static constructor. Q9) Explain various techniques of inheritance available with the help of an example. Q10) Write a program to illustrate overloading of the unary operator + +. Q11) Differentiate between classes and structures. Q12) Write a program using enumeration displaying days of the week. Q13) Explain all blocks associated with Exception Handling.

Potrebbero piacerti anche