Python use numpy library for scientific computation
Python is a Completely source of open source with great community
Python is a high level language
What is the full form of POp in python procedural Oriented programming
What is the extension of python file is .py
In python program a control structure
Direct the order of execution of the statement in the program
What keyword would you use to add an alternative condition to an if statement is?
elif
If the condition is true the statement of if block will be executed otherwise the statement in the else block will
be executed
In python intendation define the block of statements
Which of the following command you will be create a list
Which of the following function is not available tuples
Update
Choose the correct option with respect to python
Tuple are immutable while list are mutable
cannot remove the item from the tuples
Which of the following function of dictionary get all the keys from the dictionary? Keys
Which of the following function of dictionary get all the values from the dictionary answer values
Which of these about your dictionary is false
Which of these about the dictionary are false
The value of dictionary can be access using keys
Immutable is false when it is used in set
Which of the following enclose the input parameter or an argument of an function are (
Which of the following keyword mark that a beginning of the function block is def
Which of the following comment is used to open a file c: \temp.txt in read only mode
Which of the following command can be used to read a number of characters from your file using the file object
<file>
File.read (n)
Which of the following statement is correct to explain the function of seek() method
Move the current file position to to your different location at a defined offset
The method which used to print the bike number at which the file pointer exist
Tell
What is the last action that must be performed on a file
close
Which of the following represent the a template are blueprint or a contract that define the object of a same data
type
A class
Which of the following keyword mark
the beginning of the class definition
Class
Which of the following is used to for hide the code and the data in single unit to protect the data from the
outside the world
Encapsulation
Which of the following process hide the real implementation of an application from the user and emphasizingis
only on how to use the application
Abstraction
What is the worst choice of split ratio training set : test set?
50:50
Which of the following is a widely used and effective machine learning algorithm based on the idea of bagging
Random forest
What is the biggest weakness of decision tree compared to the logical regression classifier
Decision tree are more likely to overfit the data
Which of the following is a disadvantage of decision tree
Decision tree are prone to be overfit
How many parts divided your split data overall
2
Which of the main python package used for nlp
nLtk
Why we are using the name entity recognition in nLP
Classification of entities into predefine levels
What is the input and output of NLP system speech and written text
How we import tkinter in python programming
from tkinter import*
How pack() function work on tkinter widget
According to left right top down
Fg in tkinter widget stands for
Foreground
How the grid () function put widget on the screen
According to row and colum vise
Config() in python tkinter are used for
Change the property of the widget
When will the part of try expect else be executed
When no exception occurs
When is the finally block executed
always
How how many except statement can a try except block can have
More than zero
Which model in python support regular expression
Re
What is the special character that more character
*.
What does the regular expression [a-z]match?
All character between the range ato z
Which of the these will match string revolution revolutionary and revolutionaries
Revolution [a-z]*
The regular expression \d{4} will maths what
Any four digit sequence
What does SQL stands for
structure query language
what is the purpose of sqlite3 is used
Back end
Correct way to import sqlite3 in the program
Import sqlite 3 as s
Import sqlite3
From sqlite3 import"
All the mention above
To open or connect with database which function used or called at the time
Connect ()
Which of the following snippets create and connect to a new sqlite database
Import sqlite3
Connection =sqlite3.connect("test_database.db")
GUI stands for
Graphical user interface
how we import tkinter in python program
Import tkinter
Import tkinter as t
From tkinter import*
To hold the screen what we use
mainloop ()function
Essential things to create a window screen using tkinter python
call TK () function
What purpose the bg used in tkinter widget
To Change the background of widget
FG in tkinter widget stand for
foreground
How the grid () function put the widget on the screen
According to row and column wise
How the place () function put the widget on the screen
according to X and y coordinates
Which widget is used as container widget to organize other widget
Frame
Which of the widget is used to offer several option to the user and the user has choose one option
radio button
Which method is used to bind python function on the method to an event
Bind ()
Which of the following is the correct syntax of the connect () function in sqlite3
Sqlite3. Connect (database)
Which of the following is not the function of sq lite 3 in python
Raw ()
Which of the following function are used to close the database
Close()
Which keyword we used to fetch the data from the table database
Select
Which widget is used to display the item with hierarchy
Treeview
Which metal set a size for the window and the position on the screen
geometry ()
First two parameter of geometry () are
width height of the window
By defining – the user cannot modify the with of the column of treeview
Stretch= TK.no
Which method is used to create the fixed size window
Resizeable()
How we import tkinter in python program
From tkinter import*
How pack () function works on tkinter widget
According to left right top down
How thegrid () function put the witch widget on the screen
according to row and column vise
Config() in python tkinter are used for
Change the property of widget
Which command is used to install gtts
PIP install gtts
Select the command to choose the language to the Wikipedia's pages
Wikipedia. set_lang(language)
What is the full form of API
application programming interface
Which function is used to open a page in specific browser
Webbrowser . get ( browsername)
What is the full form of gtts
Google text to speech
Which we use recogniser ()
To recognise speech
Which function is used to handle effect of noise in speech recognition
Adjust_for_ambient_noise ()
Which python packages is used to work with microphone
PyAudio
Which method accept duration keyword that stop recording after a specified number of seconds
Record ()
Which library is used to recognise speech
Speech recognition
The most important object define in numpy
Is an N-dimensional array type called
ndarray
The basic ndarray create a using
Numpy.array( object, d type=none,copy=true, order=none,subok=false,ndmin=0)
What is the syntax of d type object
Numpy. Dtype (object,align,copy,)
If we are dimension is given as _ in operation the other dimension are automatically calculator
Negative one
which of the following statement is false
Ndarray is also known as the axis array
Panda stands for
panel data analysis
Which will be the syntax for pandas data frame
Panda.dataframe (data, Index column, dtype, copy)
Why ndim is used
Return the number of mention of the underlying data by definition 1
Which is will be the correct syntax of panda series
Pandas.series(data, index, dtype, copy)
Which of the following is not attribute of data frame
transpose
The empty series object has which of the data types
Float 64
Panda support which of the following type of index
positional and labelled indexing
Which of the following function of seriesis used to return first n element from the series
S.head()
Which of the following statement is correct with respect to loc and iloc
iloc does not include the last element of the range
Pandas data frame __automatically insert went the corresponding value for a column missing
NaN
Plot Which is used to give an statical summary is
Box plot
Which of the following element is used to identify data series by the it's colour pattern
legend
Which of the following is not the parameter of py plot plot () method
Lineheight
__is the machine learning algorithm that can used with labelled data
Regression
What is the output of training process in machine learning
Machine learning model
Supervised learning and unsupervise clustering both require at least
hidden attribute
In what type of learning labelled training data used
Supervised Learning
Problem of finding the heat and structure in unlabelled data is called
Unsupervised learning
Some of the imputation methods are
Imputation mean/medium
In standardisation the feature will be scared with
mean 0 and variance one
How to handle the missing value in the data set
Imputation with mean medium mode value
In python which of the following library can best help managing database
Pandas
The correct way of preprocessing data should be
Imputation> label encoding> training
What is regression
It is a technique to predict the value
What is dependent variable
The value we want to predict
Which is an independent variable
The value that interfere in the value we want to predict
Linear regression is example of
supervised learning
What is linear and logistics regression
Type of regression
Which one is the classification algorithm
Logistic regression
Which of the following is lazy learning algorithm
KNN
What is throw about eager learner
Take more time in learning and less in prediction
Logistic regression is a machine learning algorithm that is used to predict the probability of a
numerical dependent variable
Can we solve the multi class classification problems using logistic regression
True yes
The goal of clustering is to
Divide the data point into groups
For clustering we do not require
labelled data
Which of the following is hierarchical clustering
Data partition is does not occur in single step
Which of the following is the direct application of frequent itemset mining
market basket analysis
Associate ruled could be preferred
Low support and high confident
How many steps of NLP is there
5
The modern natural language processing algorithm are based on machine learning e
specially statistical machine learning
True
Nltk stands for
Natural language toolkit
The process of understanding the meaning and interpretation what's signed under sentence structure is called as
Sematic Analysis
___is a subfield of computer science artificial intelligence information engineering and human computer
interaction
NLP
Which are step is the process breaking down document into smaller unit of analysis
Tokenization
Technique look at the meaning of word
Lemmatization
The process of breaking up ear long string in to the word is called as
Tokenization
Which is the correct order for preprocessing in natural language processing
Tokenization stemming lemmatization
In linguistic morphology ___process of reducing inflected word to their root form
Stemming
Which of the following could you use to retrieve the list of unique words
Get_feature_names()
which function could you use to implement a bag of words I creating a matrix of token count
Countvectorizer()
Which of the main python packages used for NLP
Nltk
Why we use named entity recognition in NLP
Classification of entities into predefined labels
What are the input and output of NLP
Speech and written text
Auto encoder is an example of
Deep learning
In a classification problem which of the following activation function is most widely used in the output layer of
neural network
Sigmoid function
Rnns stands for
Recurrent neural network
The middle layer in the deep learning model is called as
hidden layer
Which neural network has only one hidden layer between the input and the output
Shallow neural layer
Tensor flow is a free and open source python based library function
python
Tens are flow support which python version python 3.6 latest version
Which of the following tool is the deep learning wrapper on tensor flow
Keras
A___request shape of the input ( input_shape) to understand the structure of the input data
Kera layer
What is the full form of tpu
Tensor processing unit
Why do we use tpu
Accelerate the development
Tensor flow is import as
Import tensor flow as tf
How deep learning models are built on keras
Sequential model
tensor are a similar to
Data array
Why tensorflow is used to computational
Graphs
Calculation can be done in parallel
Open CV store rGB pixel in what order
bgr
What does import CV2 statement do
Import our CV python binding
The r GB triple 255 04 for red but open CV code actually interpret this colour as blue