Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Question Bank Final

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 44

Question Bank

BCAH 103
Essential of Information Technology
UNIT 1
Long Answer Question:
1. Describe the computer as a system and various hardware componenets of Computer.
2. What is a Computer? Explain it with the context of its characteristics.
3. Explain Various types of Computers.
4. Explain the Basic Computer Application. Also explain various fuctional units of computer.
5. Define Memory and its types. Also describe memory as a System operates in a computer.
6. What is a Primary memory, explain its functioning, its capacity and types of Primary
memory.
7. Why secondary storage are needed also explain types of secondary Storage devices.
8. Why Input devices are require, also explain its types.
9. Types and uses of Output devices
10. What is a software, how program is related to software?
11. Types of Software.
12. Programming languages differ on the basis of there generation, explain it?
13. What makes High level languages better then lower level. What are the advantages of HLL.
14. Explain and differentiate between Compiler and Interpreter.
15. Explain the History of computer.
16. Explain the generation of computer.
17. Explain the components of computer in details.
18. Why memory is essential for computer, also classify various types of it.
19. What is the function of software in a computer system. Descibe various types of it.
20. What makes Operating System, the core of the computer system.
21. Describes briefly the basic concept of information technology?
22. What is information? What are the characteristics? Which are to be aimed at a presentation of
information?
23. Distinguish b/w data, information, knowledge and belief?

24. Classify the different generation of computer on the basis of technology used, processing
power and storage capacity of computer system?
25. Discuss the feature of micro computer, mini computer and super computer also main frame
computer?
26. Discuss the various types of I/P and O/P devices and explain the working of each of them?
27. Write a short note on cache memory? Differentiate it with primary memory.
28. Difference between
(a) Primary and secondary memory
(b) Semiconductor , magnetic and optical memory
(c) RAM and ROM
(d) Cache and RAM
(e) Compiler and interpreter
(f) Hardware and software
29. Explain the organization of file system. What are the operations that can be performed on file system
and explain access permission of a file?
30. What is multiprogramming, Multi-processing and multi-tasking?

Short Answer Question:


1. Define system software.
2. Define compiler and interpreter.
3. Define loader.
4. What is a language?
5. Explain software with their types?
6. What is application software?
7. Explain speed and accuracy characteristics of computer
8. Write a short note on mouse.
9. What are the five basic operation performed by any computer system.
10. What is flash memory?
11. What are peripheral devices?
12. What are point and draw devices?
13. What is communication software?
14. What is entertainment software?
15. What is virtual memory? Why is it so called?
16. What is Non Volatile Memory?
17. What is multiprogramming?
18. Write down the full form
a. EEPROM
b. UVROM
c. LCD

d.
e.
f.
g.
h.

BCR
MICR
OCR
OMR
DVD

Very Short Answer Question OR one Line Answer.


1) What is a computer?
Ans A computer is a programmable, multiuse machine that accepts data, and processes or
manipulates it into information.
2) What are the basic parts of the computer?
Ans 1. The VDU or visual display unit
2. The computer unit
3. The keyboard
4. The mouse
5. The printer
3) What is volatile memory?
Ans A volatile memory is the memory, information stored in it is vanished as soon as power is
turned off.
4) What is non-volatile memory?
Ans Non-volatile memory, nonvolatile memory, NVM or non-volatile storage, in the most basic
sense, is computer memory that can retain the stored information even when not powered.
5) What is memory?
Ans Memory is an essential component of a digital computer. Its function is to store information.
It stores programs, data, results, or any other kind of information. Memories are faster, lighter
and consume less power as magnetic memories. But it is more costly.
6) List the types of computer
Ans Types: Digital Computer
Analog Computer
Hybrid Computers:- Computers which combines the feature
7) How many generations are present at this time?
Ans There are the five generations of computer.

8) What is i/p device?


Ans For data processing data needs to be entered into the computer through input devices. Thus
input devices are used to input data and instructions into a form that computer can process.
Similarly, to communicate the result of processed data, output devices are required.
9. What is an output device?
Ans Output device translate the information processed by the computer into a human readable
form. An output unit performs the reverse operation of that of an input unit.
10) What is the purpose of ALU unit in CPU ?
Ans The ALU perform arithmetic and logic operations and control the speed of those operations.
It is that part of CPU where actual data processing takes place.
The CPU is the brain of the computer. Its primary
function is to execute programs. The CPU follows the instructions of the software to manipulate
data into information.
11) List the different types of scanner.
Ans Types: Bar code Readers
Magnetic Ink Character reader
Optical Mark Reader
Optical character readers
12) List the different input devices.
Ans Types: Keyboards
Mouse
Trackball
Joystick
Light Pen
Digitizing Tablet
Scanners
13) List the different output devices.
Ans Monitors or Visual Display Units (VDUs)
17) What is RAM
Ans It is a read and write memory of a computer. It is accessible to users. The user can write
information in to RAM and read information from it.
18) How many bits forms 1 byte?

Ans 8 bits
19) What is EEPROM?
Ans This is electrically erasable programmable read only memory. It can be both programmed
and erased
20) When we use the secondary memory?
Ans The secondary memory is employed as the auxiliary memory which is used to store
information at a lower cost per bit and is permanently memory.
21) When the first generation introdced?
Ans 1942-1955
22) At which time second generation developed.
Ans 1955-1964
23) In which year third generation introduces.
Ans 1964-1975
24) What is printer?
Ans A device that prints text or illustrations on paper.
25) Define analog computer.
Ans Analog computers recognize data as a continuous measurement of a physical property.
26) Give the definition of digital computer.
Ans The states of a digital computer typically involve binary digits which may take the form of
the presence or absence of magnetic markers in a storage medium, on-off switches or relays.
27) Define bit.
Ans A bit is the basic unit of information in computing and telecommunications; it is the amount
of information stored by a digital device or other physical system that exists in one of two
possible distinct states.
28) Which was the electronic component used in first generation computer?
Ans Vacuum tubes
29) Give the name of electronic component that was used in development of the second
generation of computer.
Ans Transistors

30) From which electronic component the third generation computers was developed?
Ans ICs
31) What is the meaning of PROM?
Ans This is programmable read only memory. User can program it according to their needs.
32) What is EEPROM?
Ans this is electrically erasable programmable read only memory. It can be both programmed
and erased.
33) What is EPROM?
Ans an EPROM is an erasable programmable read only memory. User can program its contents
more than once.
34. Define impact and non-impact printer?
Ans Impact- Refers to a class of printers that work by banging a head or needle against an ink
ribbon to make a mark on the paper. This includes dot-matrix printers, daisy-wheel printers, and
line printers.
Non-Impact:- A type of printer that does not operate by striking a head against a ribbon.
35. Define Algorithm?
Ans Algorithm- An algorithm is an effective method expressed as a finite list of well-defined
instructions for calculating a function. Algorithms are used for calculation, data processing, and
automated reasoning. In simple words an algorithm is a step-by-step procedure for calculations.

