MCQ Bank
python setup.py build is a command used for ___________.
- A) File building in BioPython
- B) Installation of Biopython
- C) Building an environment for codes to run
- D) Quick Starting BioPython
Print() function:
- A) To print something on a screen
- B) Prints a file
- C) Prints the text specified
- D) Adds a newline character to each line
Compound data types mean:
- A) Heavier to load
- B) Larger data types
- C) Combination of many data types
- D) Complex to deal with
The ___________ and keyword arguments hold in place of class as well
- A) Positional
- B) Specific
- C) Required
- D) Structural
_______________ is uninformative because 1 mutation occurs in all three possible trees.
- A) Position 02
- B) Position 01
- C) Position n
- D) Position 03
Triple quotes “”” are used to denote
- A) Double Strings
- B) Comment
- C) Multi line comment
- D) End of line
Which of the following statement are correct as to why the quantity of template used is critical to a sequencing reaction?
- A) Excess template reduces the length of a read
- B) Excess template reduces the quality of a read
- C) Too little template will result in no readable sequence
- D) All of Above
Tuples are written in
- A) [ ]
- B) { }
- C) “ ”
- D) ( )
In Python
def any_name(list of parameters):
statement one
---
statement last
return answer
Is the syntax of:
- A) Function declaration
- B) None of the above
- C) Function definition
- D) Function calling
ClustalW is the tool used for ______________.
- A) Structure Prediction
- B) Data alignment and Tree construction
- C) Sequence Alignment
- D) Molecular docking
What is the output of the following code?
def nprint(message, n):
while(n > 0):
print(message)
n-=1
nprint('z', 5)
- A) zzzz
- B) Infinite Loop
- C) Syntax Error
- D) zzzzz
Which of the following statements is not TRUE about Python
- A) OOP is optional in python
- B) All are TRUE
- C) Everything in python is an object
- D) Python class doesn’t implement user-defined data types
Gaps in alignments represent ______________ in sequences
- A) Deletion
- B) Genetic Rearrangement
- C) All of the above
- D) Insertion
Which of the following command is used to open a file “c:\temp.txt” in read-mode only?
- A) infile = open(file = “c:\\temp.txt”, “r+”)
- B) infile = open(file = “c:\temp.txt”, “r+”)
- C) infile = open(“c:\temp.txt”, “r”)
- D) infile = open(“c:\\temp.txt”, “r”)
Append() and Pop() functions can be used together in
- A) Strings
- B) Indexing
- C) LIFO()
- D) List()
Append () function is used to
- A) Add or delete elements
- B) Add elements from the start of a string
- C) Delete elements from a string
- D) Add objects at the end of a string
A slice operator in list is used to
- A) To access a specific character of a list
- B) To do indexing
- C) To Slice a list
- D) To access a part of a list
____________________ is a database used for protein network analysis.
- A) STRING
- B) UNIPROT
- C) PDB
- D) DAVID
Which one of the following is incorrect about dictionaries?
- A) Each key can occur many times
- B) Key can be immutable
- C) Elements are key-value pairs
- D) Elements are separated by commas
Keyword argument is an argument:
- A) None of the above
- B) Preceded by an identifier
- C) Both of the above
- D) That is positional