Advanced Topics & Technical Annexure
Phases of a Compiler, Interpreters, Loaders, Linkers, Oracle Grid Architecture, PL/SQL Triggers, and Big Data Five V's Analytics.
- Trace program execution through the 6 core compiler translation phases
- Distinguish role of loaders, linkers, compilers, and dynamic interpreters
- Understand Oracle Grid database concepts and PL/SQL programmatic database triggers
- Explore Big Data analytical dimensions across the foundational Five V's
- Which of the following are the two mode of IP
security? (a) Certificate and tunnel (b) Certificate and transport (c) Transport and tunnel (d) Security and phases (e) Encryption and security
- Which of the following is a unit of storage that can
store one or more records in a hash file organization? (a) Buckets (b) Disk pages (c) Blocks (d) Nodes (e) Table
- Which of the following is true about SQL joins?
(a) The join condition is not separated from other search conditions in a query. (b) The ON clause makes code difficult to understand. (c) The join condition for natural join is basically an equijoin of all columns with same name. (d) Both (a) and (b) (e) None of the above.
SOLUTIONS
- (d); fork() creates a new process by duplicating the
calling process, The new process, referred to as child, is an exact duplicate of the calling process, referred to as parent
- (c); Aggregation allows creating complex entities
from existing entities and relationship. Aggregation is the way used to abstracting a larger amoun t object.
- (d); Breadth First Search (BFS) algorithm trav erses a
graph in a breadthward motion and uses a queue to remember to get the next vertex to start a search, when a dead end occurs in any iteration.
- (d); Multiprocessing refers to a computer system's
ability to support more than one process (program) at the same time. Multiprocessing operating systems enable several programs to run concurrently. UNIX is one of the most widely used multiprocessing systems.
- (a)
- (c); (1x82) + (2x81) + (6 x 80)
64 + 16 + 6 = (86)10
- (a); adware is a program th at installs an additional
component that feeds advertising, often by delivering pop -up ads or by installing a toolbar in your browser.
- (c); Backup Utility software is an application used to
create a duplicate copy of data to safeguard it and enable recovery in the event it is lost, corrupted or infected by malware.
- (d); The flip-flop is the basic unit of digital memory.
A flip -flop can remember one bit of data. Sets of flip-flops are called registers, and can hold bytes of data. Sets of registers are called memories, and can hold many thousands of bits, or more.
- (d); A storage class in the context of C++ variable
declarations is a type specifier that governs the lifetime, linkage, and memory location of objects. There are following storage classes , which can be used in a C++ Program - automatic, register, static, external, mutable.
- (b); The javac command in Java compiles a program
from a command prompt. It reads a Java source program from a text file and creates a compiled Java class file.
- (c); The ICMP destination unreachable message is
generated by a router (which is reachable) to inform the source host that the destination unicast address is unreachable.
- (c); Belady’s anomaly is the phenomenon in which
increasing the number of page fr ames results in an increase in the number of page faults for certain memory access patterns. This phenomenon is commonly experienced when using the first -in first-out (FIFO) page replacement algorithm.
- (d)
- (a); DISTINCT keyword can be used to retur n only
distinct (different) values.
16. Ans-(b); Shortest Job First(SJF) is the best approach
to minimize waiting time.
- (d); Two most commonly used HTTP methods-
GET - Requests data from a specified resource POST - Submits data to be processed to a specified resource
- (a); A database is in second normal form if it satisfies
the following conditions: It is in first normal form and all non -key attributes are ful ly functional dependent on the primary key.
- (c); Const keyword is used to decla re immutable
data or functions that do not change data
- (c); Cascading Style Sheets (CSS) is a style sheet
language used for describing the presentation of a document written in a mark-up language.
- (e); Regression testing is the testing after
modification of a system, component, or a group of related units to ensure that the modification is working correctly and is not damaging or imposing other modules to produce unexpected results. It falls under the class of black box testing.
- (c); Hijackers a re the type of malware that take
control of the behavior of your web browser like the home page, default search pages, toolbar etc. Hijackers redirect your browser to anothe r URL if you mistype the URL of the website you want to visit. Hijackers can also prevent you from opening a particular web site. Hijackers are annoyance to the users who use the browser often.
- (c); Retrovirus is type virus which tries to attack and
disable the anti -virus application running on the computer. A retrovirus can be consi dered anti-antivirus. Some Retroviruses attack the anti-virus application and stop it from running or some other destroys the virus definition database.
- (b); The Public Key Infrastructure (PKI) is a set of
hardware, software, people, policies, and procedures needed to create, manage, store, distribute, and revoke Digital Certificates. A Public Key Infrastructure (PKI) enables users of a basically unsecure public network s uch as the Internet to securely and privately exchange data using a public and a private cryptographic key pair that is obtained and shared through a trusted authority. There are 4 major function of Public Key Infrastructure (PKI): Confidentiality, Auth entication, Integrity, Non-Repudiation.
- (b); Thrashing or disk thrashing descri bes when a
hard drive is being overworked by moving information between the system memory and virtual memory excessively. Thrashing occurs when the system does not have enou gh memory, the system swap file is not properly configured, too much is running at the same time, or has low system resources. When thrashing occurs, you will notice the computer hard drive always working and a decrease in system performance.
- (c); Compaction refers to combining all the empty
spaces together and processes. Compaction helps to solve the problem of fragmentation, but it requires too much of CPU time.
- (c); The banker’s algorithm is a resource allocation
and deadlock avoidance algori thm that tests for safety by simulating the allocation for predetermined maximum possib le amounts of all resources. Banker's algorithm is a deadlock avoidance algorithm. It is named so because this algorithm is used in banking systems to determine whether a loan can be granted or not.
- (d); Syntax analysis is the second phase of compiler
which is also called as parsing. Parser converts the tokens produced by lexical analyzer into a tree like representation called parse tree. A parse tree describes the syntactic structure of the input.
- (a); Code optimization is the fifth phase of compil er
design. It transforms the code so that it consumes fewer resources and produces more speed. The meaning of the code being transformed is not altered. Optimization can be categorized into two types: machine dependent and machine independent.
- (a); Que ue is also an abstract data type or a linear
data structure, in which the first element is inserted from one end called REAR(also called tail), and the deletion of exist ing element takes place from the other end called as FRONT(also called head). This makes queue as FIFO(First in First Out) data structure, which means that element inserted first will also be removed first.
- (b); Complexity of an algorithm is a measure of the
amount of time and/or space required by an algorithm for an input of a given size (n).
- (c); An instruction cycle (sometimes called
fetch-decode-execute cycle) is the basic operation cycle of a computer. It is the process by which a computer ret rieves a program instruction from its memory, determines what actions the instruction requires, and carries out those actions.
- (b); A honeypot is a security system designed to
detect and counteract unauthorized access or use of a computer system. The n ame "honeypot" is used in reference to the way the system traps unauthorized users, suc h as hackers or spammers so they can be identified and prevented from causing further problems.
- (c); Reverse Address Resolution Protocol, a TCP/IP
protocol that permits a physical address, such as an Ethernet address, to be translated into an IP address.
- (c); ICMP is the protocol at the Network layer that is
used Ping command. Ping is a networking utility program or a tool to test if a particular host is reachable. Ping basically used to check connectivity.
36. Ans-(b); a weak entity is an entity that cannot be
uniquely identified by its attributes alone. A weak entity has no primary key; it must use a foreign key in conjunction with its attributes to create a p rimary key.
- (d); The state of a process is defined in part by the
current activity of that process. There are 5 states of a process - New, Running, Waiting, Ready and Terminated.
- (e); A linked list is a linear data structure where each
element is a separate object. Each element (we will call it a node) of a list is comprising of two i tems - the data and a reference to the next node. The last node has a reference to null. The entry point into a linked list is called the head of the list.
- (d); A wo rm is a type of virus that spreads through
your computer by creating duplicates of itse lf on other drives, systems and networks.
- (c); An SQL INSERT statement adds one or more
records to any single table in a relational database.
- (b); A Subnet mask is a 32-bit number that masks an
IP address, and divides the IP address into network address and host address. Default subnet mask of Class C IP address is 255.255.255.0
- (b); WiMAX (Worldwide Interoperability for
Microwave Access) is a wireless indust ry coalition dedicated to the advancement of IEEE 802. 16 standards for broadband wirel ess access (BWA) networks.
- (a); In symmetric key cryptography, same key is
shared, i.e. the same key is used in both encryption and decryption.
- (a); Kerberos is a network authentication protocol
that is designed to provide strong authentication for client/server applications using secret -key cryptography.
- (b); When a statement modifies data, its transaction
holds an exclusive lock on data that prevents other transactions from accessing the data.
- (d); The UPDATE statement is used to modify t he
existing records in a table. Syntax: UPDATE table_name SET column1 = value1, column2 = value2, ... WHERE condition;
- (d); A supercomputer is a computer that performs at
or near the currently highest operational rate for computers. The Sunway TaihuLi ght is a Chinese supercomputer which, as of November 2017, is ranked number one in the TOP500 list as the fastest supercomputer in the world.
- (c); Cobian Backup is a freeware for Windows that
enables the users to back up files and directories from the existing location and can be done on the same computer or within the same network.
- (d); Hybrid clouds combine public and private
clouds, bound together by technology that allows data and applications to be shared between them. By allowing data and applications to move between private and public clouds, hybrid cloud gives businesses greater flexibility and more deployment options.
- (c); In Backtracking me thod, beginning from the
statement at which an error symptom has been observed, the source code is traced backwards until the error is discovered. Unfortunately, as the number of source lines to be traced back increases, the number of potential backward pa ths increases and may become unmanageably large thus limiting the use of this approach.
- (d); Preventive maintenance refers to regular,
routine maintenance to help keep equipment up and running, preventing any unplanned downtime and expensive costs from unanticipated equipment failure. It requires careful planning and scheduling of maintenance on equipment before there is an actual problem as well as keeping accurate records of past inspections and servicing reports.
- (b); A data can be moved from mic roprocessor to
memory and also from memory to microprocessor. So, Data bus of any microprocessor is always Bi-directional. Data bus is 8 Bits long.
- (c); Network security audit helps to determine the
effectiveness of network security to resolving underlying network security issues. Network security audits are critical to understanding how well your organization is protected against security threats, whether they are internal or external. A network security audit is part of an overall information systems audit framework and includes application software audit, operation system audit, and business audit.
- (b); 'Or' operator. Performs a logical disjunction on
two expressions. (if either or both expressions evaluate to True, result is True)
- (b); Stack , because stack is used in evolution of
expression.
- (b)
- (d)
- (c); IPSec (IP Security) supports transport and tunnel
mode, both of which can use either ESP or AH packets. Transport mode secures packets between two endpoints, typically in a clien t-to-gateway scenario, and leaves the original IP header unchanged. Tunnel mode encapsulates the IP header and payload into a new IPSec packet for transfer between two endpoints, typically two IPSec gateway devices.
- (a); A unit of storage that can stor e one or more
records in a hash file organization is denoted as buckets.
- (c);
Professional Knowledge Practice Set:10
- Which of the following is a special kind of a store
procedure that automatically executes when an event occurs in the data base server like insertion, deletion or updation of data? (a) Procedures (b) Triggers (c) Functions (d) Attribute (e) Join
- Which of the following is most suitable
programming language for scientific purpose? (a) COBOL (b) BASIC (c) FORTRAN (d) C (e) C++
3. To promote encapsulation, Java provides an access
modifier of type: (a) Public (b) Private (c) Protected (d) Both (a) and (b) (e) None of the above
- Which of the following is the use of javac in java?
(a)Convert a java program into binary code (b)Convert a java program into bytecode (c)Convert a java program into machine language (d)Convert a binary code into java program (e)Convert machine language into high l evel language
5. By which statement you can force immediate
termination of a loop, by passing the conditional expression and any remaining code in the body of the loop. (a)Break (b)Continue (c)Terminate (d)Loop Close (e) Return
6. What is the file extension of compiled java program?
(a) .class (b) .java (c) .css (d) .html (e) .c
- Which of the following tag is used to link the URL?
(a) (b)