36. What is hardware? Enlist hardware components?


Ans Hardware, in the computer world, refers to the physical components that make up a
computer system.
37. Define flowchart, draw any two flowchart symbols?
Ans Flowchart- A flowchart is a type of diagram that represents an algorithm or process,
showing the steps as boxes of various kinds, and their order by connecting these with arrows.
This diagrammatic representation can give a step-by-step solution to a given problem.
Symbols:
Process

Show a Process or action step. This is the most common


symbol in both process flowcharts and business process
maps.

Terminator
Terminators show the start and stop points in a process.
(Terminal Point, When used as a Start symbol, terminators depict a

Oval)

trigger action that sets the process flow into motion.

38. Explain central processing unit.


Ans The CPU is the brain of the computer. Its primary function is to execute programs. The CPU
follows the instructions of the software to manipulate data into information.
39. Explain first generation of computer.
Ans First generation computer used electronic valves. They used assembly language for
programming and fixed point arithmetic.
40. Explain second generation of computer.
Ans Second generation computer were manufactured using transistors instead of vacuum tubes.
Due to the properties of transistors, these computers were more powerful, more reliable, less
expensive, smaller, and cooler to operate than the first generation computers.
41. Explain third generation of computer.
Ans In third generation computers ICs were used. Semi conductor memories were used as
primary memories.
42. Explain fourth generation of computer.
Ans VLSI chips are used by the computers of this generation. This technology introduces the
microprocessors.
43. Explain fifth generation of computer.
Ans The fifth generation computers are under development stage. These computers are using
ULSI (Ultra Large Scale Integration) chips.
44. Explain diligence characteristics of computer
Ans Unlike human beings, a computer is free from monotony, tiredness and lack of
concentration. It can continuously work for hours without creating any error. If ten million
calculations have to be performed, a computer will perform the last one with exactly the same
accuracy and speed as the first one
45. Explain versatility characteristics of computer
Ans Versatility is one of the most wonderful things about a computer. One moment it is
preparing results of an examination, next moment it is busy preparing electricity bills, and in
between, it may be helping in an office work. In brief, a computer is capable of performing
almost any task
46. Explain analog computer.

Ans analog computers recognize data sa a continuous measurement of a physical property. For
example, a clock is an analog device in which the dials move continuously around the numbers.
In general, humans experience the world analogically. However, most analog events can be
simulated digitally.
47. Explain digital computer.
Ans Computers that are in use today are digital computers. They manipulate numbers. Actually
the word digital describes any system based on discontinuous data or events.
48. Explain hybrid computer.
Ans Computers which combines the features of both analog and digital computers are called
hybrid computers. These types of computers are used in missile guide system, space crafts and
other scientific applications
49. Explain micro computer.
Ans A micro computer is a low cost, small, digital computer
50. Explain mini computer.
Ans Mini computers are also known as midrange computers as their cost and computing powers
lie in the middle of micro computers and mainframe computers. Mini computers are used for
multi user and interactive applications in universities, research organizations, banks, government
organizations and industries etc.
51. Explain mainframe computer.
Ans :- Mainframe computers are more powerful and faster computers. They are general purpose
computers with a large area of applications. Such machines are typically operated by
professional programmers and technicians.
52. What is primary memory?
Ans The CPU works hand in hand with main memory to carry out processing. The
semiconductor memory is employed as the main memory.
53. What is secondary memory?
Ans The secondary memory is employed as the auxiliary memory which is used to store
information at a lower cost per bit and is permanently memory.
54. Describe RAM.
Ans This is random access memory and also known as internal or main memory. It is a read and
writes memory of a computer. It is accessible to users.
55. Describe ROM.

Ans This is non-volatile memory. Its contents are retained even if the power supply goes off.
ROM is read only memory. ROM is used for permanent storage of information.
56. Enlist functions of operating system.
Ans At the simplest level, an operating system does two things:
It manages the hardware and software resources of the system. In a desktop computer, these
resources include such things as the processor, memory, disk space, etc.
57. What is operating system?
Ans An operating system (OS) is a set of programs that manages computer hardware resources,
and provides common services for application software. The operating system is the most
important type of system software in a computer system. Without an operating system, a user
cannot run an application program on their computer.
58. Why there is need of operating system.
Ans Without an operating system, a user cannot run an application program on their computer,
unless the application program is self booting.
59) Write a short note on Keyboard.
Ans A keyboard is a device that converts letters, numbers, and other characters into electrical
signals that are machine readable by the computers processor.

Objective Type:1. Which of the following is NOT one of the four major data processing functions of a computer?
A. gathering data
B. processing data into information
C. analyzing the data or information
D. storing the data or information
Answer: C
2. ____________ is the science that attempts to produce machines that display the same type of
intelligence that humans do.
A. Nanoscience
B. Nanotechnology
C. Simulation
D. Artificial intelligence (AI)
Answer: D
3. ____________ is data that has been organized or presented in a meaningful fashion.

A. A process
Answer: D

B. Software

C. Storage

D. Information

4. The name for the way that computers manipulate data into information is called:
A. programming.
B. processing.
C. storing.
D. organizing.
Answer: B
5. Computers gather data, which means that they allow users to ____________ data.
A. Present
B. input
C. Output
D. store
Answer: B
6. After a picture has been taken with a digital camera and processed appropriately, the actual
print of the picture is considered:
A. data.
B. output.
C. input.
D. the process.
Answer: B
7. Computers use the ____________ language to process data.
A. Processing
B. kilobyte
C. Binary
D. representational
Answer: C
8. Computers process data into information by working exclusively with:
A. multimedia.
B. words.
C. characters.
Answer: D

D. numbers.

9. In the binary language each letter of the alphabet, each number and each special character is
made up of a unique combination of:
A. eight bytes.
B. eight kilobytes.
C. eight characters.
D. eight bits.
Answer: D
10. The term bit is short for:
A. megabyte.
C. binary digit.
Answer: C
11. A string of eight 0s and 1s is called a:
A. megabyte.
B. byte.
Answer: B

B. binary language.
D. binary number.

C. kilobyte.

D. gigabyte.

12. A ____________ is approximately one billion bytes.


A. Kilobyte
B. bit
C. Gigabyte
Answer: C

D. megabyte

13. A ____________ is approximately a million bytes.


A. Gigabyte
B. kilobyte
C. Megabyte
Answer: C

D. terabyte

