Font size
WorksheetsApp Support Review
Total questions: 72
Worksheet time: 38mins
which of the following is wrapper class in java
Float
Integer
Double
all of above
which one of the following is true?
runnable interface declares the start method
Thread.start() method is used to move a thread from a new state to the runnable state
Thread.runnable() method is used to move a thread from new state to the runnable state
Thread.run() method is used to move a thread from new state to the runnable state
Which one of the following statement is not true about the collection interface?
all methods defined in set interface are also defined in collection interface
list interface extends collection interface
set interface extends collection interface
all methods defined in list interface are also defined in collection interface
which one of the following is a legal decelration of a two- dimensional array of integers
int[] a[] = new int[5][];
int[5][5] a = new int[][];
int a = new int[5,5];
int[][] a = new int[][5];
which interface needs to be implemented in order to make an object seralized
clonnable
remote
seralizable
none of the above
which of this class is used by character streams for reading data from buffer
BufferReader
InputStreamReader
FileReader
FileInputStream
which of this class is used by character streams for reading data from buffer
BufferReader
InputStreamReader
FileReader
FileInputStream
which one this keywords are used to create a class in java
class
struct
int
none of the avove
Who invented Java?
James Gosling
Sergey Brin
Steve Jobs
Bill Gates
Tim Berners-Lee
Which company owns Java?
Oracle
Microsoft
Apple
Intel
The following Syntax is used for?
class Subclass-name extends Superclass-name
{
//methods and fields
}
Polymorphism
Encapsulation
Inheritance
None of the above
A class that is inherited is called a ______ .
superclass
Subclass
subsetclass
Relativeclass
This is a general structure a method.
<Returnvalue type> <Method Name> (argument / s)
<Modifier> < type> <Method Name> (parameter / s)
public static void main (String[ ] args)
<Method Name> (parameter)
There two (2) types of method which are
return
Standard library
User defined
non-return
PL SQL Stands for
Programming Language for SQL
Procedural Language for SQL
Plain Language for SQL
None of these
Name 4 attributes of explicit cursors
%FOUND,%NOTFOUND,%ROWCOUNT,%ISOPEN
%FOUND,%NOTFOUND,%ISCLOSE,%ISOPEN
%FOUND,%OPEN,%ROWCOUNT,%ISOPEN
None of these
________ provide a way for your program to select multiple rows of data from the database and then process each row individually.
Trigger
Cursor
Select
Procedure
_____cursor is declared by ORACLE for each UPDATE, DELETE and INSERT SQL commands.
Internal
External
Implicit
Explicit
_______ is used to recreate if trigger already exists
Create
Cursor
Procedure
Replace
Which SQL function is used to count the number of rows in a SQL query?
COUNT()
NUMBER()
SUM()
COUNT(*)
Which of the following SQL clauses is used to DELETE tuples from a database table?
DELETE
REMOVE
DROP
CLEAR
Which query would return only the fields DesignerID and Designer?
SELECT * FROM Designers
SELECT DesignerID, Name FROM Designers
SELECT DesignerID AND Designer FROM Designers
SELECT DesignerID, Designer FROM Designers
What is the most common JOIN statement used in business?
Inner Join
Left Join
Right Join
Full Outer Join
Which join would you use to create a query that returns ALL data from Table B and only those on Table A that match?
Inner Join
Left Join
Right Join
Full Outer Join
Q2. If 5 tables are joined, what is the minimum number of join conditions needed in order to avoid Cartesian Product?
3
4
5
6
Q4. An outer join, either Left or Right, retreives records that match
as well as records that do not match.
True
False
Q5. How many records will the following SQL statement produce?
SELECT Dept_ID, Title_ID
FROM Department, JobTitle;
5
13
18
65
If a required skillset is in short supply it may be difficult for the service provider to know what is needed without additional superfluous contact with partners, hiring agencies and contractors. What term best describes this factor for dealing with partners or suppliers?
Demand patterns
Resource scarcity
External constraints
Strategic focus
Which pair of terms does NOT represent a valid ITIL 4 dimension?
Partners and suppliers
Social and environmental
Value streams and processes
Information and technology
What considerations influence the supplier strategy of an organization?
Contracts and agreements
Type of cooperation with suppliers
Corporate culture of the organization
Level of formality
Which dimension of service management considers governance, management, and communication?
Organizations and people
Information and technology
Partners and suppliers
Value streams and processes
Which is NOT a key focus of the ‘information and technology’ dimension?
Security and compliance
Communication systems and knowledge bases
Workflow management and inventory systems
Roles and responsibilities
What is a series of steps an organization takes to create and deliver products and services to consumers?
Process
Value streams
Procedures
Practices
What is a shell script?
group of commands
a file containing a series of commands
group of functions
a file containing special symbols
Which of the following commands is used to display the directory attributes
cat
ls
mkdir
cp
Which command is used to remove a file?
remove
del
rm
mv
The following command can list out all the current active logins.
A - whoami
B - who am i
C - who
D - None of the above.
In a system, if 5 people are currently using the vi editor. then the number of corresponding processes will be
1
5
2
0
The mv command changes
Only the directory entry
Only the directory entry and i-node
Only the i-node number
None of the above
Unix operating system is written in
Ada Language
Perl Language
C Language
Pascal Language
Which command is used to create a file
ls
cat
vi
lyrix
Who was the first know user of the Caesar Cipher?
Caesar Romanus
Julius Caesar
Alan Turing
There isn't one
In Cryptography, original message, before being transformed, is called
Simple Text
Plain Text
Cipher Text
Filled Text
An encryption algorithm transforms plain text into:
Cipher text
Simple Text
Empty Text
Plain Text
The art and science of breaking the cipher text is known as
Cryptanalysis
Cryptography
Staganography
Watermarking
The _______ is a number or a set of numbers on which the cipher operates.
secret
cipher
key
none of the mentioned
Which of the following is a type of middleware?
I. RPC
II. Object middleware
III. Database middleware
IV. TP middleware
I, III
I, II, III
II, III, IV
I, II, III and IV
In the diagram, A is _____.
Web server
Application server
File server
Grid computing
What is the need for DevOps?
Increase deployment frequency
Lower failure rate of new releases
1 and 2
none
What are the Business advantages of DevOps?
Faster delivery of features
less stable operating environments
More time available to add value
2 and 3
1 and 3
How does solving difficult-customer situations benefit your company?
It will generate repeat business.
The difficult customers won’t bother you again.
You will get a promotion.
All the employees will get promotions.
Review: The order of which the shell references to execute after Aliases is ____________
File system
Shell reserved word
Function
Built-in commands
True or False: The Shell is an interface between the user and the kernel
True
False
________ in shell scripts begin with at a pound sign "#" and continue to the end of the line.
hashtag
comments
remarks
note
She-bang, the ______________
number one single of Ricky Martin
the first line
the first argument
best single of Justin Bieber
True or False: GREP comes from the term "global search", regular expression and print.
True
False
What acronym represents the four basic functions of persistent data storage?
CRUD
SQL
ACID
SaaS
Which are valid data types in SQL?
VARCHAR()
INT
CHAR()
STR()
FLOAT
Which are valid joins in SQL?
CROSS JOIN
FULL INNER JOIN
FULL OUTER JOIN
LEFT JOIN
Which of the following are the five built-in functions provided by SQL?
A. COUNT, SUM, AVG, MAX, MIN
B. SUM, AVG, MIN, MAX, MULT
C. SUM, AVG, MULT, DIV, MIN
D. SUM, AVG, MIN, MAX, NAME
Which of the following must be enclosed in double quotes?
A) Dates
B) Column Alias
C) Strings
D) All of the above
1.Which is the subset of SQL commands used to manipulate Oracle Database structures, including tables?
a) Data Definition Language(DDL)
b) Data Manipulation Language(DML)
c) DDL and DML
d) None of the Mentioned
2. In SQL, which command is used to SELECT only one copy of each set of duplicable rows
a) SELECT DISTINCT
b) SELECT UNIQUE
c) SELECT DIFFERENT
d) All of the Mentioned
A stand alone computer cannot connect to the Internet or any other computer.
true
false
Which of the following does a computer need to connect to a network or other computer devices?
ethernet card
NIC card
IP Address
WiFi
