PERL MOCK TEST PERL MOCK TEST II

Similar documents
PYTHON MOCK TEST PYTHON MOCK TEST III

C# MOCK TEST C# MOCK TEST II

DESIGN PATTERNS MOCK TEST DESIGN PATTERNS MOCK TEST III

MAVEN MOCK TEST MAVEN MOCK TEST I

DESIGN PATTERNS MOCK TEST DESIGN PATTERNS MOCK TEST II

DB2 MOCK TEST DB2 MOCK TEST I

VB.NET MOCK TEST VB.NET MOCK TEST III

CICS MOCK TEST CICS MOCK TEST I

8/13/ /printqp.php?heading=II BSc [ ], Semester III, Allied: COMPUTER PROGRAMMING-PERL -309C&qname=309C

HIVE MOCK TEST HIVE MOCK TEST III

MAVEN MOCK TEST MAVEN MOCK TEST IV

JAVASCRIPT MOCK TEST JAVASCRIPT MOCK TEST I

JAVA MOCK TEST JAVA MOCK TEST III

GO MOCK TEST GO MOCK TEST I

COBOL MOCK TEST COBOL MOCK TEST III

C# MOCK TEST C# MOCK TEST I

JAVA MOCK TEST JAVA MOCK TEST IV

ANGULARJS - MOCK TEST ANGULARJS MOCK TEST II

HTML5 MOCK TEST HTML5 MOCK TEST I

GO - OPERATORS. This tutorial will explain the arithmetic, relational, logical, bitwise, assignment and other operators one by one.

HBASE MOCK TEST HBASE MOCK TEST III

JAVA MOCK TEST JAVA MOCK TEST II

NODE.JS MOCK TEST NODE.JS MOCK TEST I

MAVEN MOCK TEST MAVEN MOCK TEST III

HIBERNATE MOCK TEST HIBERNATE MOCK TEST I

NODE.JS MOCK TEST NODE.JS MOCK TEST IV

JSP MOCK TEST JSP MOCK TEST III

PL/SQL MOCK TEST PL/SQL MOCK TEST IV

EJB MOCK TEST EJB MOCK TEST IV

CSS MOCK TEST CSS MOCK TEST III

ANDROID MOCK TEST ANDROID MOCK TEST IV

HIBERNATE MOCK TEST HIBERNATE MOCK TEST II

JCL MOCK TEST JCL MOCK TEST IV

JDBC MOCK TEST JDBC MOCK TEST IV

NODE.JS MOCK TEST NODE.JS MOCK TEST II

QC MOCK TEST QC MOCK TEST

GWT MOCK TEST GWT MOCK TEST I

JQUERY MOCK TEST JQUERY MOCK TEST III

HIBERNATE MOCK TEST HIBERNATE MOCK TEST IV

JSP MOCK TEST JSP MOCK TEST IV

JCL MOCK TEST JCL MOCK TEST III

QTP MOCK TEST QTP MOCK TEST II

HTML5 MOCK TEST HTML5 MOCK TEST IV

DOCUMENT SECURITY IN WORD 2010

Java Loop Control. Programming languages provide various control structures that allow for more complicated execution paths.

SPRING MOCK TEST SPRING MOCK TEST I

COMPUTER PROGRAMMING LOOPS

Computer Programming: C++

GNU ccscript Scripting Guide IV

NODE.JS MOCK TEST NODE.JS MOCK TEST III

1. Introduction. 2. Scalar Data

COMPILER DESIGN - CODE OPTIMIZATION

VB.NET MOCK TEST VB.NET MOCK TEST I

SERVLETS MOCK TEST SERVLETS MOCK TEST III

3.1 Fractions to Decimals

Perl. Interview Questions and Answers

PERL Scripting - Course Contents

CSCI-GA Scripting Languages

RUBY VARIABLES, CONSTANTS AND LITERALS

Perl: Arithmetic, Operator Precedence and other operators. Perl has five basic kinds of arithmetic:

Examples of Using the ARGV Array. Loop Control Operators. Next Operator. Last Operator. Perl has three loop control operators.

Beginning Perl. Third Edition. Apress. JAMES LEE with SIMON COZENS

PARROT - PROGRAMMING EXAMPLES

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

6.001 Recitation 23: Register Machines and Stack Frames

Chapter 8. Statement-Level Control Structures

Scripting Languages Perl Basics. Course: Hebrew University

UNIX Shell Programming

BOOTSTRAP MOCK TEST BOOTSTRAP MOCK TEST III

Chapter 8 Statement-Level Control Structures

1 Register 2 Take Course 3 Take Test 4 Get Certificate

SELENIUM - REMOTE CONTROL

IT441. Subroutines. (a.k.a., Functions, Methods, etc.) DRAFT. Network Services Administration

Using References to Create Complex Structures. The array and hash composers

Indian Institute of Technology Kharagpur. PERL Part II. Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. I.I.T.

Lecture 3 Tao Wang 1

Querying Data with Transact SQL

(Refer Slide Time: 01:12)

Computer Science and Engineering 331. Midterm Examination #1. Fall Name: Solutions S.S.#:

AWK - PRETTY PRINTING

QUIZ: What value is stored in a after this

Hands-On Perl Scripting and CGI Programming

Chapter 6 Control Flow. June 9, 2015

Introduction. Following are the types of operators: Unary requires a single operand Binary requires two operands Ternary requires three operands

Handshake Step by Step Sign up Instructions for Career Connections Event

