Programming Languages: SAS, MFC, and Easytrieve
Quiz covering concepts from SAS programming, Microsoft Foundation Classes (MFC), and Easytrieve programming language
Questions
Which of the following is true about dialog boxes? a)Modeless dialog boxes are used when the requested information is not essential to continue. b)Modal dialog boxes are those which temporarily halt the program in that the user cannot continue until the dialog has been closed.
- a only
- b only
- Both a and b
- None of the above
The fundamental classes of MFC are declared in which of the following header file?
- stdio.h
- iomanip.h
- afcapp.h
- afxwin.h
Which application uses the Document/View Architecture concept?
- Dialog based
- Menu based
- Frame based
- Form based
CWinThread is the base class of CWinApp.
- True
- False
The DECLARE_MESSAGE_MAP macro should be provided at
- The beginning of the class definition.
- The end of the class definition.
- Anywhere in the class definition.
- None of the above
Which macro is used to make an identifier name recognizable to an MFC or Win32 function?
- MAKESTRINGRESOURCE.
- MAKEFLOATRESOURCE.
- MAKECHARRESOURCE.
- MAKEINTRESOURCE
Which class implements the role of the WinMain() function?
- CWnd class
- CWinApp class
- CWinThread class
- None of the above
MFC application wizard does not provide support for serialization of document data.
- True
- False
What is the latest SAS version?
- V9.1
- V9.1.3
- V9.2
- V9.2.1
What happens if you use IN statement with SET: Data Test1; set one two (in=two); if two; run;
- It acts like Merge with IN
- we cannot use In with SET
- it works as expected
- Its like setting data with one dataset only
Which of the following is not used to read inline data?
- DATALINES
- CARDS
- CARDS4
- DATAIN
Which of the following is a format but not informat?
- DATETIME
- DDMMYY
- FLOAT
- DAY
Which of the following you cannot use if you use DROP in data step?
- KEEP
- DELETE
- REUSE
- COMPRESS
What is the mandatory section in Easytrieve?
- Library Division
- Environment Division & Activity Division
- Activity Division
- None of the above
How to get the length of the record read?
- RECORD-LENGTH(DDName)
- RECLEN(DDName)
- RECLN(DDName)
- It is not possible in Easytrieve
How to conditionally execute one of several group statements based on value of specific field
- EVALUATE … END-EVALUATE
- SWITCH CASE
- CASE … END-CASE
- None of the above
Which of the following statement is False
- MATCH cannot be used on multiple files
- MATCH can be used on multiple files
- MATCH can be used when key is defined
- MATCH can be used with JOB statement
Which among the following is not an input I-O operation?
- GET
- PUT
- READ
- POINT
Which among the following is true?
- Compile listing in Easytrieve cannot be produced
- Data map alone can be produced
- Compile listing alone can be produced
- Data map and Compile listing can be produced using DMAP and PMAP option in DEBUG
Which among the following is true for the below definition? Account-Record 1 100 A Account-Number Account-Record 10 N Account-Entity Account-Record +15 03 A State-Code Account-Record +15 03 A
- Both State-Code and Account-Entity refer to the 16th byte of the Account-Recored
- This definition would throw invalid referencing error while executing
- Account-Number refers to the 10th byte of Account-Record
- Account-Entity refers to the 15th byte of the Account-Record