1. Which property is the same in the OpenFileDialog and the SaveFileDialog control?                                 
a.)  FileName
b.)  Filter
c.)  InitialDirectory
d.)  Both a and b.
e.)  All of the above. 

Answer:  e

2. Which method is found in both the StreamReader and StreamWriter class?
a.)  Close
b.)  Peak
c.)  Flush
d.)  Both a and b.
e.)  All of the above. 

Answer:  a

3. The StreamReader and StreamWriter class are both subclasses of which class?
a.)  IO 
b.)  Stream
c.)  StreamIO
d.)  Both a and b.
e.)  All of the above. 

Answer:  b

4.Which dialog control allows the user to zoom in on a document?
a.)  PrintDialog
b.)  PrintPreview
c.)  PageSetupDialog
d.)  Both a and b.
e.)  All of the above. 

Answer:  b

5. Which dialog control has a Document property?
a.)  PrintDialog
b.)  PrintPreview
c.)  PageSetupDialog
d.)  Both a and b.
e.)  All of the above. 

Answer:  e

6. Which object must be assigned to the Document property?                                 
a.)  Document
b.)  DocumentPage
c.)  DocumentPrint
d.)  PageDocument
e.)  PrintDocument

Answer:  e

7. When is the PrintPage event activated?
a.)  When the PrintDialog control is displayed.
b.)  When an assignment is made to the Document property.
c.)  The first time the Print method is called.
d.)  Every time a page is printed after the Print method is called.
e.)  None of the above. 

Answer: d




8. Which controls can activate the PrintPage event?
a.)  PrintDialog
b.)  PrintPreview
c.)  PageSetupDialog
d.)  Both a and b.
e.)  All of the above. 

Answer:  d

9. Which type of file can be played with the Windows Media Player control?
a.)  MPEG
b.)  AVI
c.)  WAV
d.)  Both a and b.
e.)  All of the above. 

Answer:  e

10. The Windows Media Player control:
a.)  is located in the toolbox by default.
b.)  is located in the toolbar.
c.)  can be added to the toolbar.
d.)  Both a and b.
e.)  All of the above. 

Answer:  c

11. The Windows Media Player control can:                                 
a.)  display video output.
b.)  create audio output.
c.)  generate tactile output.
d.)  Both a and b.
e.)  All of the above. 

Answer:  d

12. Which Windows Media Player control property will hide the player from user's view?
a.)  Anchor
b.)  FileName
c.)  Location
d.)  ShowControl
e.)  Visible
  
Answer:  e

13. Where is a single element of data stored?
a.)  Field
b.)  Record
c.)  Table
d.)  Both a and b.
e.)  All of the above. 

Answer:  a

14. Where is a collection of related data elements stored?
a.)  Field
b.)  Record
c.)  Table
d.)  Both a and b.
e.)  All of the above. 

Answer:   b

15. Which is true about the primary key?
a.)  Every table should have a primary key.
b.)  A primary key exclusively identifies each row in a table.
c.)  A primary key can be made of multiple fields.
d.)  Both a and b.
e.)  All of the above. 

Answer:  e




16. A foreign key:                                  
a.)  has nothing to do with the primary key.
b.)  has different values than the primary key.
c.)  is found in tables that don’t have a primary key.
d.)  is related to the primary key of a different table.
e.)  is a unique record in a table.

Answer:  d

17. Which is not a program that can create a database?
a.)  Access
b.)  MySQL
c.)  Oracle
d.)  SQL Server
e.)  All of the above can be used to create a database.

Answer:  e

18. What does the term DBMS stand for?
a.)  Database Management Schema
b.)  Database Management Style
c.)  Database Management System
d.)  Database Manipulation Schema
e.)  Database Manipulation Style

Answer:  c

19. The normalization process is:
a.)  used to remove redundant data.
b.)  used to make the storage of data more efficient.
c.)  not recommended for most databases.
d.)  Both a and b.
e.)  All of the above. 

Answer:  d

18. Which clause is required in an SQL query for getting information from a database?
a.)  JOIN
b.)  ON
c.)  ORDER BY
d.)  SELECT
e.)  WHERE

Answer:  d

19. How many fields can be specified in the SELECT clause?                                  
a.)  0
b.)  1
c.)  2
d.)  3
e.)  As many as needed.

Answer: e

20. How many records are specified in the SELECT clause?
a.)  0
b.)  1
c.)  2
d.)  3
e.)  As many as needed.

Answer:  a

21. Which is the wildcard symbol for selecting all the fields in a table?  
a.)  @
b.)  #
c.)  ^
d.)  *
e.)  +

Answer:  d

22. The WHERE clause is used to restrict the number of ____ retrieved by an SQL statement.
a.)  fields
b.)  records
c.)  tables
d.)  Both a and b.
e.)  All of the above. 

Answer:  b

23. Which is not a valid type of JOIN?
a.)  LEFT JOIN
b.)  MIDDLE JOIN
c.)  RIGHT JOIN
d.)  INNER JOIN
e.)  All of the above are valid types.

Answer:  b

24. The ORDER BY clause is used to sort:                                 
a.)  fields.
b.)  records.
c.)  tables.
d.)  Both a and b.
e.)  All of the above. 

Answer:  b

25. Which database is the ADO.NET SqlConnection object designed for? 
a.)  Access
b.)  Microsoft SQL Server
c.)  MySQL
d.)  Oracle
e.)  None of the above.

Answer:  b




61.Which property of the database must the connection object contain?
a.)  Location
b.)  Type
c.)  Query
d.)  Both a and b.
e.)  All of the above. 

Answer:  d
Mukesh Rajput

Mukesh Rajput

I am a Computer Engineer, a small amount of the programming tips as it’s my hobby, I love to travel and meet people so little about travel, a fashion lover and love to eat food, I am investing a good time to keep the body fit so little about fitness also..

Post A Comment:

0 comments: