Two statements are given below:
Statement I: Normalization is the process of organizing data in a database into tables to reduce redundancy.
Statement II: Normalization is the process of organizing data in a database into tables to reduce dependancy.
Examples of Guided media are _______.
A. Radio Waves
B. Optical - fiber
C. Micro waves
D. Twisted pair
E. Coaxial cable
Choose the correct answer from the options given below:
Consider the following function for insertion_sort
def insertion_sort(list3):
n = len(list3)
for i in _______ : # [statement-1]
temp = ________ : # [ statement-2]
j = i - 1
while j>= 0 and : # [statement-3]
list3 [j+1] = list3 [j]
j = _______ # [statement-4]
_______ = temp # [statement-5]
Given the following options for the statements.
A. temp <list3[j]
B. list3[i]
C. list3 [j+1]
D. range(n)
E. j-1
Choose the correct sequence of statement.
Which of the following is (are) attribute(s) of file object?
A. closed
B. mode
C. next
D. name
E. tell
Choose the correct answer from the options given below:
A sort algorithm works on the following principle.
Which of the following sorting algorithms does it correspond to?
A repeater is a device which operates only in the:
Which of the following string functions in 'C' converts lowercase input string into uppercase?
What is the fundamental unit of data transport on computer networks?
172.16.122.204 IP address belongs to which IP addresses class?
Two statements are given below:
Statement I: Hashing technique is very fast and efficient for large collections, but requires additional memory to store the hash table.
Statement II: Binary search technique is suitable for small collections but can be slow for larger collections.
Directions: Match the contents under List I with those under List II.
Which of the following operators cannot be used with string data type?
Two statements are given below, one is Assertion (A) and the other is Reason (R). Read the statements carefully and choose the correct answer.
Assertion (A): Exception handling in Python allows for graceful recovery from errors and prevents program crashes.
Reason (R): When an error occurs during program execution, Python's exception handling mechanism allows the program to gracefully handle the error and take corrective action.
Database management systems are intended to:
Which statement is true about denial of service (DOS attack)?
Consider a tuple tup1 = (10, 15, 25 and 30). Identify the statement that will result in an error.
Two statements are given below, one is Assertion (A) and the other is Reason (R). Read the statements carefully and choose the correct answer.
Assertion (A): In a relational database, a primary key is a unique identifier for each record in a table.
Reason (R): A primary key can be a combination of two columns.
A text file student.txt is stored in the storage device. Identify the correct option out of the following options to open the file in read mode.
(i) myfile = open('student.txt','rb')
(ii) myfile = open('student.txt','w')
(iii) myfile = open('student.txt','r')
(iv) myfile = open('student.txt')
Which module is to be imported for working in binary file?
What will be the output of the following program?
tuple=("Check")*3
print (tuple)
8 docs|148 tests
|