14. The components that process data are located in the:


A. input devices.
B. output devices.
C. system unit.
D. storage component.
Answer: C
15. All of the following are examples of input devices EXCEPT a:
A. scanner.
B. mouse.
C. keyboard.
Answer: D
16. Which of the following is an example of an input device?
A. Scanner
B. speaker
C. CD
Answer: A

D. printer.

D. printer

17. All of the following are examples of storage devices EXCEPT:


A. hard disk drives.
B. printers.
C. floppy disk drives.
Answer: B

D. CD drives.

18. The ____________, also called the brain of the computer, is responsible for processing data.
A. Motherboard
B. memory
C. RAM
D. central processing unit (CPU)
Answer: D
19. The CPU and memory are located on the:
A. expansion board.
B. motherboard.
C. storage device.
D. output device.
Answer: B
20. The PC (personal computer) and the Apple Macintosh are examples of two different:

A. platforms.
Answer: A

B. applications.

C. programs.

D. storage devices.

21. Smaller and less expensive PC-based servers are replacing ____________ in many
businesses.
A. Supercomputers
B. clients
C. Laptops
D. mainframes
Answer: D
22. ____________ are specially designed computers that perform complex calculations
extremely rapidly.
A. Servers
B. Supercomputers
C. Laptops
D. Mainframes
Answer: B
23. ____________ is the science revolving around the use of nanostructures to build devices on
an extremely small scale.
A. Nanotechnology
B. Micro-technology
C. Computer forensics
D. Artificial intelligence
Answer: A
24. ____________ bits equal one byte.
A. Eight
B. Two
C. One thousand
Answer: A

D. One million

25. The binary language consists of ____________ digit(s).


A. 8
B. 2
C. 1,000
Answer: B

D. 1

26. A byte can hold one ____________ of data.


A. Bit
B. binary digit
C. Character
D. kilobyte
Answer: C
27. The steps and tasks needed to process data, such as responses to questions or clicking an
icon, are called:
A. instructions.
B. the operating system.
C. application software.
D. the system unit.
Answer: A

28. The metal or plastic case that holds all the physical parts of the computer is the:
A. system unit.
B. CPU.
C. mainframe.
D. platform.
Answer: A

29. ____________ is any part of the computer that you can physically touch.
A. Hardware
B. A device
C. A peripheral
D. An application
Answer: A
30. Word processing, spreadsheet, and photo-editing are examples of:
A. application software.
B. system software.
C. operating system software.
D. platform software.
Answer: A
31. ____________ is a set of computer programs used on a computer to help perform tasks.
A. An instruction
B. Software
C. Memory
D. A processor
Answer: B
32. System software is the set of programs that enables your computers hardware devices and
____________ software to work together.
A. Management
B. processing
C. Utility
D. application
Answer: D
33. ____________ controls the way in which the computer system functions and provides a
means by which users can interact with the computer.
A. The platform
B. The operating system
C. Application software
D. The motherboard
Answer: B
34. The operating system is the most common type of ____________ software.
A. Communication
B. application
C. System
D. word-processing software
Answer: C
35. The two broad categories of software are:
A. word processing and spreadsheet.
C. Windows and Mac OS.
Answer: D

Fill in the blanks:-

B. transaction and application.


D. system and application.

1. ____________are the fastest and most expensive computers.


Answer: Supercomputers
2. A ____________ is approximately 1,024 bytes.
Answer: kilobyte
3. Input devices are used to provide the steps and tasks the computer needs to process data, and
these steps and tasks are called ____________.
Answer: instructions
4. A computer gathers data, processes it, outputs the data or information, and ____________ the
data or information.
Answer: stores
5. The binary language consists of two digits: ____________ and ____________.
Answer: 0 and 1
6. A string of ____________ 0s and 1s is called a byte.
Answer: eight (8)
7. The devices you use to enter data into a computer system are known as ____________
devices.
Answer: input
8. The devices on a computer system that let you see the processed information are known as
____________ devices.
Answer: output
9. ____________ are computers that excel at executing many different computer programs at the
same time.
Answer: Mainframes
10. Hard disk drives and CD drives are examples of ____________ devices.
Answer: storage
11. ____________ are computers that support hundreds or thousands of users simultaneously.
Answer: Mainframes
12. Surgeons are using ____________ to guide robots to perform delicate surgery.
Answer: computers
13. The ____________ is the program that manages the hardware of the computer system,
including the CPU, memory, storage devices, and input/output devices.
Answer: operating system
14. ____________software helps you carry out tasks, such as typing a document or creating a
spreadsheet.
Answer: Application
15. ____________ is the set of computer instructions or programs that enables the hardware to
perform different tasks.
Answer: Software

16. You would use ____________ software to create spreadsheets, type documents, and edit
photos.
Answer: application
True and False
1. Data can be a number, a word, a picture, or a sound.
Answer: True
2. Strictly defined, a computer is a data processing device.
Answer: True
3. The discrepancy between the have and have-not with regard to computer technology is
commonly referred to as the digital society.
Answer: False (digital divide)
4. One of the benefits of becoming computer fluent is being a savvy computer user and consumer
and knowing how to avoid viruses, the programs that pose threats to computer security.
Answer: True
5. Employers do not have the right to monitor e-mail and network traffic on employee systems
used at work.
Answer: False
6. Clicking on an icon with the mouse is a form of giving an instruction to the computer.
Answer: True
7. Output devices store instructions or data that the CPU processes.
Answer: False (memory)
8. The CPU and memory are located on a special circuit board in the system unit called the
motherboard.
Answer: True
9. The main difference between a supercomputer and a mainframe is that supercomputers are
designed to execute a few programs as quickly as possible, whereas mainframes are designed to
handle many programs running at the same time (but at a slower pace).
Answer: True
10. Being computer fluent means that you should be able to build a computer yourself.
Answer: False
11. The most common type of memory that the computer uses to process data is ROM.
Answer: False (RAM)

UNIT 2 and 3
Long Answer Question:
1. What is an array & how is an array variable different from an ordinary variable?
2.

How problem definition phase plays an important role in terms of the problem-solving
aspect? Justify your answer.

3.

What is an algorithm? Write an algorithm to compute factorial of a number n.

4.

Write short notes on following:


i. Compilation errors.

ii. Linker errors.

5. Define a function & explain why function prototype is essential.


6. What is a macro & how is it different from a pre processor?
7. Which programming design approach is followed by C language (TOPDOWN/ BOTTOMUP). Justify.
8. What is the difference between Testing & Debugging? Explain different Debugging
Techniques.
9. Enumerate the steps that need to be taken to design efficient algorithms.
10. Why code optimization is performed by a compiler. Explain any three types of code
optimization.
11. Name two types of program testing and explain them in detail.
12. What do you mean by a loop? Explain the difference between the do loop, while loop, and
for loop with the help of an example.
13. How are values initialized in one dimensional array? Should the entire array be initialised
in the definition?

