Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Microsoft SQL Server wikipedia , lookup
Microsoft Jet Database Engine wikipedia , lookup
Open Database Connectivity wikipedia , lookup
Entity–attribute–value model wikipedia , lookup
Functional Database Model wikipedia , lookup
Extensible Storage Engine wikipedia , lookup
Versant Object Database wikipedia , lookup
Clusterpoint wikipedia , lookup
1. Can this query be executed and is it useful (according to the table and column definitions)? SELECT CTITLE, CID FROM COURSES WHERE CID = ’7820' A. Query cannot be executed (gives a syntax error). C. Query can be executed but returns nonsense. B. Query can be executed and makes sense (according to the table and column definitions). D. None Correct Option OptionB 2. Can this query be executed and is it useful (according to the table and column definitions)? SELECT CTITLE FROM SESSIONS WHERE S_CID = ’7820' A. Query cannot be executed (gives a syntax error).has C. Query can be executed but returns nonsense. B. Query can be executed and makes sense (according to the table and column definitions). D. None Correct Option OptionA 3. MySQL runs on which operating systems? A. Unix and Linux only C. Unix, Linux, Windows and others B. Linux and Mac OS-X only D. Any operating system at all Correct Option OptionC 4. DML is provided for A. Description of logical structure of database. C. Manipulation & processing of database. B. Addition of new structures in the database system. D. Definition of physical structure of database system. Correct Option OptionC Page 1 of 8 5. ‘AS’ clause is used in SQL for A. Selection operation. C. Join operation. B. Rename operation. D. Projection operation. Correct Option OptionB 6. In an E-R diagram attributes are represented by A. rectangle. C. ellipse. B. square. D. triangle. Correct Option OptionC 7. Count function in SQL returns the number of A. values. C. groups. B. distinct values. D. columns. Correct Option OptionA 8. The statement in SQL which allows to change the definition of a table is A. Alter. C. Create. B. Update. D. select. Correct Option OptionA Page 2 of 8 9. Key to represent relationship between tables is called A. Primary key C. Foreign Key B. Secondary Key D. None of these Correct Option OptionC 10. Which of the following is a valid SQL type? A. CHARACTER C. FLOAT B. NUMERIC D. All of the above Correct Option 11. OptionD The full form of DDL is A. Dynamic Data Language C. Data Definition Language B. Detailed Data Language D. Data Derivation Language Correct Option OptionC 12. Which of the following is an advantage of view? A. Data security C. Hiding of complex queries B. Derived columns D. All of the above Correct Option OptionD Page 3 of 8 13. Which of the following is a comparison operator in SQL? A. = C. BETWEEN B. LIKE D. All of the above Correct Option 14. NULL is A. the same as 0 for integer C. the same as 0 for integer and blank for character B. the same as blank for character D. not a value Correct Option 15. OptionD OptionD To delete a particular column in a relation the command used is: A. UPDATE C. ALTER B. DROP D. DELETE Correct Option OptionC 16. The ______ operator is used to compare a value to a list of literals values that have been specified. A. BETWEEN C. IN B. ANY D. ALL Correct Option OptionA Page 4 of 8 17. A data manipulation command the combines the records from one or more tables is called A. SELECT C. JOIN B. PROJECT D. PRODUCT Correct Option OptionC 18. A table joined with itself is called A. Join C. Outer Join B. Self Join D. Equi Join Correct Option OptionB 19. Which of the following is not true about ADO.NET? A. ADO.NET enables to create distributed data sharing applications C. ADO.NET doesn't support disconnected architecture B. ADO.NET uses XML to transfer data across applications and data source D. The classes of ADO.NET are defined in the System.Data namespace Correct Option OptionC 20. Which of the following illustrates the benefit of ADO.NET? A. Interoperability C. Disconnected data access B. It uses DataSet to represent data in memory that can store data from multiple tables and multiple sources. D. All of above Correct Option OptionD Page 5 of 8 21. Which of the following is the object of .NET data provider? A. Connection C. Data Reader B. Command D. All of above Correct Option 22. OptionD DataAdapter object populates a DataSet and resolves updates with the data source. Yes or No? A. True C. B. False D. Correct Option OptionA 23. When you create a relationship between tables in ADO.NET DataSet A. a UniqueConstraint is added to the parent table C. Both a and b B. a ForeignKeyConstraint is added to the child table by default D. none of the These Correct Option OptionC 24. Which of the following is not true for ADO.NET DataSet? A. DataSet provides a disconnected view of a data source. C. We can create relationship between the tables in a DataSet. B. Dataset enables to store data from multiple tables and multiple sources D. All of above are true Correct Option OptionD Page 6 of 8 25. Which of the following method of the command object is best suited when you have aggregate functions in a SELECT statement? A. ExecuteScalar C. ExecuteNonQuery B. ExecuteReader D. Non of the these Correct Option OptionA 26. Which of the following is the event that is exposed by the DataTable object? A. RowChanged C. RowChanging B. ColumnChanged D. All of above Correct Option 27. OptionD Which of the following is not the method of DataAdapter? A. Fill C. ReadData B. FillSchema D. Update Correct Option OptionC 28. What is a connection object? A. Specifies whether to use a DSN or DSN-less connection C. Specifies the type of driver to use, database format and filename B. Specifies which type of database is being used D. First opens the initial connection to a database before giving any database information Correct Option OptionD Page 7 of 8 29. What information can a connection string contain about the database you are trying to connect to? A. Type of database C. user id B. Location of database D. All Of The Above Correct Option 30. OptionD What is the sequential procedure in working with databases? A. Connection string, connection object, close connection string, close connection object C. Connection object, connection string, close connection object, close connection string B. Connection object, connection string, close connection string, close connection object D. None of the these Correct Option OptionB Page 8 of 8