By QB365 on 31 Dec, 2022
QB365 provides a detailed and simple solution for every Possible Questions in Class 12 Computer Science Subject - Important 1 Mark MCQ's, English Medium. It will help Students to get more practice questions, Students can Practice these question papers in addition to score best marks.
12th Standard
Computer Science
Answer all the following questions.
The variables in a function definition are called as
Subroutines
Function
Definition
Parameters
Which of the following carries out the instructions defined in the interface?
Operating System
Compiler
Implementation
Interpreter
Which of the following functions that retrieve information from the data type?
Constructors
Selectors
recursive
Nested
Which of the following is a compound structure?
Pair
Triplet
single
quadrat
Which of the following is constructed by placing expressions within square brackets?
Tuples
Lists
Classes
quadrats
Which of the following is used in programming languages to map the variable and object?
::
:=
=
==
Which of the following security technique that regulates who can use resources in a computing environment?
Password
Authentication
Access control
Certification
From the following sorting algorithms which algorithm needs the minimum number of swaps?
Bubble sort
Insertion sort
Selection sort
All the above
Which of the following is not a stable sorting algorithm?
Insertion sort
Quick sort
Merge sort
Selection sort
In dynamic programming, the technique of storing the previously calculated values is called ?
Saving value property
Storing value property
Memoization
Mapping
Which of the following shortcut is used to create new Python Program?
Ctrl + C
Ctrl + F
Ctrl + B
Ctrl + N
Which of the following is not a Keyword in Python?
break
while
continue
operators
What plays a vital role in Python programming?
Statements
Control
Structure
Indentation
Which of the following is known as definite loop?
do..while
while
for
if..elif
Which punctuation should be used in the blank?
if < condition > ____
statements-block 1
else:
statements-block 2
;
::
!
" : "
Which of the following keyword is used to exit a function block?
define
return
finally
def
Which of the following keyword is used to define the function testpython(): ?
define
pass
def
while
Strings in python:
Changeable
Mutable
Immutable
flexible
Which of the following formatting character is used to print exponential notation in upper case?
%e
%E
%g
%n
If List=[10,20,30,40,50] then List[2]=35 will result
[35,10,20,30,40,50]
[10,20,30,40,50,35]
[10,20,35,40,50]
[10,35,30,40,50]
What is the use of type() function in python?
To create a Tuple
To know the type of an element in tuple.
To know the data type of python object
To create a list.
The keys in Python, dictionary is specified by
=
;
+
":"
Class members are accessed through which operator?
&
.
#
%
The process of creating an object is called as:
Constructor
Destructor
Initialize
Instantiation
What is the acronym of DBMS?
DataBase Management Symbol
Database Managing System
DataBase Management System
DataBasic Management System
Who is called Father of Relational Database from the following?
Chris Date
Hugh Darween
Edgar Frank Codd
Edgar Frank Cadd
Which command lets to change the structure of the table?
SELECT
ORDER BY
MODIFY
ALTER
Queries can be generated using
SELECT
ORDER BY
MODIFY
ALTER
The expansion of CRLF is
Control Return and Line Feed
Carriage Return and Form Feed
Control Router and Line Feed
Carriage Return and Line Feed
Which of the following is a string used to terminate lines produced by writer()method of csv module?
Line Terminator
Enter key
Form feed
Data Terminator
Making some changes in the data of the existing file or adding more data is called
Editing
Appending
Modification
Alteration
Importing C++ program in a Python program is called
wrapping
Downloading
Interconnecting
Parsing
The module which allows you to interface with the Windows operating system is
OS module
sys module
csv module
getopt module
What does __name__ contains?
c++ filename
main() name
python filename
os module name
Which of the following is a control structure used to traverse and fetch the records of the database?
Pointer
Key
Cursor
Insertion point
The function that returns the largest value of the selected column is
MAX()
LARGE()
HIGH()
MAXIMUM()
Which of the following clause avoide the duplicate?
Distinct
Remove
Where
GroupBy
Which is a python package used for 2D graphics?
matplotlib.pyplot
matplotlib.pip
matplotlib.numpy
matplotlib.plt
Read the following code: Identify the purpose of this code and choose the right option from the following.
C:\Users\Your Name\AppData\Local\Programs\Python\Python36-32\Scripts>pip list
List installed packages
list command
Install PIP
packages installed
Read the code:
a. import matplotlib.pyplot as plt
b. plt.plot(3,2)
c. plt.show()
Identify the output for the above coding
What must the used when a bulk of statements to be repeated for many number of times?
Algorithm
Program
Subroutines
Parameters
Which of the following is a description of all functions in object oriented programming language?
Implementation
parameter
Interface
Arugument
All functions are________ definitions.
static
dynamic
algorithmic
static
ADT expansion is
Abstract Data Template
Absolute Data Type
Abstract Data Type
Application Development Tool
Choose the type of scope for a variable '9! defined in the following program.
Disp ( ):
a:=7
Print a
Disp ( )
Global
Enclosed
Local
Built-in
Which of the following is not an example of data structures?
Control statement
Structure
List
Dictionary
Which mode can also be used as a simple calculator?
Calc mode
Interactive mode
Script mode
Code mode
if..else statement provides ________________ possibilities and the condition determines which block is to be executed.
2
3
4
5
print (format (14,'f') displays
14.00
14
14.0000
14.000000
Which of the following operators are useful to do string manipulation?
+, -
*, /
+ *
; "
Answers
Parameters
Implementation
Selectors
Pair
Lists
=
Access control
Selection sort
Selection sort
Memoization
Ctrl + N
operators
Indentation
for
" : "
return
def
Immutable
%E
[10,20,35,40,50]
To know the data type of python object
":"
.
Instantiation
DataBase Management System
Edgar Frank Codd
ALTER
SELECT
Carriage Return and Line Feed
Line Terminator
Modification
wrapping
OS module
c++ filename
Cursor
MAX()
Distinct
matplotlib.pyplot
packages installed
Subroutines
Interface
static
Abstract Data Type
Local
Control statement
Interactive mode
2
14.000000
+ *