14. List the four stages involved in program design.


15. How are the data elements initialized in a multidimensional array? What is the scope of rules
for the multidimensional array.
16. Explain the following statements
(i) for loop
(ii) while loop
(iii) do-while loop
17. Explain the method of program verification briefly.
18. Explain the top-down technique for algorithm design.
19. Write an algorithm to reverse the digits of an integer.
20. Define pointers and discuss the advantages & disadvantages of pointers.
21. Classify the different types of programming errors.
22. Explain the following operators
(i) Arithmetic Operator
(iii) Logical Operator

(ii) Relational Operator


(iv) Increment & Decrement Operator

(v) Conditional Operator


23. Define a function? Explain Call by value and Call by reference.
24. Why pseudo code is required. Explain tit with aan example.
25. What is Data Structure, why its required, exlpain it with example.
26. What is a Linear Data Structures. Explain its types.
27. How do I learn to solve my problems? Which problem solving techniques do you
recommend? Describe a systematic approach to solve problems
28. Explain the steps involve in problem solving. People make decisions everyday give
examples
29. Describe in detail Writing, compiling and running a C program
30. Create an Algorithm and flowchart to find Greatest of 3 numbers to print the given no
in ascending order.
31. Three numbers, denoted by the variables A, B, C are supplied as input data. Draw a flowchart for the
logic to pick and print the largest of the three numbers?
32. Draw a flowchart to compute (a2+b2+c2-ab-bc-ca) and also write algorithm.
33. Draw a flowchart to obtain the roots known formula x= (-b b2-4ac)/2a and also write
algorithm.
34. Draw a flowchart to find the simple interest S.I. = (P*R*T)/100 and also write algorithm.
35. What is quick sort? Consider the following list of 10 test scores
82, 74, 69, 88, 93, 84, 96, 91, 58, 85

36. Using insertion sort technique arrange the following list in ascending order
25, 15, 50, 9, 90, 23, 41
37. Using selection sort technique arrange the following list in ascending order
60,45,25,3,16,6,8,50,12,19
38. Discuss bubble sorting, also arrange the following list in ascending order
33, 57, 27, 85, 66, 23, 13, 51

36. Using Merge Sort technique arrange the following list in ascending order
60, 70, 10, 80, 90, 20, 30, 40, 50

Short Answer Question:


1. What is a pointer?
2. What is a structure?
3. What are the differences between structures and arrays?
4. What is the Merit and demerit of flowchart?
5. What is merit and demerit algorithm?
6. Define function and various flowcharting symbols?
7. Differentiate between Structure and Array.
8. Algorithm to print Fibonacci series
9. Define an array.
10. What is compile time evaluation in code optimization.
11. How common subexpressions are removed using code optimization.
12. What are the advantages of using pointers.
13. What is a compiler?
14. Differentiate between interpreter and compiler.
15. Differentiate between call by reference and call by value.
16. Create a flowchart to find the factorial of a given number
17. Draw a flowchart to calculate and print sum of the first 50 odd numbers?
18. Create a flowchart to find total of even integers of an array.
19. Create flow chart to calculate XN.
20. Create a flow chart and Algorithm to evaluate area of triangle (sqrt(s(s-a)(s-b)(s-c).
21. Flow chart to generate all prime numbers up to nth number
22. Write an algorithm to generate prime numbers in the first n positive integers.
23. Write a program to find average marks obtained by a class of 30 students in a test.
24. Write a program to sort an array in ascending order?
25. Write a program that computes the largest & smallest elements in an array.
26. Write a program to count no. of character, no. of blanks, no. of words and no. of lines in a
multiline string.
27. Write a program that prints out the memory locations in which the elements of this array are
stored.

28. Write a program to implement the functions of a calculator.


29. Write a program to interchange the contents of two variables without using third variable.
30. Write a program for finding the compound interest using functions?
31. Write a program to print the number in reverse order?
32. Write a program to find factors of given numbers?
33. Write a program to determine whether a number is prime or not?
34. Write a program to print the multiplication table from 2 to10 numbers?
35. Write a program to show a number is even or odd?
36. Write a short note on following code optimmization techniques.
a) Dead code elimination
b) Frequency reduction

Objective Type Questions:


1. The memory address of the first element of an array is called
a. floor address
c. first address
Ans: d

b. foundation address
d. base address

