0

programming languages Online Quiz - 313

Description: programming languages Online Quiz - 313
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0

Which among the following is correct for the given piece of code? FILE PERSNL FB (150 1800) REGION 1 1 N BRANCH 2 2 N NAME 17 16 A FILE MYFILE FB(150 1800) COPY PERSNL JOB INPUT PERSNL NAME MYPROG MOVE LIKE PERSNL TO MYFILE PUT MYFILE

  1. This statement is used to copy record from PERSNL to MYFILE if the entire record is identical in both the files

  2. This statement moves the like named field values from PERSNL to MYFILE

  3. This statement moves the record from PERSNL to MYFILE if the record-length matches

  4. Both a & c are correct


Correct Option: B

Which among the following is true?

  1. The POINT statement will only establish the position within an ISAM, VSAM relative record (RRDS), VSAM (KSDS) indexed file.

  2. Data in the file will be available only after the next successful sequential retrieval by a file input statement.

  3. both a & b

  4. None of the above


Correct Option: C

Which among the following is false?

  1. TALLY is a system defined field for control report.

  2. Can be used in a Line statement or in calculations within report-procs

  3. Commonly used to determine averages for a control level

  4. Won’t contain the number of detail records that comprise a control break


Correct Option: D

JOB INPUT (CAMMAILP) TEST. In this JOB statement

  1. CAMMAILP is the Job name

  2. CAMMAILP is the File name that you choose for this job

  3. CAMMAILP is the DDName and the input Filename that you have coded

  4. CAMMAILP is the Report name


Correct Option: C

JOB INPUT NULL. Which among the following are valid statements?

  1. This statement cannot be coded in Easytrieve

  2. The input is could be inside the JOB activity

  3. There is no input to this job statement

  4. Both b & c


Correct Option: D

Which among the following is false?

  1. Easytrieve is an information retrieval and data management system

  2. Easytrieve allows fixed, variable, undefined, or spanned record formats

  3. Matches an unlimited number of files

  4. Cannot call progams written in other languages


Correct Option: D

In Easytrieve if a line has to be continued to the next line

  1. “-“ can only be used

  2. “+” can only be used

  3. can be used

  4. Both “+” and “-“ can be used


Correct Option: D

What is the maximum length of field name that could be declared?

  1. 48 characters

  2. 40 characters

  3. 32 characters

  4. None of the above


Correct Option: B

The possible Activity statements in Easytrieve are

  1. JOB, SORT and MERGE

  2. JOB Alone

  3. SORT Alone

  4. JOB and SORT


Correct Option: D

MASK can be used

  1. Only for an outfile defined as printer

  2. For any outfile that we write to

  3. Both a & b

  4. None of the above


Correct Option: A

How to refer to the status of an i-o operation done on a file?

  1. DDName::FILE-STATUS

  2. FILE-STATUS::DDName

  3. DDName:FILE-STATUS

  4. None of the above


Correct Option: C

Which of the following can not be used on a report?

  1. NOADJUST

  2. NODATE

  3. NOPAGE

  4. AUTOSKIP


Correct Option: D

MASK can be used

  1. Only for an outfile defined as printer

  2. For any outfile that we write to

  3. Both a & b

  4. None of the above


Correct Option: A

Java architecture consists of? (Multiple)

  1. Java Programming Language

  2. Java Class file format

  3. Java Application Programming Interface

  4. Java Common Type System

  5. Java Virtual Machine

  6. Java Common Language Runtime


Correct Option: A,B,C,E

When Java JNI (Java Native Interface) should be used? (Multiple)

  1. To improve memory management.

  2. To achieve Platform independence

  3. To improve the Application performance

  4. If Java API is not available for platform specific operation

  5. For small applications


Correct Option: C,D

What are valid Java Editions? (Multiple)

  1. Micro Edition

  2. Mobile Edition

  3. Enterprise Edition

  4. Mono Edition

  5. Standard Edition

  6. Robust Edition


Correct Option: A,C,E

Java Platform is made of?

  1. Java Virtual Machine

  2. Java Programming Language

  3. Java Application Programming Interface

  4. 1, 2 & 3

  5. 1 & 3

  6. 2 & 3


Correct Option: E

What is not true about Java platform?

  1. JVM's default class loader is bootstrap

  2. Java code is compiled into bytecode

  3. JVM can run code in any language, provided it has been complied to bytecode meeting JVM specification

  4. Java class file use little-endian format

  5. Garbage collector is an integral part of JVM


Correct Option: D

Abbreviation of SQL

  1. Structure Query Language

  2. Structured Query Language

  3. Structure Queried Language

  4. None of the above


Correct Option: B

Mark the correct statements ?

  1. LIKE '%XXX%'

  2. LIKE 'XXX'

  3. LIKE XXX

  4. LIKE NULL


Correct Option: A,B
- Hide questions