The like operator makes use of two wild card characters underscore ( _ ) and %. Which of the following statement(s) is / are correct w.r.t these operators?
A. % represents zero, one or multiple characters
B. Underscore represents zero, one or multiple characters
C. Underscore represents only multiple characters
D. Underscore represents exactly a single character
E. % represents zero character
Choose the most appropriate answer from the options given below:
Choose the Network Topology that requires a central controller.
What would be the prefix notation for the given equation?
(a+(b/c) *(d^e)-f)
Which of the following features are associated with SQL?
A. SQL is a case-sensitive language.
B. Allows for the creation of views and tables.
C. It does not permit the handling of data in a relational database management system (RDBMS).
D. Facilitates the imposition of constraints to ensure the integrity of the data.
Choose the correct answer from the options given below:
Which of the following is valid order for SQL query evaluation?
Note: Options order from left to right.
Which of the following is the correct extension of the Python file?
Directions: Match the contents under List I with those under List II.
A node that forwards data packets from one network to their destination in another network is called:
Which of the following options can be used to read the first line of a text file Myfile.txt?
If we want to add more contents in an existing file, file must be opened in............mode.
Two statements are given below:
Statement I: ALTER TABLE statement is used to add a new column to an existing table in SQL.
Statement II: INSERT Row statement is used to insert the Row to an existing table in SQL.
What will be the output of following Python code?
str1="Information"
print(str1[2:8])
The process of identifying a slot for the second and further items in the hash table in the event of collision, is called _______.
Which of the following is/are the advantage(s) of a database management system?
Directions: Match the contents under List I with those under List II.
What is the output of the following if statement
a, b = 12, 5
if a + b:
print('True')
else:
print('False')
Your teacher has given you a method/function FilterWords() in python which read lines from a text file NewsLetter.TXT, and display those words, which are lesser than 4 characters. Your teachers intentionally kept few blanks in between the code and asked you to fill the blanks so that the code would run to find desired result. Do the needful with the following python code:
def FilterWords():
c=0
file=open('NewsLetter.TXT', '_____') #Statement-1
line = file._____ #Statement-2
word = _____ #Statement-3
for c in word:
if _____: #Statement-4
print(c)
_________ #Statement-5
FilterWords()
Q. Write the mode of opening the file in Statement-1.
Which of the following statements are true about the Relational Data Model?
(A) Domain refers to the set of possible values that an attribute can take.
(B) A relation in a database is represented as a table consisting of rows and columns.
(C) Superkey uniquely identifies one or more tuples in a relation, whereas a Candidate Key is the minimal superkey.
(D) A Foreign Key refers to the same table in which it is defined.
Choose the correct answer from the options given below:
Your teacher has given you a method/function FilterWords() in python which read lines from a text file NewsLetter.TXT, and display those words, which are lesser than 4 characters. Your teachers intentionally kept few blanks in between the code and asked you to fill the blanks so that the code would run to find desired result. Do the needful with the following python code:
def FilterWords():
c=0
file=open('NewsLetter.TXT', '_____') #Statement-1
line = file._____ #Statement-2
word = _____ #Statement-3
for c in word:
if _____: #Statement-4
print(c)
_________ #Statement-5
FilterWords()
Q. Fill in the blank in Statement-3 to read data word by word.
Your teacher has given you a method/function FilterWords() in python which read lines from a text file NewsLetter.TXT, and display those words, which are lesser than 4 characters. Your teachers intentionally kept few blanks in between the code and asked you to fill the blanks so that the code would run to find desired result. Do the needful with the following python code:
def FilterWords():
c=0
file=open('NewsLetter.TXT', '_____') #Statement-1
line = file._____ #Statement-2
word = _____ #Statement-3
for c in word:
if _____: #Statement-4
print(c)
_________ #Statement-5
FilterWords()
Q. Fill in the blank in Statement-5 to close the file.
Your teacher has given you a method/function FilterWords() in python which read lines from a text file NewsLetter.TXT, and display those words, which are lesser than 4 characters. Your teachers intentionally kept few blanks in between the code and asked you to fill the blanks so that the code would run to find desired result. Do the needful with the following python code:
def FilterWords():
c=0
file=open('NewsLetter.TXT', '_____') #Statement-1
line = file._____ #Statement-2
word = _____ #Statement-3
for c in word:
if _____: #Statement-4
print(c)
_________ #Statement-5
FilterWords()
Q. Fill in the blank in Statement-2 to read the data from the file.
Your teacher has given you a method/function FilterWords() in python which read lines from a text file NewsLetter.TXT, and display those words, which are lesser than 4 characters. Your teachers intentionally kept few blanks in between the code and asked you to fill the blanks so that the code would run to find desired result. Do the needful with the following python code:
def FilterWords():
c=0
file=open('NewsLetter.TXT', '_____') #Statement-1
line = file._____ #Statement-2
word = _____ #Statement-3
for c in word:
if _____: #Statement-4
print(c)
_________ #Statement-5
FilterWords()
Q. Fill in the blank in Statement-4, which displays the word having lesser than 4 characters.
Which technique is used to restore a database up to the last consistent state after a system failure?
A. Backup
B. Recovery
Which of the following statements correctly describe SQL and its advantages?
(A) SQL allows users to define, manipulate, and query data efficiently.
(B) SQL commands are categorized into DDL, DML, DQL, and DCL.
(C) Data Manipulation Language (DML) includes SELECT, INSERT, and DELETE commands.
(D) SQL is a procedural programming language like C or Java.
Choose the correct answer from the options given below:
What will be the output for the following python code statements, respectively?
print("Hello world")
print('Hello world')
print('\"Hello world')
39 docs|145 tests
|