Create Account
Sign In
Toggle navigation
Home
Practice Exams
Official IQ Testing Hub
MCQ Learn
Board Exams
Learn
BISE Courses
Blog
About Us
Contact Us
00
:
52
:
00
Q:
1
/
58
🤖
Evaluating Your Answers
Please wait while our AI system evaluates your descriptive answers...
This may take a few moments.
⏳ Processing...
We're using advanced AI to provide detailed feedback on your answers.
PHP Programming Mock Test 8
Exam Duration:
00:52:00
PHP Programming Mock Test 8
: Question
1
of 58
Who provides the interface to access the services of the operating system?
1 Mark(s)
Your Answer:
API
API
System call
System call
Library
Library
Assembly instruction
Assembly instruction
What is the purpose of the Semaphore class in C# multithreading?
1 Mark(s)
Your Answer:
To provide synchronization mechanisms for multithreaded programs
To provide synchronization mechanisms for multithreaded programs
To signal one or more waiting threads that an event has occurred
To signal one or more waiting threads that an event has occurred
To manage a collection of threads
To manage a collection of threads
To limit the number of threads that can access a resource at a time
To limit the number of threads that can access a resource at a time
Control and Status registers are used by the processor to control:
1 Mark(s)
Your Answer:
Design of the Processor
Design of the Processor
Operation of the Processor
Operation of the Processor
Speed of the Processor
Speed of the Processor
Execution of the Processor
Execution of the Processor
The geostationary satellite used for communication systems
1 Mark(s)
Your Answer:
rotates with the earth
rotates with the earth
remains stationary relative to the earth
remains stationary relative to the earth
is positioned over equator
is positioned over equator
All of the above
All of the above
None of the above
None of the above
How do you find the number of days in the current month in Ruby?
1 Mark(s)
Your Answer:
Date.today.days_in_month
Date.today.days_in_month
Time.now.days_in_month
Time.now.days_in_month
DateTime.current.days_in_month
DateTime.current.days_in_month
Time.days_in_current_month
Time.days_in_current_month
Which shortcut key combination reset highlighted text to a default font in MS Word?
1 Mark(s)
Your Answer:
CTRL+ Backspace.
CTRL+ Backspace.
CTRL+ Spacebar.
CTRL+ Spacebar.
CTRL+R.
CTRL+R.
None of these.
None of these.
In domain name, a full domain name always ends up at:
1 Mark(s)
Your Answer:
1 node
1 node
2 nodes
2 nodes
0 node
0 node
null node
null node
In Raman spectroscopy, the energy of the change comes from:
1 Mark(s)
Your Answer:
electron
electron
photon
photon
ion
ion
molecule
molecule
Which one of the following can’t be used for polymorphism?
1 Mark(s)
Your Answer:
Member functions overloading
Member functions overloading
Static member functions
Static member functions
global member function
global member function
Constructor overloading
Constructor overloading
Ambari . . . . . . . . deliver a template approach to cluster deployment.
1 Mark(s)
Your Answer:
View
View
Stack Advisor
Stack Advisor
Blueprints
Blueprints
All of the mentioned
All of the mentioned
What does the built-in function hex() do in Python?
1 Mark(s)
Your Answer:
Converts an integer to a hexadecimal string
Converts an integer to a hexadecimal string
Converts a string to lowercase
Converts a string to lowercase
Returns the square of a number
Returns the square of a number
Returns the absolute value of a number
Returns the absolute value of a number
Which of the following is secreted by the liver?
1 Mark(s)
Your Answer:
Gastric juice
Gastric juice
Saliva
Saliva
Pancreatic juice
Pancreatic juice
Bile juice
Bile juice
The pointer can accidentally be reassigned to another memory location Which keyword is used in C++ to define a function parameter that cannot be modified?
1 Mark(s)
Your Answer:
static
static
const
const
volatile
volatile
register
register
Resistivity of Silver is:
1 Mark(s)
Your Answer:
1.62x10-8 Ωm
1.62x10-8 Ωm
2.35x10-8 Ωm
2.35x10-8 Ωm
4.82x10-8 Ωm
4.82x10-8 Ωm
5.25x10-8 Ωm
5.25x10-8 Ωm
Which of these methods can be used to obtain the coordinates of a mouse?
1 Mark(s)
Your Answer:
getPoint()
getPoint()
getCoordinates()
getCoordinates()
getMouseXY()
getMouseXY()
getMouseCordinates()
getMouseCordinates()
The Shortcut key to split a table in MS Word is?
1 Mark(s)
Your Answer:
Ctrl + Alt + Enter
Ctrl + Alt + Enter
Ctrl + Shift + Enter
Ctrl + Shift + Enter
Alt + Shift + Enter
Alt + Shift + Enter
Alt + space + Enter
Alt + space + Enter
What will be the output shape of the following Python code? import turtle t=turtle.Pen() for i in range(0,6): t.forward(100) t.left(60)
1 Mark(s)
Your Answer:
Hexagon
Hexagon
Octagon
Octagon
Pentagon
Pentagon
Heptagon
Heptagon
The unreliable and connectionless protocol is:
1 Mark(s)
Your Answer:
TCP
TCP
ARP
ARP
IP
IP
RARP
RARP
How many properties are associated with the Response event?
1 Mark(s)
Your Answer:
1
1
2
2
3
3
4
4
In which topology is every node connected to a central device?
1 Mark(s)
Your Answer:
Star
Star
Bus
Bus
Ring
Ring
Mesh
Mesh
Computers that can operate on alternating current or special batteries, are:
1 Mark(s)
Your Answer:
hybrid computers
hybrid computers
analog computers
analog computers
notebook computers
notebook computers
berry computers
berry computers
When mapping a many-to-many unary relationship into a relation which of the following is true?
1 Mark(s)
Your Answer:
One relation is created.
One relation is created.
Two relations are created.
Two relations are created.
Three relations are created.
Three relations are created.
Four relations are created.
Four relations are created.
What is the primary role of the HBase Master Server in HBase architecture?
1 Mark(s)
Your Answer:
Execute MapReduce jobs
Execute MapReduce jobs
Manage computation resources
Manage computation resources
Manage and coordinate region servers
Manage and coordinate region servers
Perform data analytics in Hadoop
Perform data analytics in Hadoop
Thread processor affinity is the set of:
1 Mark(s)
Your Answer:
Processes
Processes
Processors
Processors
Programs
Programs
Applications
Applications
Which of the following is not the class of NoSQL?
1 Mark(s)
Your Answer:
Document stores
Document stores
Multidimension stores
Multidimension stores
Key-value stores
Key-value stores
Memcache
Memcache
What will be the output of the following Python code? a = [5,5,6,7,7,7] b = set(a) def test(lst): if lst in b: return 1 else: return 0 for i in filter(test, a): print(i,end=" ")
1 Mark(s)
Your Answer:
5 5 6
5 5 6
5 6 7
5 6 7
5 5 6 7 7 7
5 5 6 7 7 7
5 6 7 7 7
5 6 7 7 7
In Internet Protocol Version (IPv6), the type of traffic that expects minimum delay is:
1 Mark(s)
Your Answer:
controlled transmission
controlled transmission
congestion controlled traffic
congestion controlled traffic
close traffic
close traffic
non-congestion traffic
non-congestion traffic
EBCDIC stands for__________?
1 Mark(s)
Your Answer:
Extended Binary Coded Decimal Interchange Code
Extended Binary Coded Decimal Interchange Code
Extended Bit Code Decimal Interchange Code
Extended Bit Code Decimal Interchange Code
Extended Bit Case Decimal Interchange Code
Extended Bit Case Decimal Interchange Code
Extended Binary Case Decimal Interchange Code
Extended Binary Case Decimal Interchange Code
What is the purpose of the ARP protocol?
1 Mark(s)
Your Answer:
Resolve IP to MAC
Resolve IP to MAC
Resolve MAC to IP
Resolve MAC to IP
Resolve Domain to IP
Resolve Domain to IP
Resolve NetBIOS to IP
Resolve NetBIOS to IP
In peer-to-peer networking:
1 Mark(s)
Your Answer:
there is only one server and many clients
there is only one server and many clients
there is only one client and many servers
there is only one client and many servers
every computer is capable of playing the role of server
every computer is capable of playing the role of server
every computer is capable of playing the role of client, server or both at the same time
every computer is capable of playing the role of client, server or both at the same time
Trackball is an example of:
1 Mark(s)
Your Answer:
programming device
programming device
pointing device
pointing device
output device
output device
software
software
In Ruby, which keyword is used to refer to the current instance of a class?
1 Mark(s)
Your Answer:
this
this
instance
instance
self
self
object
object
Red blood cells lack the presence of:
1 Mark(s)
Your Answer:
nucleus
nucleus
vacuole
vacuole
cell wall
cell wall
cytoplasm
cytoplasm
What is the default value of the asyc attribute?
1 Mark(s)
Your Answer:
0
0
1
1
False
False
True
True
What type of device is a computer printer ?
1 Mark(s)
Your Answer:
Input
Input
Output
Output
Software
Software
Storage
Storage
In JavaBeans, what is the purpose of the getter method?
1 Mark(s)
Your Answer:
To set the value of a property
To set the value of a property
To create a new instance of a bean
To create a new instance of a bean
To retrieve the value of a property
To retrieve the value of a property
To execute a SQL query
To execute a SQL query
Which Apache project is used for data ingestion from relational databases?
1 Mark(s)
Your Answer:
Sqoop
Sqoop
Flume
Flume
Pig
Pig
Hive
Hive
Which type of chart use in time changing project?
1 Mark(s)
Your Answer:
Bar
Bar
Histo
Histo
Line
Line
None of these
None of these
A nonlinear scale used when there is a large range of quantities is termed as:
1 Mark(s)
Your Answer:
exponential scale
exponential scale
nonlinear scale
nonlinear scale
algebraic scale
algebraic scale
logarithmic scale
logarithmic scale
Which of the following statements about e-mail is true?
1 Mark(s)
Your Answer:
An e-mail cannot contain both pdf and zip file A as an attachment
An e-mail cannot contain both pdf and zip file A as an attachment
CC field can be empty in an email
CC field can be empty in an email
E-mail cannot have more than 5 attachments
E-mail cannot have more than 5 attachments
To field in email cannot be blank
To field in email cannot be blank
Which of the following languages compile the code to Common Intermediate Language(CIL) code as its first stage:
1 Mark(s)
Your Answer:
Assembly Language
Assembly Language
.NET languages
.NET languages
PHP
PHP
Java
Java
Which of the following sets the color of any text decoration, such as underlines, overlines, and strike throughs?
1 Mark(s)
Your Answer:
text-font
text-font
text-format
text-format
text-color
text-color
text-decoration-color
text-decoration-color
The antiderivative of certain elementary functions cannot themselves be expressed as:
1 Mark(s)
Your Answer:
elementary function
elementary function
exponential function
exponential function
transfer function
transfer function
unidirectional function
unidirectional function
Choose the wrong statement about the properties used in C#.NET?
1 Mark(s)
Your Answer:
Each property consists of accessor as get and set
Each property consists of accessor as get and set
A property cannot be either read or write only
A property cannot be either read or write only
Properties can be used to store and retrieve values to and from the data members of a class
Properties can be used to store and retrieve values to and from the data members of a class
Properties are like actual methods which work like data members
Properties are like actual methods which work like data members
`malloc()` returns a pointer of type:
1 Mark(s)
Your Answer:
Int pointer
Int pointer
Void pointer
Void pointer
Char pointer
Char pointer
Null pointer
Null pointer
What is the result of 2 ** 3 ** 2 ?
1 Mark(s)
Your Answer:
64
64
512
512
18
18
81
81
In Ruby, how do you convert a string to an array of characters?
1 Mark(s)
Your Answer:
split
split
chars
chars
to_chars
to_chars
to_a
to_a
Which layer 4 protocol is used for a Telnet connection?
1 Mark(s)
Your Answer:
IP
IP
TCP
TCP
TCP/IP
TCP/IP
UDP
UDP
Which of the following property defines the space between cells in a table?
1 Mark(s)
Your Answer:
auto
auto
border
border
spacing
spacing
border-spacing
border-spacing
Which command will create a dynamic pool named Todd that will provide you with 30 global addresses?
1 Mark(s)
Your Answer:
ip nat pool Todd 171.16.10.65 171.16.10.94 net 255.255.255.240
ip nat pool Todd 171.16.10.65 171.16.10.94 net 255.255.255.240
ip nat pool Todd 171.16.10.65 171.16.10.94 net 255.255.255.224
ip nat pool Todd 171.16.10.65 171.16.10.94 net 255.255.255.224
ip nat pool todd 171.16.10.65 171.16.10.94 net 255.255.255.224
ip nat pool todd 171.16.10.65 171.16.10.94 net 255.255.255.224
ip nat pool Todd 171.16.10.1 171.16.10.254 net 255.255.255.0
ip nat pool Todd 171.16.10.1 171.16.10.254 net 255.255.255.0
The output of the reduce task is typically written to the FileSystem via . . . . . . . .
1 Mark(s)
Your Answer:
OutputCollector.collect
OutputCollector.collect
OutputCollector.get
OutputCollector.get
OutputCollector.receive
OutputCollector.receive
OutputCollector.put
OutputCollector.put
A coin placed in a glass of water appears raised due to which phenomenon?
1 Mark(s)
Your Answer:
A) Reflection
A) Reflection
B) Diffraction
B) Diffraction
C) Refraction
C) Refraction
D) Scattering
D) Scattering
What does the "as" keyword do in C#?
1 Mark(s)
Your Answer:
Defines a namespace
Defines a namespace
Creates a new instance
Creates a new instance
Performs type casting
Performs type casting
Declares a static method
Declares a static method
Determine Output: #define prod(a,b) a*b void main() { int x=3, y=4; printf("%d", prod(x+2, y-1)); }
1 Mark(s)
Your Answer:
15
15
10
10
12
12
11
11
Attributes could be applied to . . . . . . . .
1 Mark(s)
Your Answer:
Method
Method
Class
Class
Assembly
Assembly
All of the mentioned
All of the mentioned
The "href " attribute in HTML document is used to define:
1 Mark(s)
Your Answer:
Paragraph
Paragraph
Heading
Heading
Table
Table
Link Destination
Link Destination
Two objects of masses 2 kg and 4 kg are dropped from the same height. Neglecting air resistance, which statement is correct?
1 Mark(s)
Your Answer:
A) Heavier object reaches first
A) Heavier object reaches first
B) Lighter object reaches first
B) Lighter object reaches first
C) Both reach at the same time with same velocity
C) Both reach at the same time with same velocity
D) Both reach at the same time but with different velocities.
D) Both reach at the same time but with different velocities.
In Pig, what is the significance of the CROSS statement?
1 Mark(s)
Your Answer:
Generate the cross product of two or more relations
Generate the cross product of two or more relations
Group data based on a specified key
Group data based on a specified key
Join data from multiple relations
Join data from multiple relations
Load data into a relation
Load data into a relation
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.