2. The memory address of fifth element of an array can be calculated by the formula
a. LOC(Array[5]=Base(Array)+w(5-lower bound), where w is the number of words per memory
cell for the array
b. LOC(Array[5])=Base(Array[5])+(5-lower bound), where w is the number of words per
memory cell for the array
c. LOC(Array[5])=Base(Array[4])+(5-Upper bound), where w is the number of words per
memory cell for the array
d. None of above
Ans: a
3. Which of the following data structures are indexed structures?
a. linear arrays
b. linked lists
c. both of above
d. none of above
Ans: a
4. Which of the following is not the required condition for binary search algorithm?
a. The list must be sorted
b. there should be the direct access to the middle element in any sublist
c. There must be mechanism to delete and/or insert elements in list
d. none of above
Ans: c

5. Two dimensional arrays are also called


a. tables arrays
b. matrix arrays
c. both of above
d. none of above
Ans: c
6. A variable P is called pointer if
a. P contains the address of an element in DATA.
b. P points to the address of first element in DATA
c. P can store only memory addresses
d. P contain the DATA and the address of DATA
Ans: a
7. Which of the following data structure can't store the non-homogeneous data elements?
a. Arrays
b. Records OR Structure
c. Pointers
d. None
Ans: a
8. Which of the following data structure store the homogeneous data elements?
a. Arrays
b. Records OR Structure
c. Pointers
Ans: b

d. None

9. Each data item in a record may be a group item composed of sub-items; those items which are
indecomposable are called
a. elementary items
b. atoms
c. Scalars
d. all of above
Ans: d
10. The difference between linear array and a record is
a. An array is suitable for homogeneous data but hte data items in a record may have different
data type
b. In a record, there may not be a natural ordering in opposed to linear array.
c. A record form a hierarchical structure but a lienear array does not
d. All of above
Ans: d
11. Which of the following statement is false?
a. Arrays are dense lists and static data structure
b. data elements in linked list need not be stored in adjecent space in memory
c. pointers store the next data element of a list
d. linked lists are collection of the nodes that contain information part and next pointer
Ans: c
12. When new data are to be inserted into a data structure, but there is no available space; this
situation is usually called
a. underflow
b. overflow
c. Housefull
d. saturated
Ans: b

13. The situation when in a linked list START=NULL is


a. underflow
b. overflow
c. Housefull
Ans: a

d. saturated

14. Which of the following is two way list?


a. grounded header list
c. linked list with header and trailer nodes
Ans: d

b. circular header list


d. none of above

15. The term "push" and "pop" is related to the


a. array
b. lists
Ans: c

c. Stacks

d. all of above

16. A data structure where elements can be added or removed at either end but not in the middle
a. Linked lists
b. Stacks
c. Queues
d. Deque
Ans: d
17. A queue is a ________data structure, whereas a stack is a ________data structure.
a. FIFO, LIFO
b. LIFO,FIFO
c. both of these
d. none of these
Ans: a
18. Which data structure allows deleting data elements from front and inserting at rear?
a. Stacks
b. Queues
c. Deques
d. Binary search tree
Ans: b
19. Which of the following is NOT a linear data structure?
a. Linked List
b. Stack
c. Queue
Ans: c

d. Tree

20. The next field in the last node in a singly-linked list is set to_______.
a. 0
b. 1
c. NULL
d. false
Ans: a

Programming Practice and Techniques


1. Arrange the activities of a problem solving process in order.
1. Preparing a program flowchart or algorithm .

2. Defining the problem.


3. Debugging and testing.
4. Coding the program.
Ans: 2,1,4,3
2. A programming process is a
a. System development process
b. Coding and process.
c. Problem solving process.
d. All of the above
Ans: d
3. In a Programming process what the programmer must do carry out before moving from one
activity to the next?
a. Documenting procedures
b. Model design activity
c. Checking procedure
d. Compilation
Ans: c
4. Which of the following is or are included in problem definition
a. Output
b. What is the output is look like
c. Input
d. Processing algorithm
Ans: a,b,c,d
5. In the problem definition, which of the following do we use to describe the output that is to be
printed?
a. Print chart
b. Display system layout sheet
c. A record format form
d. All of the above
Ans: d
6. Who usually provides the problem definition to a programmer?
a. The system analyst
b. The program manager.
c. The project manager.
d. The system Engineer.
Ans: a
7. Which of the following defines an algorithm?
a. It is a graphical representation of a program flow.
b. It is the documentation of program logic.
c. It is a list of the sequence of steps required to solve the problem.
d. It is the actual program unit.
Ans: c
8. What is used for keeping track of the number of times something occurs in program?
a. A Loop
b. A Counter.
C. A Decision Construct
d. None of them.
Ans: b
9. What do you mean by incrementing?
a. Squaring

b. Adding one.
c. Subtracting One
d. Setting initial value.
Ans: b
10. What do we call an error that occurs while a program is being executed?
a. Syntax error
b. Logical error
c. Execution OR Run time error
d. Bug
Ans: c
11. Which of the following procedure can you use to check an algorithm?
a. Debugging by automated debugger?
b. Desk checking
c. Inspection
d. Consultation.
Ans: a
12. A source program written in High-level language is translate into ____________using a
special translator program?
a. Object program
b. Assembly program
c. IL program
d. Byte code.
Ans: a
13. Violation of the rules of particular programing language creates whats?
a. Syntax error
b. Logical error
c. Execution time error
d. Bug
Ans: a
14. Which of the following are not a translator program?
a. Compiler
b. Assembler
c. Generator
d. Interpreter
Ans: c
15. During testing what type or types of error are eliminated?
a. Syntax error
b. Logical error
c. Execution time error
d. Bug

Ans: a,b,c,d
16. A compiler is a____________
a. Software development environment
b. Code editor
c. Translation program
d. System program
Ans: c
17. Which of the following translation programs process the entire source program as a unit?
a. Compiler
b. Assembler
c. Generator
d. Interpreter
Ans: a

1. Which of the following term structured programming refers to?


a. A collection of techniques to follow for program developing.
b. A collection of library code to help programming.
c. A collection hardware for fast programming
d. A collection of efficient logic
Answer:A
2. The main transfers controls to a sub module to perform a task. What happens when the sub
module has completed its task?
a. The sub module closes the program
b. The sub module returns control to the main module
c. The sub module waits idly for the main take the control task
d. The sub module transfers control the underlying operating system.
Answer:B
3. The top down approach is a useful technique in
a. Planning a modular programming
b. Writing a smart program code
c. A object oriented programming
d. Report writing
Answer:A
4. What do we do to identify a module?
a. A module is given a abbreviated name
b. A module is given a name which reflects what the module does and a number is included
with name
c. A module is given name with a special prefix

d. None of the above.


Answer:B
5. A structure chart is a commonly used planning tool in
1. Top-down programming
2. Object oriented programming
3. Procedural programming
4. Data processing
Answer:A
6. Find out the following logic patterns or structures that are identified as sufficient for any
structured programming?
a. The sequence structure
b. The loop structure
c. The selection structure
d. Control structure
Answer:A,B,C
7. EOF means
a. There is no record in the file
b. The file does not exits
c. The file is not accessible
d. The file can not be created
Answer:A
8. In modular programming, the program is broken down into
a. Files
b. Projects
c. Instructions
Answer:D
9. Module programming is implemented by
a. Subroutine
b. instruction
c. Source programs
Answer:A

d. Modules

d. Machine code

10. Which one is the definition of a subroutine?


a. A group of instructions that performs a limited processing task.
b. A file that contains a group of instructions that performs a limited processing task.
c. A group of instructions that performs a total processing task.
d. None.
Answer:A
11.A collection of techniques for planning and writing of program that increases programmer
productivity is_____________
a. Modular programming
b. Procedural programming
c. Structural programming
d. Functional programming

Answer:A
12. Which of the following are related to structured programming
a. Top-down programming
b. Use of control structures-loop,selection,sequence.
c. Functionl programming
d. OOP
Answer:A,B
13. In modular programming, a pieces of program that performs a single limited function is
known as which of the following?
a. A class
b. A module
c. A loop
d. A sequence
Answer:B
14.The subroutine that is part of the program that uses is________
a. An internal subroutine
b. An external subroutine
c. None
d. Both a and b
Anwer:A
15.After a subroutine has finished its work what will happen?
a. The program end
b. Control is returned transferred to the caller of the subroutine
c. Control is transferred to the exit routine
d. None
Anwer:B
16.The instructions that transfers control to the subroutine and back a join are commonly known
as___________
a. Call instruction
b. Return instruction
c. Call and return instructions
d. Any of the three.
Anwer:C
17. The transfer of control to the subroutine and return control back is possible because
a. The location of the instruction to which control is to return is stored in program
b. The location of the instruction to which control is to return is stored in memory
c. The location of the instruction to which control is to return is stored in register
d. None
Anwer:A
18.a set of instructions for performing a particular task that can be used by any program as the
instructions reside in a library that is external to the using program is__________
a. Internal Subroution
b. External Subroution

c. Module
d. None.
Anwer:B
19. Pseducode is
a. Language dependent
b. Language independent
c. Flowcharting tool
d. .net compilation language.
Anwer:B
20. What values a Boolean filed (variable) can have
a. Any value
b. Only textual data
c. Either true or false
d. Only numeric value
Anwer:C
21. which of the following operation or operations can be used in Boolean algebra
a. NEITHER
b. AND
c. OR
d. NOT
Anwer:B,C,D
22. Say a=5 b=9
Now consider the Boolean expression NOT(a<b)
This expression evaluates to
a. True
b. False
Anwer:B
23 consider the Boolean expression a and b or not c
Which operation evaluated first
a. And
b. OR
c. Not
Anwer:C

d. From left to right as written

24. Which of the following is compound condition?


a. More one conditions used in the same subroutine
b. More then one conditions that are logically related
c. More then one condition that are combined using Boolean operators
d. None of the above
Anwer:C
25. Which of the following is or are true about a condition
a. It is used to control sub modules from the main in a program
b. It is used to control a loop

c. It is used to select form among two alternatives for processing


d. It is used to display output of a program
Anwer:B,C
26. When an error of the problem is encountered what possible can you do, depending on the
nature of the problem and the type of processing being done?
a. Display an error message and try to correct the problem
b. Display an error message and terminate processing immediate.
c. Display an error message and wait for the operator to take some collective action
d. Make a record of the error so that it can be corrected later and then continue processing
erroneous record.
Anwer:B,C,D
27. If an array is used as function argument, the array is passed
(A) by value.
(B) by reference
(C) by name.
(D) the array cannot be used as a function argument.
Ans:B

UNIT 4
Long Answer Question:
1. Whats the role of documentation in Software Engineering. Describe the types of
documentation used in process development models?
2. What are the characteristics to be considered for the selection of a software development life
cycle model?
3. What is software testing?discuss the role of software testing during software life cycle and
why is it so difficult?
4. What is the purpose of integration testing?differentiate between integartion and sysytem
testing?
5. What are the techniques adopted to perform designing in SDLC. What documents are
generated in designing process.
6. Differentiate between detailed and system design. How designing is different from coding.
7. Explain software testing, its principles, objectives.
8. In which test plan and test cases are designed and in which phase they are implemented. How
verification and validations are done in testing
9. Why feasibility is essential for and SDLC to begin with. Why its required, also describe
different types of feasibility done in SDLC.

10. What are the various phases in SDLC?


11. Compare and Contrast unit testing and Integration testing
12. Discuss and differentiate project and process control.
13. How the process management process operates. Why management control is required to
manage the process, how they do it.
14. What are the difference between requirements definition and requirement specification
15. What are they specifications of a project. Why documentation is so eesential for it.
16. What are the issues in the design of the software?
1.

Neeed for the software engg?

Short Answer questions:


1. What is Software Testing?
2. What is verification? Validation?
3. What is software crisis?
4. Whats an inspection?
5. What is good code?
6. Economic and technical fesibility.
7. What is good design?
8. Explain data dictionary?
9. Problem Analysis?
10. Software Risk ?
11. What is the software life cycle?
12. What makes a good Software Test engineer?
13. Need For software engineering
14. Software Reliability?
15. System Testing?
16. Unit Testing?
17. White box Testing?
18. Black Box Testing?
19. How can it be known when to stop testing?
20. Principles and objectives of Testing

VERY SHORT ANSWER


1. What is a software Product
Ans: products are outcomes of executing a process on a project
2. What is a Software project?
Ans: A software project is one instance of the development problem
OR
Project is to build a sw system within cost and schedule and with high quality which satisfies the
customer.
3. Fesibility is done on which three factors.
Ans: Cost, Quality and Schedule.
4. Who is System Analyst.
The systems analyst is a key person analyzing the business, identifying opportunities for
improvement, and designing information systems to implement these ideas.
5. What is a process
A sequence of steps performed to achieve some goal
6. What is a software process.
The sequence of steps performed to produce software with high quality, within budget and
schedule
7. What are the components of software processes.
Ans: Two major componeents of processes are
a) Development focuses on development and quality steps needed to engineer the software
b) Project management focuses on planning and controlling the development process
8. Who execute Developer and project management Process.
Ans: developers execute enggineering Process
project manager executes the management process
9. Phases of SDLC?
Ans: Feasibility study, System Analysis, Design, Coding, Teting, Implementation, Maintenance
and modification.
10. Types of Documents generated in software engineering
Ans: Feasibility Report, Software Requirement Specification, System design, detailed design,
Test Report, Manuals and Feedback from client.