THE FORMULAS TAB, CELL REFERENCING,THE VIEW TAB & WORKBOOK SECURITY THE FORMULAS TAB, CELL REFERENCING, THE VIEW TAB & WORKBOOK SECURITY OBJECTIVES

COBOL - TABLE PROCESSING

Graham Kemp (telephone , room 6475 EDIT) The examiner will visit the exam room at 09:30 and 11:30.

QTP MOCK TEST QTP MOCK TEST I

Perl Scripting. Students Will Learn. Course Description. Duration: 4 Days. Price: $2295

COLLEGE OF ENGINEERING, NASHIK-4

Fall Semester (081) Dr. El-Sayed El-Alfy Computer Science Department King Fahd University of Petroleum and Minerals

Chapter 7: Programming in MATLAB

CS 320 Midterm Exam Solution

Introduction to C/C++ Lecture 3 - Program Flow Control

ENGR 1181 MATLAB 09: For Loops 2

Perl Library Functions

by Pearson Education, Inc. All Rights Reserved. 2

GRAPH THEORY - FUNDAMENTALS

LING/C SC/PSYC 438/538. Lecture 3 Sandiway Fong

Transcription:

http://www.tutorialspoint.com PERL MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to Perl. You can download these sample mock tests at your local machine and solve offline at your convenience. Every mock test is supplied with a mock test key to let you verify the final score and grade yourself. PERL MOCK TEST II Q 1 - Which of the following method splits a string into an array of strings, and returns it? A - splice @ARRAY, OFFSET [, LENGTH [, LIST ] ] B - split @ARRAY, OFFSET [, LENGTH [, LIST ] ] C - join @ARRAY, OFFSET [, LENGTH [, LIST ] ] D - sort @ARRAY, OFFSET [, LENGTH [, LIST ] ] Q 2 - Which of the following method joins the separate strings of LIST into a single string with fields separated by the value of EXPR, and returns the string? A - splice EXPR, LIST B - split EXPR, LIST C - join EXPR, LIST D - sort EXPR, LIST Q 3 - Which of the following method sorts the LIST and returns the sorted array value? A - splice [ SUBROUTINE ] LIST B - split [ SUBROUTINE ] LIST C - join [ SUBROUTINE ] LIST D - sort [ SUBROUTINE ] LIST Q 4 - Which of the following is correct about $[ Special Variable? A - This special variable is a scalar containing the first index of all arrays.

B - Because Perl arrays have zero-based indexing, $[ will almost always be 0. C - But if you set $[ to 1 then all your arrays will use on-based indexing. It is recommended not to use any other indexing other than zero. D - All of the above. Q 5 - Which of the following is correct about Hashes? A - A hash is a set of key/value pairs. B - Hash variables are preceded by a percent sign. D - All of the above. Q 6 - Which of the following function returns all keys of a Hash? A - keys B - values Q 7 - Which of the following function returns all values of a Hash? A - keys B - values Q 8 - Which of the following function returns true if the named key exists in a Hash? A - check B - exists Q 9 - How will you get the size of a Hash? A - Using scalar context B - using sizeof operator Q 10 - How will you add a new key/value pair to a hash?

A - Using simple assignment B - using assign operator Q 11 - How will you delete a key/value pair to a hash? A - Using simple assignment B - using delete function Q 12 - Which of the following statement causes the loop to skip the remainder of its body and immediately retest its condition prior to reiterating? C - continue Q 13 - Which of the following statement terminates the loop statement and transfers execution to the statement immediately following the loop? C - continue Q 14 - Which of the following statement terminates the loop statement and transfers execution to the start of the loop? C - continue Q 15 - Which of the following statement restarts the loop block without evaluating the conditional again?

C - continue Q 16 - Which of the following statement jumps to the statement labeled with LABEL and resumes execution from there? A - goto LABEL B - goto EXPR C - goto &NAME Q 17 - Which of the following statement expects the expression to return a label name and then jumps to that labeled statement? A - goto LABEL B - goto EXPR C - goto &NAME Q 18 - Which of the following statement substitutes a call to the named subroutine for the currently running subroutine? A - goto LABEL B - goto EXPR C - goto &NAME Q 19 - Which of the following statement repeats a statement or group of statements while a given condition is true. It tests the condition before executing the loop body? A - while B - until C - for Q 20 - Which of the following statement repeats a statement or group of statements until a given condition becomes true. It tests the condition before executing the loop body? A - while B - until C - for

Q 21 - Which of the following statement executes a sequence of statements multiple times and abbreviates the code that manages the loop variable? A - while B - until C - for Q 22 - Which of the following operator divides left hand operand by right hand operand and returns remainder? A - * B - / C - % D - ** Q 23 - Which of the following operator performs exponential power calculation on operators? A - * B - / C - % D - ** Q 24 - Which of the following operator checks if the value of two operands are equal or not, if yes then condition becomes true? A - == B -!= C - <=> D - > Q 25 - Which of the following operator checks if the value of two operands are equal or not, if values are not equal then condition becomes true? A - == B -!= C - <=> D - > ANSWER SHEET

Question Number Answer Key 1 B 2 C 3 D 4 D 5 D 6 A 7 B 8 B 9 A 10 A 11 B 12 A 13 B 14 C 15 D 16 A 17 B 18 C 19 A 20 B 21 C 22 C 23 D 24 A 25 B Loading [MathJax]/jax/output/HTML-CSS/jax.js