0

programming languages Online Quiz - 159

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

Which on of the following is the extension of a Signed RSL(signed by Adobe)?

  1. swf

  2. swc

  3. swz

  4. None of the above


Correct Option: C

Which CSS selector type applies a style to all instances of a particular component type? An example is creating a style for all instances of the Label class.

  1. Inline Selector

  2. Class Selector

  3. Type Selector

  4. None of the above


Correct Option: C

Lisp was invented by

  1. Ada Lovelace

  2. Herman Hollerith

  3. John McCarthy

  4. Konrad Zuse


Correct Option: C

Who and Who designed the original BASIC programming language

  1. John Kemeny

  2. Yukihiro Matsumoto

  3. Alan Cooper

  4. Thomas Kurtz


Correct Option: A,D

Who is widely regarded as the father of Visual Basic.

  1. Yukihiro Matsumoto

  2. Alan Cooper

  3. Guido van Rossum

  4. Rasmus Lerdorf


Correct Option: B

Inventor of C++

  1. Anders Hejlsberg

  2. Dennis Ritchie

  3. Bjarne Stroustrup

  4. Grace Hopper


Correct Option: C

Inventor of J++

  1. John Backus

  2. Anders Hejlsberg

  3. Grace Hopper

  4. Brendan Eich


Correct Option: B

Inventor of Java Script

  1. Brendan Eich

  2. John Backus

  3. Grace Hopper

  4. Anders Hejlsberg


Correct Option: A

Inventor of COBOL

  1. Grace Hopper

  2. Anders Hejlsberg

  3. Brendan Eich

  4. John Backus


Correct Option: A

Inventor of Visual Basic

  1. Grace Hopper

  2. Anders Hejlsberg

  3. Alan Cooper

  4. John Backus


Correct Option: C

Inventor of Ruby Programmimg Language

  1. Anders Hejlsberg

  2. John Backus

  3. Yukihiro Matsumoto

  4. Brendan Eich


Correct Option: C

Inventor of Python

  1. Grace Hopper

  2. Anders Hejlsberg

  3. Guido van Rossum

  4. Brendan Eich


Correct Option: C

1.Which of the below is correct about Procedures?

  1. Procedures without EXPORT Keyword can be accessed by other modules within the program.

  2. Procedures with EXPORT Keyword can be accessed ONLY by the module in which it resides.

  3. Procedures can ONLY access local variables.

  4. None of the Above


Correct Option: D

1.Which is not a CL Command?

  1. DLTDTAQ

  2. CRTDTAQ

  3. RCVDTAQ

  4. None of the Above


Correct Option: C

1.LibA contains an object ObjA. LibB does not have objA. A programmer wants LibB also should have the same object ObjA. Which of the following can be done to achieve this?

  1. Only MOVOBJ

  2. Only CRTDUPOBJ

  3. MOVOBJ or CRTDUPOBJ

  4. MOVOBJ or CPYOBJ or CRTDUPOBJ


Correct Option: C

1.How can a /COPY source be compiled?

  1. In PDM, by taking 14 option

  2. In PDM, by taking 15 option

  3. by using CRTCPYSRC command

  4. /COPY source cannot be compiled


Correct Option: D

1.Which of the following is true on “Calling a dynamic program”?

  1. RPG Cycle code is not inserted which will affect the performance.

  2. RPG Cycle code is inserted which will affect the performance.

  3. RPG Bike code is inserted which will not affect the performance.

  4. None of the above.


Correct Option: D

1.Which of the following is true about Subroutines?

  1. A subroutine can execute another subroutine, can contain another subroutine and shared by other programs.

  2. A subroutine can execute another subroutine, cannot contain another subroutine and shared by other programs.

  3. A subroutine can execute another subroutine, can contain another subroutine and is not shared by other programs.

  4. A subroutine can execute another subroutine, cannot contain another subroutine and is not shared by other programs.


Correct Option: D

AI Explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) A subroutine can execute another subroutine, can contain another subroutine, and shared by other programs. This option is incorrect because a subroutine can execute another subroutine, but it cannot contain another subroutine. Additionally, whether it is shared by other programs or not depends on the specific implementation.

Option B) A subroutine can execute another subroutine, cannot contain another subroutine, and shared by other programs. This option is incorrect because a subroutine can execute another subroutine, but it cannot contain another subroutine. Additionally, whether it is shared by other programs or not depends on the specific implementation.

Option C) A subroutine can execute another subroutine, can contain another subroutine, and is not shared by other programs. This option is incorrect because a subroutine can execute another subroutine, but it cannot contain another subroutine. Additionally, whether it is shared by other programs or not depends on the specific implementation.

Option D) A subroutine can execute another subroutine, cannot contain another subroutine, and is not shared by other programs. This option is correct because a subroutine can execute another subroutine, but it cannot contain another subroutine. Additionally, whether it is shared by other programs or not depends on the specific implementation.

The correct answer is Option D. This option is correct because it accurately describes the characteristics of subroutines.

1.Which of the following command can be used to call a Module?

  1. CALL command

  2. CALLB command

  3. CALLP command

  4. Module cannot be called


Correct Option: D

1.Which is a modular Programming technique?

  1. /Copy, Subroutines and Arrays

  2. /Copy, Procedures and Arrays

  3. /Copy, Subrotines and Procedures

  4. None of the above


Correct Option: C
- Hide questions