Objective Question Bank

1. A _________ is an undertaking of limited duration in time with a defined Outcome


a. Project
b. Process
c. Product
d. People
Ans: A
2. What are the three generic phases of software engineering?
a. definition, development, support
b. what, how, where
c. programming, debugging, maintenance
d. analysis, design, testing
Ans: D
3. The prototyping model of software development is
a. A reasonable approach when requirements are well defined.
b. A useful approach when a customer cannot define requirements clearly.
c. The best approach to use for projects with large development teams.
d. A risky model that rarely produces a meaningful product.
Ans: B
4. The first step in project planning is to
a. determine the budget
c. determine the project constraints.
Ans: D

b. select a team organizational model.


d. establish the objectives and scope.

5. Which of these are objectives for software testing?


a. determine the productivity of programmers
b. eliminate the need for future program maintenance
c. eliminate every error prior to release
d. uncover software errors
Ans: c and D
6. What types of errors are missed by black-box testing and can be uncovered by white-box
testing?
a. behavioral errors
b. logic errors
c. performance errors
d. input errors
Ans: B
7. The linear sequential model OR waterfall model of software development is
a. An old fashioned model that is not used any more
b. A good approach when requirement of program is are clear and changes will be made during
development.
c. The best approach to use for projects with large development teams
d. None of the above

Ans: B

8. The testing technique that requires devising test cases to exercise the internal logic of a
software module is called
a. behavioral testing
b. black-box testing
c. grey-box testing
d. white-box testing
Ans: D
9. Black-box testing attempts to find errors in which of the following categories
a. incorrect or missing functions
b. interface errors
c. performance errors
d. all of the above
Ans: D
10. Which of the following is not a type of feasibility study
a. Economic b. Political c. Technical d. Cultural feasibility
Ans: D
11. Which of the following document is generated to support end user in software engineering
a. Logical design
b. manuals
c. Detailed design
d. Test report.
Ans: B
12. Which one is not a type of testing
a. Black box testing b. white box testing
Ans: D

