Comp.-Ch-8 To 13
Comp.-Ch-8 To 13
1.
Explain conditional execution in shell script with
proper
Explain case statement of shell script with the option ofexample.
2.
3. pattern list.
Explain the use of while loop.
4.
Explain the use of until loop.
S.
Choose the most appropriate option from those given below :
() Which of the following command is used to set the file
permission as executable ?
(a) grep \W6 chmod
(c) k (d) x
( Which of the following symbol is used to break the flow of control in the case
statement?
(a)
(c) ++ (d) >>
(5) Which of the following keyword specifies the end of the case
statement?
(a) end-case (b) end case
e) esac (d) stop-case
(4) Which loop iterates till the condition evaluates to true?
(a while (b) until
(c) for (d) case
(5) Which of the following allows us to specify a list of values in its statement?
(a) while (b) utl
Veo for (d) if
(6) In case structure, which of the following character denotes default case?
(b) +
(c) d (d) All of the above
(7)-Which of the following statement is true for testing whether the file is read only or not?
(a) test -read filename (b) check -read filename
L) test -r filename (d) check r filename
8) Which of the following indicate the end of if condition in shell script?
(a) end-if
(c) } (closing curly bracket) (d) It does not have any end
statement
(9) Which of the following operator is used for less than comparison in
Linux?
(a) (b) lessthan
(d) -It
(10) Which of the following can be used in plaçe of square brackets used in
if condition?
(a) Curly braces test command
(c) check command (d) All of the above
182
Computer Studies :11
9. Define Key field.
10. What is primary key? Explain giving a suitable example?
11. What are the properties of primary key?
12. What is Data type? List and explain the data types available in Base.
13. When should one use memo data type?.
14. List the objects available in Base.
15. What is Null value? Explain giving a suitable example.
given below :
16. Choose the most appropriate option from those
(1) BMS Stands for
\at Database Management System (b) Database Migration System
(c) Data Management System (d) Direct Base Management System
Raw facts or figures"?
(2) Which of following is a term used for
(a) Infomation (b) Variable
(d) Field
eY Data
in Database?
Which of the following best describes customer
(a) Relationship (b) Attribute
\ Data
(c) Entity
(4) Processed data is known as
(a) Fact (b) Prepared data
oY Infomation (d) Decision
is not a database?
(5) Which one of the following
(b) Base
(a) MySQL
(c) SQL Server es SpreadSheet
not an Open source DBMS?
(6) Which of the following is
(a) MySQL
(b) Ingress
a Oracle
(c) Base
following?
alphabet R in RDBMS stands for which of the
(7) The e Relational
(a) Rotational
(d) Ring
(c) Random Suite?
database available as part of Open Office
of the
(8) What is the name by Base
(a) OfficeDB
(d) Access
(c) OpenlDB file?
the default extension of Base Database
following is
(9) Which of the (b) .odf
(a) bdf (d) .dbf
es .odb 205
System
mtroduction to Database Management
(10) Which of the following is not an object maintained by Base?
a Tables (b) Queries
(c) Charts (d) Forms
(11) Which data type cannot be used to store numbers?
(a) Docimal (b) Integer
(c) Text ey Date
(12) Which data type is used to store image. in Base database?
Binary (b) Photo
LABORATORY EXERCISES
mpy mean? Explain giving a suitable example.
10. Choose the most appropriate option from those given below :
() The result of a select query is generally represented as which of the following
components?
d Table (b) Query
(c) Constraint (d) Relation
(2) Which of the following feature of Base is used to retrieve specific information from the
database?
(a) Table \(8 Query
(c) Form (d) Report
(3) Whiçh of the following is not an aggregate function?
Square root (b) Sum
(c) Min (d) Max
(4) Which of the following is used to group th¹ result of a
query?
(a) Order by \e Group by
(c) Arrange by (d) Set of
(5) Which of the following statement is false?
á) Query can be stored as an object in database and reused.
(b) Query is written to be used only once.
(C) Query cannot be created using wizard.
(d) Query cannot be writen on a query.
(6) What is an alias?
(a) Alias is creation of duplicate query.
b Alias is used to give meaningful name to fields
selected in a query.
(c) Alias is used to print query.
(d) Alias is nowhere related to query.
(7) Which delimiter is used to surround the text in a query
criterion?
(a) " (double quote) 6) '(single quote)
(c) $ (dollar) (d) # (hash)
(8) Which of the following operator is used with wild card character?
La Like (b) is
(c) equal (d) =
(9) Which of the following operator is used as wild card character in Base?
(a) & (b) +
(c)
(10) Which query, when run, displays a dialog box asking to enter the value to match the
criteria for retrieving the data?
(a) Select Query (b) Insert Query
\e Parameter Query (d) Update query
( ) The Parameter name in parameter query is preceded by which symbol?
(a) Comma (b Colon
(c) Question mark (d) Explanation mark
(12) SQL stands for?
(a) Simple Query Language
o) Structured Query Language
(c) Simple Question for large databases
(a) Structured queries for large databases
LABORATORY EXERCISES
8. Choose the most appropriate option from those given below :
(1) For what main purpose a form is designed?
(a) To display data \ b To enter data
(c) To create tables (d) To viewquery result
(2) For what main purpose a report is designed?
( a To view information in professional manner
(b) To enter data
(c) To create tables
(d) To get statistics of usage of records
(3) Form wizard allows creating data entry forms for which of the following?
(a) Report (b) Table
(c) Query Vet Both b and
(4) Which option is used to select a field?
l a CTRL + Click (b) Click
(c) Double Click (d) Right Click
(5) Help Text created by user can be generally associated with which of the following
object?
(a) Table (b) Fom
e Control Field on Form (d) Report
(6) Report wizard is used to create report from how many tables at a time?
(a One (b) Tvo
(c) Three (d) More than three
I1. Choose the most appropriate option from tha given below :
(1) The term Cloud in cloud computing represents which of the
following?
(a) Wireless 8 Hard drives
(c) People (d) Internet
(2) Google Drive is an example of which of the
following cloud types?
(a) Private Cloud (b) Public Cloud
( Personal Cloud (d) Business Cloud
(3) Which of the following isn't an advantage of cloud?
(a) No worries about running out of storage
(b) Easier to maintain a cloud network
(c) Immediate access to computing
resources
ka Paying only for what you use
(4) Which of the following is not a model of cloud
computing?
(a) PaaS (b) laaS
BaaS (d) SaaS
(5) Which of the following is correct full form of SaaS?
(a) Software alternative accounting standard
(b) Short alert activation supplement
Yo Software as a service
(d) Service as a software
(6). Which of the following represents the maximum storage capacity of the microchip
used in RFID?
(8) Which of the following refers to a storage device that is connected directly to
a network?
(9) Which of the following refers to a network of storage devices that can be accessed
over a network?
(1)Which of the following refers to aprogram launched in 1992 as a step towards green
computing?
(a) STAR ENERGY 6) ENERGY STAR
(c) ENERGY SAVE (d) SAVE ENERGY