APPSC Degree Lecturer Computer Science Exam Paper II - English-8

Download as pdf or txt
Download as pdf or txt
You are on page 1of 65

Toppersexam.

com

APPSC Degree Lecturer Computer


Science Exam Paper II - English-8

Toppersexam.com
Toppersexam.com

APPSC Degree Lecturer Computer Science


Exam Paper II - English-8
Paper Questions

SUBJECT: Computer Science

Question 1 : A series of instructions that tells a computer what to do and how to do. It is called a
__________

(A) program

(B) command

(C) user response

(D) processor

Question 2 : A set of step-by-setp procedures for accomplishing a task is known as a (n)


________ .

(A) algorithm

(B) hardware program

(C) software bug

(D) firmware program

Question 3 : All of the following are included in typical Computer programming language which
are in use currently Except

(A) C++

Toppersexam.com
Toppersexam.com

(B) Java

(C) visual Basic NET

(D) Machine language

Question 4 : Query language comes under:

(A) Third generation

(B) Fourth generation

(C) Fifth generation

(D) None of these

Question 5 : Errors in computer programs are called

(A) Follies

(B) Mistakes

(C) Bugs

(D) Spam

Question 6 : The default file extension of MS-Excel is

(A) xlr

(B) exe

(C) exl

Toppersexam.com
Toppersexam.com

(D) xls

Question 7 : Guess the output of the following program ?


#include
int main ( )
{
int a = 100, b = 200, c = 300;
if(!a> = 500)
b = 300;
c = 400;
printf("%d,%d,%d", a, b, c);
return 0;
}

(A) 100, 300, 300

(B) 100,200,400

(C) 100,200,300

(D) 100,300,400

Question 8 : Guess the output of the following program;


#include
int main ( )
{ int x = 10;
float y = 10.0;
if(x = y)
printf("x and y are equal");
else
printf("x and y are not equal");
return 0;
}

(A) x and y are equal

(B) Compile Error

Toppersexam.com
Toppersexam.com

(C) Run Time Error

(D) x and y are not equal

Question 9 : Guess the output of the program ?


#Include
int main( )
{
int a =0, b =1, c=2;
*((a+1 ==1) ? &b :&a) = a? b:c;
printf("%d, %d, %d/n", a,b,c);
return 0;
}

(A) 1, 1, 2

(B) 2, 2, 2

(C) 0, 2, 2

(D) 0, 1, 2

Question 10 : What will be printed if we execute following program ?


#include
int main ( )
{
float a = 0.3;
if(0.3 >a)
printf("True/n");
else
printf("False/n");
return 0;
}

(A) False

(B) True

Toppersexam.com
Toppersexam.com

(C) True False

(D) None of these

Question 11 : Predict the output of the program ?


#include
int main ( )
{
if(printf("ABC"))
printf("True");
else
printf("False");
return 0;
}

(A) ABC

(B) ABCFalse

(C) True

(D) ABCTrue

Question 12 : Guess the output of the program ?


#include
int main ( )
{
int i = 1, j = 2;
if(i = 1) && if (j = 2)
printf ("India is my country");
return 0;
}

(A) No output and No Error

(B) Error : Misplaced IF

(C) Error : Expression Syntax Error

Toppersexam.com
Toppersexam.com

(D) Error : Undeclared identifier if

Question 13 : Statement scan ("%d",80);

(A) Assign an integer to variable i

(B) Give an error message

(C) Paint the value of i

(D) Assign an float to variable i

Question 14 : STL is based on which of the following programming paradigms ?

(A) Structured Programming

(B) Object Oriented Programming (OOP)

(C) Functional Programming

(D) Aspect Oriented Programming (AOP)

Question 15 : In Excel, the contents of the active cell are displayed in the

(A) footer bar

(B) tool bar

(C) task bar

(D) menu bar

(E) formula bar

Toppersexam.com
Toppersexam.com

Question 16 : Which of the following members do get inherited but become private members in
child class

(A) Public

(B) Private

(C) Protected

(D) All the above

Question 17 : In a C language '3' reprsents

(A) A digit

(B) An integer

(C) A character

(D) A word

Question 18 : If there is more than one statement in the block of a for loop, which of the
following must be placed at the beginning and the ending of the loop block ?

(A) parentheses ( )

(B) braces { }

(C) brackets [ ]

(D) arrows < >

Toppersexam.com
Toppersexam.com

Question 19 : Which looping process is best used when the number of iterations is known ?

(A) for

(B) while

(C) do- while

(D) all looping process require that the iterations be known

Question 20 : Which of the following is the most common way of implementing C++ ?

(A) C++ programs are directly compiled into native code by a compiler

(B) C++ programs are first compiled to intermediate code by a compiler and then executed by a
virtual machine.

(C) C++ programs are interpreted by an interpreter

(D) A C++ editor directly compiles and executes the program

Question 21 : Which header file should we include for using std::auto_ptr ?

(A) <memory>

(B) <alloc>

(C) <autoptr>

(D) <smartptr>

Toppersexam.com
Toppersexam.com