c. Grey box testing

d. Glass testing

13. Which is the factor on which feasibility study is made.


a. Cost

b. Schedule

C. Quality.

D. Personal.

Ans: D
14. Which of these testings are conducted by coder and not by tester.
a. Black box testing

b. unit testing

c. White box testing

d. Beta testing

Ans: B
15. Unit testing involves which type of testing
a. Black box testing

b. white box

c. Stress testing

d. Beta testing

Ans: A
16. Which is not the disadvatage of waterfall model.
a. Involves Client interaction.
b. Assumes that requirements can be specified and frozen early.
c. May fix hardware and other technologies too early or to remain fixed during development.
d. Very document oriented, requiring docs at the end of each phase.
Ans: A

FILL IN THE BALNKS


1. Algorithms of a project are designed during __________ phase of SDLC.
Ans: Design Phase.
2. Design Phase are further divided into ___________ design and ____________ design.
Ans: System and Detailed design
3. Verification testing of a program is tested during _____________ Phase.
Ans. Testing.
4. Online applications load are tested by __________ testing.
Ans: Stress Testing
5. ______________ Testing is performed at client side.
Ans: Beta Testing
6. ______________ software development process model is most documented oriented.
Ans: Waterfall model OR Linear sequential model.

TRUE OR FALSE
1. Design documents are generated before Analysis document.
Ans: False
2. Modification of a program means to change the structure of program.
Ans: True
3. Maintainance of a program means to change the structure of program
Ans: False
4. Project comprisess of multiple process.
Ans: True

5. Accepting Testing is generally done by end users / customer in Customer environment with real data.
Ans: True
6. Black Box covers testing the code of a program.
Ans: False

UNIT 5
LONG ANSWER QUESTION
1. What are database systems? List out its characteristics.
2. Explain briefly about E-R data model.
3. What is E-R diagram and what are their objectives?
4. Explain in detail about ER model.
5. Define the terms: i) DDL (ii) DML
6. Explain various DML commands with neat syntax.
7. What do you mean by SQL ?What are the characteristics of SQL ?
8. What is the role of Database Administrator ?
9. What do you mean by Database and Database Management System ?
10. Define the following terms
(a). Instances (b) schemas (c) logical schema (d) physical schema

11. Give the distinction between primary key, candidate key and super key.
12. Define Data model? What are the different types of data models?
13. Define the following terms :
a. Field
b. Record
14. What are the data models present in DBMS?
15. What are the different type integrity constraints?
16. What is meant by normalization?
17. What are the set operations in SQL? Give examples.
18. How are the nulls represented in database system?

SHORT ANSWER QUESTION


1. Explain about data models?
2. What is a candidate key? Give an example.
3. What is a primary key? Give an example.
4. What is an alternate key? Give an example.
5. What do you mean by foreign key?
6. What are domain constraints?
7. What is E-R modeling?
8. Define Database
9. What is a DBMS?
10. What is the need for database systems?
11. Define entity and give example?
12. What is meant by foreign key?
13. What are the difference between unique key and Primary Key?
14. What are various Data types in SQL ?
15. What is relation ? Define the relational data model.

Practical Exersice
1.Create the following tables:
Student(roll_no,name,d_o_b,course_id)
Course(course_id,name,fee,duration,status)
Query:
1. Select record of those student who have opted for courses whose fees is greater then 40,000
2. Select courses whose duration is less then or equal to 36 months.
2. Create the following tables:
Branch(branch_id,branch_name,branch_city)
Customer(customer_id,customer_name,customer_city,branch_id)
Query:
1. List of those customers who live in the same city as the branch in which they have account.

2. List of all those customers who have an account more than one branch.
3. Create the following tables:
Branch(branch_id,branch_name,branch_city)
Customer(customer_id,customer_name,customer_city,branch_id)
Query:
1. List of those branch who have more then 1 customer
2. List of all those customers who have an account more than one branch.
4. Create the following tables:
Student(roll_no,name,d_o_b,course_id)
Course(course_id,name,fee,duration)
Query:
1. List of those entire Student who are between 18-19 years of age and have opted for MCA
course.
2. List of all those courses in which numbers of students are less then 2.
5. Create the following tables:
Student(roll_no,name,category,district,state)
Student_Rank(roll_no,marks,rank)
Query:
1. List name of the students who are having same rank but they reside in different district.
2.
List students name they belongs to same category with same rank.

VERY SHORT ANSWER QUESTIONS


1. What is database?
ANS: A database is a logically coherent collection of data with some inherent meaning,
representing some aspect of real world and which is designed, built and populated with data for a
specific purpose.
2. What are the benefits DBMS?
ANS:DBMS provides the following benefits.
a. Redundancy is controlled.

b.
c.
d.
e.

Unauthorised access is restricted.


Providing multiple user interfaces.
Enforcing integrity constraints.
Providing backup and recovery.

3. What is a Database system?


ANS: The database and DBMS software together is called as Database system.
4. Disadvantage in File Processing System?
ANS: following are the disadvantages of FPS
Data redundancy & inconsistency.
Difficult in accessing data.
Data isolation.
Data integrity.
Concurrent access is not possible.
Security Problems. .
5. Describe the three levels of data abstraction?
ANSWER: The are three levels of abstraction:
Physical level: The lowest level of abstraction describes how data are stored.
Logical level: The next higher level of abstraction, describes what data are stored in database and
what relationship among those data.
View level: The highest level of abstraction describes only part of entire database.
6. Define the "integrity rules"
ANS: There are two Integrity rules.
? Entity Integrity: States that ?Primary key cannot have NULL value?
? Referential Integrity: States that ?Foreign Key can be either a NULL value or should be
Primary Key value of other relation.
7. What is Data Independence?
ANS: Data independence means that ?the application is independent of the storage structure and
access strategy of data?. In other words, The ability to modify the schema definition in one level
should not affect the schema definition in the next higher level.

Two types of Data Independence:


