PL1

 34 Minutes
 17 Questions


This test is designed to assess a student's knowledge of the basics of technology and PL1 programming language. It will cover topics such as data types, variables, control structures, functions, and other fundamental concepts. The test will also include questions on debugging and troubleshooting techniques.


Example Question:

Multiple-Choice
What will be the output of the following function?
TOP: PROC OPTIONS(MAIN);
/*DCL SUB ENTRY RETURNS (CHAR(20)); */
DCL ANS CHAR(20);
ANS=SUB();
PUT SKIP LIST(' RESULT STRING= ',ANS);
SUB: PROC RETURNS(CHAR(20));
PUT SKIP LIST(' -- NOW IN SUBTN -- ');
RETURN('ABC123');
END SUB;
END TOP;