Question 22 : Which of the following operators can be implemented as a nonmember operator ?

(A) #NAME?

(B) ( ) (function call operator)

(C) [. (array access operator)

(D) + (addition operator)

Question 23 : Which of the following statements about thread is true ? Select the one correct
answer.

(A) Every thread starts with a priority of 5

(B) Threads inherit theri priority from their parent thread.

(C) Threads are guaranteed to run with the priority that you set using the setPriority ( ) method.

(D) Thread priority is an integer ranging from 1 to 100

Question 24 : Given the following


class My thread t = new MyThread{
public static void main (String [ ] args) {
MyThread t = new My Thread ( );
Thread x = new Thread (t);
x.start ( );
}
public void run ( ){
for(int i = 0;i<3; ++i) {
System.out.print(i +"..");
}}}
What is the result of this code ?

(A) Compilation fails.

(B) 1..2..3..

Toppersexam.com
Toppersexam.com

(C) 0..1..2..3..

(D) 0..1..2..

Question 25 : What will be the result of attempting to compile and run the following
program ?
public class Myclass extends Thread {
publicMyClass (Strings) {msg = S; }
String msg;
public void run ( ) {
System.out.printIn(msg);
}
public static void main (String [ ]args) {
new MyClass("Hello")
newMyClass("World");
}
Select the one correct answer.

(A) The program will fail to compile

(B) The program wil compile without errors and will print a never-ending stream of Hello and
World

(C) The program will compile without error and will print Hello and World when run, but order is
unpredictable.

(D) The program will compile without errors and will simply terminate without any output when
run.

Question 26 : The following block of code creates a Thread using a Runnable target.
Runnable target = new MyRunnable();
Thread my Thread = new Thread (target);
Which of the following classes can be used to create the target, so that the preceding code
compiles correctly ?

(A) (a) public class Runnable extends Runnable {public void run )}

(B) public class MyRunnable extends Object {public void run ( ) {} }

Toppersexam.com
Toppersexam.com

(C) public class MyRunnable implements Runnable {public void run () { } }

(D) public class MyRunnable implements Runnable {void run() { } }

Question 27 : Which one of these events will cause a thread to die ?


Select the one correct answer.

(A) The method sleep ( ) is called.

(B) The method wait ( ) is called.

(C) Execution of the start ( ) method ends.

(D) Execution of the run ( ) method ends

Question 28 : Suppose d = {"john" :40, "peter" : 45) To obtain the number of entries in dictionary
which command do we use -

(A) (d)size()

(B) len(a)

(C) size(a)

(D) (d)len()

Question 29 : What will be the output of the following Python code snippet -
1. d = {john" :40, "peter" :45)
2. print(list(d.keys() ))

(A) ["john", "peter"]

(B) ["john":40, "peter" :45]

Toppersexam.com
Toppersexam.com

(C) ("john", "peter")

(D) ("john" : 40, "peter":45)

Question 30 : Suppose d={"john":40, "peter":45), what happens when we try to retrieve a value
using the expression d["susan") -

(A) Since "susan" is not a value in the set, Python raises a Key Error exception

(B) It is executed fine and no exception is raised, and it returns None

(C) Since "susan" is not a key in the set, python raises a Key Error exception

(D) Since "susan" is not a key in the set, Python raises a syntax error

Question 31 : Which of the following functions can help us to find the version of python that we
are currently working on -

(A) sys.version

(B) sys.version ()

(C) sys.version(0)

(D) sys.version(1)

Question 32 : The output of the functions len("abc") and sys.getsizeof("abc") will be the same ?

(A) True

(B) False

(C) No output

Toppersexam.com
Toppersexam.com

(D) Junk value

Question 33 : Telnet is a

(A) Network of Telephones

(B) Television Network

(C) Remote Login

(D) All of these

Question 34 : Which of the following is not a type of broadband Internet connection ?

(A) cable

(B) DSL

(C) Dial-up

(D) Satelite

Question 35 : A term relating to sending data to a satellite is

(A) downlink

(B) modulate

(C) demodulate

(D) uplink

Toppersexam.com
Toppersexam.com

Question 36 : Which of the following refers to dengerous programs that can be 'Caught' by
opening E-mail attachments and downloading software from internet.?

(A) Utility

(B) Virus

(C) Honey pot

(D) Spam

Question 37 : Computer and Communication technologies such as communication links to the


Internet that provide help and understanding to the end user is known as

(A) presentation file

(B) Information technology

(C) program

(D) worksheet file

(E) FTP

Question 38 : What is an E-mail ?

(A) An Internet standard, which allow users to upload and download files

(B) An online area on which a user can converse in written from about any special subject

(C) Transmission of files and messages through computer Network

(D) A real time typed conversion

Toppersexam.com
Toppersexam.com

Question 39 : What included in an E-mail address ?

(A) Domain name followed by user's name

(B) User' name followed by domain name

(C) User's name followed by postal address

(D) User's name followed by street address

Question 40 : Which of the following cannot be a part of an E-mail address ?

(A) Period (-)

(B) At sign (@)

(C) Space ()

(D) Underscore (_)

Question 41 : Sending an E-mail is similar to

(A) Writing a letter

(B) drawing a picture

(C) talking on the phone

(D) sending a package

Toppersexam.com
Toppersexam.com

Question 42 : Most mail programs automatically complete the following two parts in an E-mail

(A) From : and Body

(B) From: and Date

(C) From: and To

(D) Form: and Subject

Question 43 : What is machine learning ?

(A) The autonomous acquisition on knowledge through the use of computer programs

(B) The autonomous acquisition of knowledge through the use of manual programs

(C) The selective acquisition of knowledge through the use of computer program

(D) The selective acquisition of knowledge through the use of manual program

Question 44 : Which of the factors affect the performance of learner system does not include ?

(A) Representation scheme used

(B) Training scenario

(C) type of feedback

(D) Good data structures

Question 45 : Different learning methods does not include ?

(A) Memorization

Toppersexam.com
Toppersexam.com

(B) Analogy

(C) Deduction

(D) Introduction

Question 46 : A model of language consists of the categories which does not include ?

(A) Langauge untis

(B) Role structure of units

(C) System constraints

(D) structural units

Question 47 : ML is a field of AI consisting of learning algorithms that ?

(A) Improve their performance

(B) At executing some task

(C) Over time with experience

(D) All of the above

Question 48 : When you are typing an equation into a cell the first thing that must be entered is

(A) the first cell referenced

(B) parenthesis

(C) quotation marks

Toppersexam.com
Toppersexam.com

(D) an equal sign

(E) None of the above

Question 49 : An algorithm should have _____well-defined outputs

(A) zero

(B) 1

(C) 0 or more

(D) 1 or more

Question 50 : ______ of an algorithm represents the amount of memory space required by the
algorithm in its life cycle ?

(A) Space complexity

(B) Time complexity

(C) Quadratic Complexity

(D) Exponential Complexity

Question 51 : The space required by an algorithm is equal to the sum of the following
______components ?

(A) 1

(B) 2

(C) 3

Toppersexam.com
Toppersexam.com

(D) 4

Question 52 : Which is the formal way to express the upper bound of an algorithm's running
time ?

(A) Big Oh Notation

(B) Omega Notation

(C) Theta Notation

(D) None of the above

Question 53 : The Omega notation is the formal way to express the ________of an algorithms
running time ?

(A) upper bound

(B) medium bound

(C) lower bound

(D) Both the lower bound and the upper bound

Question 54 : O(1) means computing time is ..........

(A) Constant

(B) Quadratic

(C) Linear

(D) Cubic

Toppersexam.com
Toppersexam.com

Question 55 : Which data structure allows deleting data elements from front and inserting at
rear ?

(A) Stack

(B) Queues

(C) Deques

(D) Binary search tree

Question 56 : Which of the following sorting algorithm is of divide- and-conquer type ?

(A) Bubble sort

(B) Insertion sort

(C) Quick sort

(D) Selection sort

Question 57 : What is the minimum number of stacks of size n required to implement a queue
of size n ?

(A) One

(B) Two

(C) Three

(D) Four

Toppersexam.com
Toppersexam.com

Question 58 : If the elements "A", "B", "C" and "D" are placed in a stack and are deleted one at a
time, in what order will they be removed ?

(A) ABCD

(B) DCBA

(C) DCAB

(D) ABDC

Question 59 : Assume that the operators +, -, X are left associative and ? is right associative,
The order of precedence (form highest to lowest) is ?, X, +, - The postfix expression
corresponding to be the infix expression a +b X c – d ? e ? f is.

(A) abc X + def ? ? -

(B) abc X+de?f? -

(C) ab+c Xd – c ?f?

(D) -+aXbc ? ? def

Question 60 : Which of the following is not a valid function ?

(A) PI( )

(B) SUM( )

(C) 10(SUM)

(D) AND( )

(E) None of these

Toppersexam.com
Toppersexam.com

Question 61 : Process of inserting an element in stack is called ________ ?

(A) Create

(B) Push

(C) Evaluation

(D) Pop

Question 62 : Which bar show the used formula of selected active cell ?

(A) Menu bar

(B) Scroll bar

(C) Ribbon

(D) Formula bar

(E) None of these

Question 63 : Which of the following variable violates the definition of encapsulation ?

(A) Array variables

(B) Local variables

(C) Global variables

(D) Public variables

Toppersexam.com
Toppersexam.com

Question 64 : How can the concept of encapsulation be achieved in the program ?

(A) By using the Access specifiers

(B) By using the concept of abstraction

(C) By using only private members

(D) By using the concept of Inheritance

Question 65 : The concept of encapsulation helps in writing which type of classes in the Java
programming language ?

(A) Abstract classes

(B) Wrapper classes

(C) Mutable classes

(D) Immutable classes

Question 66 : Encapsulation is_______?

(A) technique of combining more than one member functions into a single unit.

(B) mechanism of combining more than one data member into a single unit.

(C) Mechanism of combining more than one data members and member functions that
implement on those data members into a single unit

(D) technique of combining more than one data members and member function into a single
unit, which can manipulate any data.

Toppersexam.com
Toppersexam.com

Question 67 : The physical memory is divided into :

(A) frames

(B) page

(C) segements

(D) fragments

Question 68 : paging is one solution to the problem of :

(A) pages faults

(B) starvation

(C) Internal fragmentation

(D) external fragmentation

Question 69 : Belady's Anomaly is observed in which page replacement algorithm ?

(A) FIFO

(B) LRU

(C) Optimal

(D) Not frequently used

Question 70 : The process is moved between main memory and secondary storage in which of
the following

Toppersexam.com
Toppersexam.com

(A) Segmentation

(B) paging

(C) Swapping

(D) Thrashing

Question 71 : The letter and number of the intersecting column and row is the ?

(A) cell location

(B) cell position

(C) cell address

(D) cell coordinates

(E) cell contents

Question 72 : AVERAGE ( ) returns the ________

(A) Addition of numbers

(B) Algorithm addition

(C) Arithmetic mean

(D) All of these

Question 73 : Press ______ to create a formula to sum all of the above cells ?

(A) Ctrl + =

Toppersexam.com
Toppersexam.com

(B) Alt + =

(C) Ctrl + Alt + A

(D) Alt + Tab + A

(E) None of these

Question 74 : In ______ tab you will find Auto Sum button ?

(A) Formatting tab

(B) Formulas tab

(C) Standard tab

(D) Cilpboard tab

(E) None of these

Question 75 : Several computer linked to a server to share programs and storage space ?

(A) Library

(B) Network

(C) Grouping

(D) Integrated system

Question 76 : A term related sending data to a satelite is ?

(A) Downlink

Toppersexam.com
Toppersexam.com

(B) Modulate

(C) Demodulate

(D) uplink

Question 77 : Decision support systems are used for

(A) System user

(B) Middle level managers

(C) Top level managers

(D) Line managers

Question 78 : Which of the following device is used to connet two systems, especially if the
systems use different protocols ?

(A) Repeater

(B) Gateway

(C) Bridge

(D) Hub

Question 79 : Which Excel feature enbles predefined layouts to selected tables in the worsheet
?

(A) Autoformat

(B) Header and Footers

Toppersexam.com
Toppersexam.com

(C) Undo and Redo

(D) Spelling and Grammar

(E) Autograph

Question 80 : Which layer 4 protocol is used for a Telnet connection ?

(A) IP

(B) TCP

(C) TCP/IP

(D) UDP

(E) none of these

Question 81 : Which of the following protocols uses both TCP and UDP ?

(A) FTP

(B) SMTP

(C) Telnet

(D) DNS

Question 82 : Which layer 1 devices can be used to enlarge the area covered by a single LAN
segment ?
1. Switch 2. nic
3. Hub 4.Repeater
5. RJ45 transceiver

Toppersexam.com
Toppersexam.com

(A) 1 only

(B) 1 and 3

(C) 3 and 4

(D) 5 only

(E) none of these

Question 83 : Which of the following describe router functions ?

(A) Packet switching

(B) Packet filtering

(C) Internetwork communication

(D) Path selection

(E) All of the above

Question 84 : What layer is the TCP/IP stack is equivalent to the Transport layer of the OSI
model ?

(A) Application

(B) Host-to-Host

(C) Internet

(D) Network Access

(E) none of these

Toppersexam.com
Toppersexam.com

Question 85 : For opening and closing of the files in Excel, you can use which bar ?

(A) Formatting

(B) Standard

(C) Title

(D) Formatting or Title

(E) None of these

Question 86 : MAN stands for

(A) Micro area network

(B) Metropolitan area network

(C) Macro area network

(D) Mix area network

(E) none of these

Question 87 : When the wildcard in a WHERE clause is useful ?

(A) When an exact match is required in a SELECT statement.

(B) When an exact match is not possible in a SELECT statment.

(C) When an exact match is required in a CREATE statement.

(D) When an exact match is not possible in a CREATE statement.

Toppersexam.com
Toppersexam.com

Question 88 : ________ is NOT a type of constraint in SQL language ?

(A) FOREIGNKEY

(B) PRIMARYKEY

(C) UNIQUE

(D) ALTERNATE KEY

Question 89 : Find the cities name with the condition and temperature from table 'whether'
where condition = sunny or cloudy but temperature > = 60.

(A) SELECT city, temperature, condition FROM weather WHERE condition = 'cloudy' AND
condition = 'sunny' OR temperature> = 60

(B) SELECT city, temperature, condition FROM weather WHERE condition = 'cloudy' OR condition
= 'sunny' OR temperature>=60

(C) SELECT city, temperature, condition FROM weather WHERE condition = 'sunny' OR condition
= 'cloudy' AND temperature

(D) SELECT city, temperature, condition FROM weather WHERE condition = 'sunny' AND
condition = 'cloudy' AND temperature >=60

Question 90 : Which of the following statment is correct to display all the cities with the
condition, temperatue, and humidity whose humidtiy is the range of 60 to 75 from the 'whether'
table ?

(A) SELECT * FROM weather WHERE humidity IN (60 to 75)

(B) SELECT * FROM weather WHERE humidity BETWEEN 60 AND 75

(C) SELECT * FROM weather WHERE humidity NOT IN (60 AND 75)

(D) SELECT * FROM weather WHERE humidity NOT BETWEEN 60 AND 75

Toppersexam.com
Toppersexam.com

Question 91 : ________is a program that performs some common action on database data and
also stored in the database.

(A) Stored Procedure

(B) Trigger

(C) Stored Function

(D) None of the above

Question 92 : Which statemtns is used to get all data from the student table whose name starts
with p ?

(A) SELECT*FROM student WHERE name LIKE '%p%';

(B) SELECT*FROM student WHERE name LIKE 'p%';

(C) SELECT*FROM student WHERE name LIKE'_p%;

(D) SELECT*FROM student WHERE name LIKE'%p';

Question 93 : What type of search algorithm does not use any additional information about the
problem other than the problem definition itself ?

(A) Informed Search

(B) Heuristic Search

(C) Uninformed Search

(D) Adversarial Search

Toppersexam.com
Toppersexam.com

Question 94 : Which search algorithm uses a heuristic function to guide the search towards the
goal state ?

(A) A* Search

(B) Breadth-First Search

(C) Depth-First Search

(D) Uniform Cost Search

Question 95 : In which search algorithm is the search space explored level by level ?

(A) Depth-First Search

(B) A* Search

(C) Breadth-First Search

(D) Greedy Best-First Search

Question 96 : Which uninformed search algorithm is not guaranteed to find the optimal solution
but is memory-efficient ?

(A) Breadth-First Search

(B) Depth-First Search

(C) Uniform Cost Search

(D) A* Search

Toppersexam.com
Toppersexam.com

Question 97 : What type of search is used in games where two players take turns, such as chess
or tic-tac-toe ?

(A) Informed Search

(B) Uninformed Search

(C) Adversarial Search

(D) Heuristic Search

Question 98 : In adversarial search, what is the term for the initial state of the game ?

(A) Max Node

(B) Min Node

(C) Root Node

(D) Leaf Node

Question 99 : Which algorithm is commonly used in adversarial search to evaluate game


positions by considering the best possible moves ?

(A) Depth-First Search

(B) Alpha-Beta Pruning

(C) Uniform Cost Search

(D) Greedy Best-First Search

Question 100 : What is the primary objective of the minimax algorithm in adversarial search ?

Toppersexam.com
Toppersexam.com

(A) To maximize the player's score

(B) To minimize the opponent's score

(C) To find the optimal move for the player

(D) To find the optimal move for the opponent

Question 101 : Which informed search algorithm guarantees that it will find the optimal solution
if a solution exists and the heuristic is admissible ?

(A) A* Search

(B) Breadth-First Search

(C) Depth-First Search

(D) Hill Climbing

Question 102 : Which search algorithm is prone to getting stuck in local optima and is not
suitable for certain types of problems ?

(A) Greedy Best-First Search

(B) A* Search

(C) Depth-First Search

(D) Simulated Annealing

Question 103 : In A* search, what does the total cost of a path consist of ?

(A) Only the cost to reach the current state

Toppersexam.com
Toppersexam.com

(B) The cost to reach the current state and an estimated cost to reach the goal

(C) Only the estimated cost to reach the goal

(D) The sum of all previous costs in the path

Question 104 : Which search algorithm is guaranteed to find the shallowest solution in the
search tree first ?

(A) Breadth-First Search

(B) Depth-First Search

(C) Uniform Cost Search

(D) A* Search

Question 105 : What is the primary drawback of using depth-first search in uninformed search ?

(A) It requires a lot of memory.

(B) It may not find the optimal solution.

(C) It is slow in finding solutions.

(D) It is not suitable for search problems

Question 106 : Which informed search algorithm can be used when you have no information
about the problem domain ?

(A) A* Search

(B) Hill Climbing

Toppersexam.com
Toppersexam.com

(C) Greedy Best-First Search

(D) Depth-First Search

Question 107 : Which search algorithm explores the most promising nodes first based on a
heuristic evaluation function ?

(A) Uniform Cost Search

(B) Depth-First Search

(C) Greedy Best-First Search

(D) Breadth-First Search

Question 108 : In adversarial search, what is the primary goal of the minimizing player (Min) ?

(A) To maximize their own score

(B) To minimize the opponent's score

(C) To maximize the opponent's score

(D) To find the optimal move for the maximizing player (Max)

Question 109 : Which uninformed search algorithm uses a Last-In-First-Out (LIFO) data structure
for exploration ?

(A) Breadth-First Search

(B) Depth-First Search

(C) Uniform Cost Search

Toppersexam.com
Toppersexam.com

(D) A* Search

Question 110 : What is the primary advantage of using heuristics in search algorithms ?

(A) It guarantees finding the optimal solution.

(B) It reduces memory consumption.

(C) It speeds up the search process.

(D) It eliminates the need for a goal state

Question 111 : In adversarial search, what is the terminal state of the game ?

(A) Max Node

(B) Min Node

(C) Root Node

(D) Leaf Node

Question 112 : Which search algorithm combines elements of both breadth-first and depth-first
search strategies ?

(A) Uniform Cost Search

(B) Iterative Deepening Depth-First Search

(C) A* Search

(D) Greedy Best-First Search

Toppersexam.com
Toppersexam.com

Question 113 : Which logic deals with propositions as a whole and not with the internal
structure of statements ?

(A) First-Order Logic

(B) Propositional Logic

(C) Predicate Logic

(D) Modal Logic

Question 114 : In propositional logic, how many truth values does a proposition have ?

(A) One

(B) Two

(C) Three

(D) Four

Question 115 : Which logical connective represents logical AND in propositional logic ?

(A) ∧

(B) ∨

(C) ¬

(D) →

Toppersexam.com
Toppersexam.com

Question 116 : What is the negation of the statement "It is not raining" in propositional logic ?

(A) It is raining

(B) It is snowing

(C) It is sunny

(D) It is windy

Question 117 : In propositional logic, which symbol represents logical OR ?

(A) ∨

(B) ∧

(C) ¬

(D) →

Question 118 : What is the result of the expression (P ∧ Q) ∨ (¬P ∧ R) when P is true, Q is false,
and R is true in propositional logic ?

(A) True

(B) False

(C) Cannot be determined

(D) None of the above

Question 119 : Which logic extends propositional logic by allowing variables, quantifiers, and
predicates ?

Toppersexam.com
Toppersexam.com

(A) Predicate Logic

(B) First-Order Logic

(C) Second-Order Logic

(D) Higher-Order Logic

Question 120 : In predicate logic, what do quantifiers like ∀ and ∃ represent ?

(A) Logical AND and OR

(B) Logical NOT and IMPLIES

(C) Universal and Existential quantification

(D) Conjunction and Disjunction

Question 121 : What does the symbol ∀ represent in predicate logic ?

(A) There exists

(B) For all

(C) Not exists

(D) Implies

Question 122 : In predicate logic, which quantifier expresses "there exists" or "there is at least
one" ?

(A) ∀ (Universal quantifier)

Toppersexam.com
Toppersexam.com

(B) ∃ (Existential quantifier)

(C) ¬ (Negation)

(D) ∧ (Conjunction)

Question 123 : In predicate logic, what is a predicate ?

(A) A logical operator

(B) A statement that is either true or false

(C) A function that takes arguments and returns a truth value

(D) A constant value

Question 124 : In predicate logic, what is the result of ¬(∀x P(x)) when there exists at least one x
for which P(x) is false ?

(A) True

(B) False

(C) Cannot be determined

(D) None of the above

Question 125 : Which logical connective represents logical implication in propositional logic ?

(A) ∧

(B) ∨

Toppersexam.com
Toppersexam.com

(C) ¬

(D) →

Question 126 : What is the contrapositive of the statement "If it is sunny, then I will go for a
walk" ?

(A) If I will go for a walk, then it is sunny

(B) If I will not go for a walk, then it is not sunny

(C) If it is not sunny, then I will not go for a walk

(D) If I will go for a walk, then it is not sunny

Question 127 : Which logic is used for expressing statements about objects and their properties
?

(A) Propositional Logic

(B) First-Order Logic

(C) Modal Logic

(D) Temporal Logic

Question 128 : In predicate logic, what is the symbol used for logical AND ?

(A) ∧

(B) ∨

(C) ¬

Toppersexam.com
Toppersexam.com

(D) →

Question 129 : In predicate logic, what does a variable like "x" represent ?

(A) A specific object

(B) A predicate

(C) A truth values

(D) A placeholder for an object

Question 130 : What is the purpose of quantifiers in predicate logic ?

(A) To define logical operators

(B) To represent propositions

(C) To specify the scope of variables in statements

(D) To negate statements

Question 131 : Which logic is commonly used in AI to represent knowledge about the world and
make logical inferences ?

(A) Propositional Logic

(B) Predicate Logic

(C) Modal Logic

(D) Fuzzy Logic

Toppersexam.com
Toppersexam.com

Question 132 : In predicate logic, what does the existential quantifier (∃) denote ?

(A) "For all"

(B) "There exists"

(C) "Not exists"

(D) "Implies"

Question 133 : What is the term for uncertainty that arises due to lack of information or
incomplete knowledge ?

(A) Epistemic Uncertainty

(B) Aleatoric Uncertainty

(C) Deterministic Uncertainty

(D) Probabilistic Uncertainty

Question 134 : Which AI technique deals with representing and reasoning about uncertain
information using probability theory ?

(A) Fuzzy Logic

(B) Bayesian Networks

(C) Expert Systems

(D) Genetic Algorithms

Toppersexam.com
Toppersexam.com

Question 135 : In Bayesian networks, what does a directed edge between two nodes represent
?

(A) A causal relationship from the parent node to the child node

(B) A random event

(C) A logical OR relationship

(D) A logical AND relationship

Question 136 : Which term refers to the probability distribution of a variable given the values of
its parent variables in a Bayesian network ?

(A) Joint Probability

(B) Conditional Probability

(C) Marginal Probability

(D) Prior Probability

Question 137 : What does the term "Bayesian" in Bayesian networks refer to ?

(A) It refers to the use of statistical methods

(B) It refers to the use of prior knowledge or beliefs

(C) It refers to the use of neural networks

(D) It refers to the use of decision trees

Toppersexam.com
Toppersexam.com

Question 138 : Which AI technique is particularly useful for handling uncertainty in linguistic
terms, such as "very likely" or "somewhat true" ?

(A) Bayesian Networks

(B) Fuzzy Logic

(C) Markov Decision Processes

(D) Genetic Algorithms

Question 139 : In Fuzzy Logic, what is the membership function used to represent ?

(A) The degree of truth or membership of a value in a fuzzy set

(B) The probability of an event occurring

(C) The conditional probability of an event

(D) The likelihood of an event

Question 140 : Which type of uncertainty is associated with randomness and unpredictability in
events ?

(A) Epistemic Uncertainty

(B) Aleatoric Uncertainty

(C) Deterministic Uncertainty

(D) Probabilistic Uncertainty

Toppersexam.com
Toppersexam.com

Question 141 : In decision theory, what is the term for a measure of how much an agent values
different outcomes ?

(A) Utility

(B) Probability

(C) Entropy

(D) Certainty Factor

Question 142 : Which technique is used to represent decision-making problems with sequential
actions and uncertain outcomes ?

(A) Bayesian Networks

(B) Markov Decision Processes (MDPs)

(C) Fuzzy Logic

(D) Genetic Algorithms

Question 143 : What is the primary objective in Markov Decision Processes (MDPs) ?

(A) Minimizing uncertainty

(B) Maximizing utility or reward

(C) Finding conditional probabilities

(D) Solving linear equations

Toppersexam.com
Toppersexam.com

Question 144 : In decision theory, what is the term for a situation where an agent's preferences
violate the transitive property ?

(A) Rationality

(B) Intransitivity

(C) Risk Aversion

(D) Bayesian Updating

Question 145 : Which AI technique is often used in optimization problems with uncertain or
noisy objective functions ?

(A) Fuzzy Logic

(B) Genetic Algorithms

(C) Bayesian Networks

(D) Markov Decision Processes

Question 146 : What does the term "epistemic" in epistemic uncertainty refer to ?

(A) It refers to inherent randomness.

(B) It refers to beliefs or knowledge.

(C) It refers to linguistic terms.

(D) It refers to the Markov property.

Toppersexam.com
Toppersexam.com

Question 147 : Which AI technique is used for modeling and reasoning about decision problems
involving multiple agents with conflicting interests ?

(A) Bayesian Networks

(B) Game Theory

(C) Fuzzy Logic

(D) Genetic Algorithms

Question 148 : In Bayesian networks, what does the term "conditional independence" mean ?

(A) Two variables are statistically dependent.

(B) Two variables are unrelated.

(C) Two variables have a cause-and-effect relationship.

(D) Two variables have the same probability distribution

Question 149 : What is the primary goal of a utility function in decision theory ?

(A) To measure uncertainty

(B) To represent beliefs

(C) To quantify the desirability of outcomes

(D) To calculate conditional probabilities

Question 150 : Which AI technique involves the use of rules and knowledge to make inferences
under uncertainty ?

Toppersexam.com
Toppersexam.com

(A) Fuzzy Logic

(B) Genetic Algorithms

(C) Expert Systems

(D) Markov Decision Processes

Solutions & Answers


Question 1 :

Correct Answer:A

Question 2 :

Correct Answer:A

Question 3 :

Correct Answer:D

Question 4 :

Correct Answer:B

Question 5 :

Correct Answer:C

Question 6 :

Correct Answer:D

Question 7 :

Correct Answer:B

Question 8 :

Correct Answer:A

Question 9 :

Toppersexam.com
Toppersexam.com

Correct Answer:C

Question 10 :

Correct Answer:A

Question 11 :

Correct Answer:D

Question 12 :

Correct Answer:B

Question 13 :

Correct Answer:A

Question 14 :

Correct Answer:A

Question 15 :

Correct Answer:E

Question 16 :

Correct Answer:B

Question 17 :

Correct Answer:A

Question 18 :

Correct Answer:C

Question 19 :

Correct Answer:C

Question 20 :

Toppersexam.com
Toppersexam.com

Correct Answer:C

Question 21 :

Correct Answer:A

Question 22 :

Correct Answer:C

Question 23 :

Correct Answer:A

Question 24 :

Correct Answer:A

Question 25 :

Correct Answer:A

Question 26 :

Correct Answer:C

Question 27 :

Correct Answer:D

Question 28 :

Correct Answer:B

Question 29 :

Correct Answer:A

Question 30 :

Correct Answer:C

Question 31 :

Toppersexam.com
Toppersexam.com

Correct Answer:A

Question 32 :

Correct Answer:B

Question 33 :

Correct Answer:C

Question 34 :

Correct Answer:B

Question 35 :

Correct Answer:D

Question 36 :

Correct Answer:B

Question 37 :

Correct Answer:E

Question 38 :

Correct Answer:C

Question 39 :

Correct Answer:B

Question 40 :

Correct Answer:C

Question 41 :

Correct Answer:A

Question 42 :

Toppersexam.com
Toppersexam.com

Correct Answer:B

Question 43 :

Correct Answer:A

Question 44 :

Correct Answer:D

Question 45 :

Correct Answer:D

Question 46 :

Correct Answer:D

Question 47 :

Correct Answer:D

Question 48 :

Correct Answer:D

Question 49 :

Correct Answer:D

Question 50 :

Correct Answer:A

Question 51 :

Correct Answer:B

Question 52 :

Correct Answer:A

Question 53 :

Toppersexam.com
Toppersexam.com

Correct Answer:C

Question 54 :

Correct Answer:A

Question 55 :

Correct Answer:B

Question 56 :

Correct Answer:C

Question 57 :

Correct Answer:B

Question 58 :

Correct Answer:B

Question 59 :

Correct Answer:A

Question 60 :

Correct Answer:C

Question 61 :

Correct Answer:B

Question 62 :

Correct Answer:D

Question 63 :

Correct Answer:C

Question 64 :

Toppersexam.com
Toppersexam.com

Correct Answer:A

Question 65 :

Correct Answer:D

Question 66 :

Correct Answer:C

Question 67 :

Correct Answer:C

Question 68 :

Correct Answer:D

Question 69 :

Correct Answer:A

Question 70 :

Correct Answer:C

Question 71 :

Correct Answer:C

Question 72 :

Correct Answer:C

Question 73 :

Correct Answer:B

Question 74 :

Correct Answer:B

Question 75 :

Toppersexam.com
Toppersexam.com

Correct Answer:B

Question 76 :

Correct Answer:D

Question 77 :

Correct Answer:C

Question 78 :

Correct Answer:B

Question 79 :

Correct Answer:A

Question 80 :

Correct Answer:B

Question 81 :

Correct Answer:D

Question 82 :

Correct Answer:C

Question 83 :

Correct Answer:E

Question 84 :

Correct Answer:B

Question 85 :

Correct Answer:C

Question 86 :

Toppersexam.com
Toppersexam.com

Correct Answer:B

Question 87 :

Correct Answer:B

Question 88 :

Correct Answer:D

Question 89 :

Correct Answer:C

Question 90 :

Correct Answer:B

Question 91 :

Correct Answer:A

Question 92 :

Correct Answer:B

Question 93 :

Correct Answer:C

Question 94 :

Correct Answer:A

Question 95 :

Correct Answer:C

Question 96 :

Correct Answer:B

Question 97 :

Toppersexam.com
Toppersexam.com

Correct Answer:C

Question 98 :

Correct Answer:C

Question 99 :

Correct Answer:B

Question 100 :

Correct Answer:A

Question 101 :

Correct Answer:A

Question 102 :

Correct Answer:A

Question 103 :

Correct Answer:B

Question 104 :

Correct Answer:A

Question 105 :

Correct Answer:B

Question 106 :

Correct Answer:C

Question 107 :

Correct Answer:C

Question 108 :

Toppersexam.com
Toppersexam.com

Correct Answer:B

Question 109 :

Correct Answer:B

Question 110 :

Correct Answer:C

Question 111 :

Correct Answer:D

Question 112 :

Correct Answer:B

Question 113 :

Correct Answer:B

Question 114 :

Correct Answer:B

Question 115 :

Correct Answer:A

Question 116 :

Correct Answer:A

Question 117 :

Correct Answer:A

Question 118 :

Correct Answer:A

Question 119 :

Toppersexam.com
Toppersexam.com

Correct Answer:B

Question 120 :

Correct Answer:C

Question 121 :

Correct Answer:B

Question 122 :

Correct Answer:B

Question 123 :

Correct Answer:C

Question 124 :

Correct Answer:A

Question 125 :

Correct Answer:D

Question 126 :

Correct Answer:C

Question 127 :

Correct Answer:B

Question 128 :

Correct Answer:A

Question 129 :

Correct Answer:D

Question 130 :

Toppersexam.com
Toppersexam.com

Correct Answer:C

Question 131 :

Correct Answer:B

Question 132 :

Correct Answer:B

Question 133 :

Correct Answer:A

Question 134 :

Correct Answer:B

Question 135 :

Correct Answer:A

Question 136 :

Correct Answer:B

Question 137 :

Correct Answer:B

Question 138 :

Correct Answer:B

Question 139 :

Correct Answer:A

Question 140 :

Correct Answer:B

Question 141 :

Toppersexam.com
Toppersexam.com

Correct Answer:A

Question 142 :

Correct Answer:B

Question 143 :

Correct Answer:B

Question 144 :

Correct Answer:B

Question 145 :

Correct Answer:B

Question 146 :

Correct Answer:B

Question 147 :

Correct Answer:B

Question 148 :

Correct Answer:B

Question 149 :

Correct Answer:C

Question 150 :

Correct Answer:C

Toppersexam.com

You might also like