? Physical Data Independence : Modification in physical level should not affect the logical level.
? Logical Data Independence : Modification in logical level should affect the view level.
NOTE: Logical Data Independence is more difficult to achieve
8. What is a view? How it is related to data independence?
ANS: A view may be thought of as a virtual table, that is, a table that does not really exist in its
own right but is instead derived from one or more underlying base table. In other words, there is
no stored file that direct represents the view instead a definition of view is stored in data
dictionary.
Growth and restructuring of base tables is not reflected in views. Thus the view can insulate
users from the effects of restructuring and growth in the database. Hence accounts for logical
data independence. .
9. What is an Entity?
ANS: It is a 'thing' in the real world with an independent existence.
10. What is an Entity type?
ANS: It is a collection (set) of entities that have same attributes.
11. What is an Entity set?
ANS: It is a collection of all entities of particular entity type in the database.
12. What is Weak Entity set?
ANS: An entity set may not have sufficient attributes to form a primary key, and its primary key
compromises of its partial key and primary key of its parent entity, then it is said to be Weak
Entity set.
13. What is an attribute?
ANS: It is a particular property, which describes the entity.
14. What is Relationship?
ANS: It is an association among two or more entities.
15. What is degree of Relationship type?
ANSWER: It is the number of entity type participating.

16. What is DML (Data Manipulation Language)?


ANSWER: This language that enable user to access or manipulate data as organised by
appropriate data model.
? Procedural DML or Low level: DML requires a user to specify what data are needed and how
to get those data.
? Non-Procedural DML or High level: DML requires a user to specify what data are needed
without specifying how to get those data.
17. What is Relational Algebra?
ANSWER: It is procedural query language. It consists of a set of operations that take one or two
relations as input and produce a new relation.
18. What is normalization?
ANSWER:
It is a process of analysing the given relation schemas based on their Functional Dependencies
(FDs) and primary key to achieve the properties
? Minimizing redundancy
? Minimizing insertion, deletion and update anomalies.
19. What is 1 NF (Normal Form)?
ANSWER:The domain of attribute must include only atomic (simple, indivisible) values.
20. what is a database?
a dbms is a complex softwaresystem that is used to manage,store and manipulate
data and metadata used to describe the data.
21. what is a key?what are different keys in database?
a key is nothing but a attribute or group of attributes.they are used to perform
some specific operation depending on their operation.the keys are classified
into primary key,secondary key,alternative keysuper key,candidate key,compound
or concatinated or composite key.
22. what is a primary key?
primary key:an attribute to identify a record uniquely is considered to be
primary key.for eg in the student table student_no is the primary key because it
can be used to identify unique record or unique student.

23. what is a candidate key?


register no usually alloted in the exams is also unique for each student in that
case for identifying a student uniquely either student_no or register_no can be
used.here two different candidates are contesting for primary key post.any of
them can be selected as primary key.
24. what is an alternate key?
if any one of the candidate keys among the different candidate keys available is
selected as primary key then remaining keys are called alternate key.
25. what is a super key?
with primary key if any other attribute is added then that combination is called
super key in other words,primary key is the minimum possible super key.in the
student table student_no+student_name is one the super key.
26. what is a composite key?
if the primary key is combination of more than one key then it is calles the
composite key.in the table called marks student_no+subject is the composite key.
27. what is a relation?
a relation consists of a homogeneous set of tuples.
28. what is a table?
it is the representation of a relation having records as rows and attributes as
columns.
29. What is E-R model?
This data model is based on real world that consists of basic objects called entities and of
relationship among these objects. Entities are described in a database by a set of attributes.
30. What is Data Model?
A collection of conceptual tools for describing data, data relationships data semantics and
constraints.
31. What is RDBMS?
Relational Data Base Management Systems (RDBMS) are database management systems that
maintain data records and indices in tables. Relationships may be created and maintained across
and among the data and tables. In a relational database, relationships between data items are
expressed by means of tables. Interdependencies among these tables are expressed by data values
rather than by pointers.
This allows a high degree of data independence. An RDBMS has the capability to recombine the
data items from different files, providing powerful tools for data usage.
32. What is normalization?

Database normalization is a data design and organization process applied to data structures based
on rules that help build relational databases. In relational database design, the process of
organizing data to minimize redundancy. Normalization usually involves dividing a database into
two or more tables and defining relationships between the tables. The objective is to isolate data
so that additions, deletions, and modifications of a field can be made in just one table and then
propagated through the rest of the database via the defined relationships.

Objective Question Bank


1. Find the ODD datatype out
a VARCHAR2
b RECORD
Ans : B

c BOOLEAN

d RAW

2. Which one of the follwing is a DDL command


a. Insert
b. delete
c. Alter
d. None of these
Ans: C
3. Which one of these is DML command
a. Drop
b. create
c. Commit
Ans:.d

d. Update.

4. How many types of constraints are in SQL


a.5
b.4
c.6
d.3
Ans: A
5. Primary key is a combination of which two SQL constraints
a.not null + check
b. foreign key + unique
c. Not Null + unique
d. Check + foreign Key
Ans: C
6. Alter command is used to alter or change
a.record
b. audit options
Ans: C

c. Table

d.user permissions

7. Which of these constraint perform the operation of domain constraint in SQL


a.primay key
b. foreign key
c. Not null
d. Check
Ans: d
8. Which of These three statements form the DCL Languages.

a. Commit , rollback and savepoint


b. Commit, grant and revoke
c. Commit, create and alter
d. Grant, revoke and savepoint.
Ans: a
9. Which of the following is not a type of user in a DBMS
a.DBA
b. Sophisticated user
c. Naive User
Ans: d

d. Super user

10. Which of these constraint perform the operation of refrential constraint in SQL
a.primay key
b. foreign Key
c. Not null
d. check
Ans: B

TRUE OR FALSE
1. A database can have multiple view level
Ans: true
2. A table can have only one primary key
Ans: True
3. Foriegn key attribute may not be primary key attribute in the refered table
Ans: False
4. Three tier Architecture of DBMS involve Application server between Client and Database
server
Ans: True
5. Unique key attribute cannot have NULL values
Ans: False
6. Insert is a DDL statement
Ans: false
7. After Commit no rollback can be performed
Ans: True
8. Only DBA can create and Grant permission in DBMS
Ans: True
9. Attribute which is set primary key cannot have only unique records.
Ans: True

10. Select is a DCL Command


Ans: False
Fill in the Blanks
1. A table is in _________ Normal Form if it does not have multivalue attribute.
Ans: First normal Form
2. ________ is a command to describe structure of a table.
Ans: desc.
3. In Web application DBMS follows a _______ tier architecture.
Ans: Three Tier
4. By default Oracle Server is at _________ Port number.
Ans: 8080
5. In Oracle 10g and 11g g stands for __________.
Ans: Grid
6. Table can have only one ___________ Primary Key.
Ans: one
7. _______________ is a diagrammatic technique for displaying an Database.
Ans: ER model
8. In ER diagram an _____________ is represented by a rectangle.
Ans: Entity
9. In ER diagram an _____________ is represented by a Ecllipse.
Ans: Attribute
10. In a realtional model a table is called ____________.
Ans: Relation

You might also like