Database Management Systems Mcqs

Page No. 14

DriverManager.getConnection(_______ , ______ , ______)
What are the two parameters that are included?


aURL or machine name where server runs, Password, User ID


bURL or machine name where server runs, User ID, Password


cUser ID, Password, URL or machine name where server runs


dPassword, URL or machine name where server runs, User ID



Which of the following header must be included in java program to establish database connectivity using JDBC ?


aImport java.sql.*;


bImport java.sql.odbc.jdbc.*;


cImport java.jdbc.*;


dImport java.sql.jdbc.*;


View Answer Import java.sql.*;

Which of the following is used to access the database server at the time of executing the program and get the data from the server accordingly?


aEmbedded SQL


bDynamic SQL


cSQL declarations


dSQL data analysis


View Answer Dynamic SQL

The format for compound statement is


aBegin ……. end


bBegin atomic……. end


cBegin ……. repeat


dBoth Begin ……. end and Begin atomic……. end



Which of the following is used to input the entry and give the result in a variable in a procedure?


aPut and get


bGet and put


cOut and In


dIn and out


View Answer In and out

Which prefixes are available to Oracle triggers?


anew only


bold only


cBoth :new and : old


dNeither :new nor : old


View Answer Both :new and : old

Triggers ________ enabled or disabled


aCan be


bCannot be


cOught to be


dAlways


View Answer Can be

What are the different in triggers?


aDefine, Create


bDrop, Comment


cInsert, Update, Delete


dAll of the mentioned



Which of the following is NOT an Oracle-supported trigger?


aBEFORE


bDURING


cAFTER


dINSTEAD OF


View Answer DURING

The default extension for an Oracle SQL*Plus file is:


a.txt


b.pls


c.ora


d.sql


View Answer .sql

Goto Page No.

Page 14 of 101

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