Relational Database Management System Mcqs

Page No. 11

What does the following statement do? create table temp_inst like institute


aIt creates a new relation temp_inst with all the tuples and attributes of the institute relation


bIt creates a new relation temp_inst with the same schema as that of the institute relation


c It creates a new relation named temp_inst with institute as its only attribute


dIt does not create any relations and returns an error



State true or false: Users can define new data types in SQL


aTrue


bFalse


ceither true and false


dnone of the mentioned


View Answer True

Which of the following is an illegal data type in SQL


anumber


bclob


cblob


d lint


View Answer lint

What is a default value?


aIt is a value that automatically creates a primary key


b It is a value that cannot be altered during insertion of values in the tuple


cIt is a value that is initially loaded into the attribute


dNone of the mentioned



What does p indicate in the following data type? time(p)


aThe amount of delay that needs to be added to the time


bThe number of fractional digits for the seconds


cThe maximum number of allowed hours


dNone of the mentioned



What is a timestamp?


a A combination of date and time with date first


bA combination of date and time with time first


cA combination of time and place with time first


d A combination of time and place with place first



Which of the following is not a valid Date and Time data type?


adate


btime


cdatestamp


d timestamp


View Answer datestamp

Which package comprises of the core JDBC API?


ajava.sql


bjava.database


csql.java


djava.relation


View Answer java.sql

Which JDBC Driver is the most efficient of all the JDBC drivers?


aType 1 Driver


bType 2 Driver


cType 3 Driver


dType 4 Driver


View Answer Type 4 Driver

How many different types of drivers are present in JDBC?


a1


b2


c3


d4


View Answer 4

Goto Page No.

Page 11 of 54

Alphabetical MCQs Categories

Here below You find all kind of categories of MCQs in alphabetical order.


"Comprehensive Collection of MCQs: Alphabetically Organized by Subject"

"Discover an extensive collection of multiple-choice questions (MCQs) neatly categorized by subject from A to Z. This resource is designed for anyone eager to explore various topics in a straightforward and organized manner. Whether you're a student preparing for exams, an educator seeking supplementary materials, or simply curious about different subjects, this compilation offers a convenient way to learn and assess your knowledge. With questions arranged alphabetically, navigation is effortless, allowing you to delve into subjects of interest at your own pace. Engage, learn, and expand your understanding with this accessible and comprehensive repository of MCQs!"


BolPakistan

bolpakistan.com.pk includes Job Mcqs and Pak Mcqs is the Top Largest Mcqs Forum in World, in which you can read Mcqs of All Subjects, PPSC test preparation, FPSC, NTS and PPSC PAST PAPERS, PPSC PAST MCQS. A Collection of Repeated MCQs for JOBs seekers.

Copyright © 2024, Designed & Developed by BolPakistan