programming languages Online Quiz - 274
Description: programming languages Online Quiz - 274 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
int i=5; if(i=4) { printf("A"); } else { printf("B"); }
LINE:1 i=1, line=5; LINE:2 for(i=1;i<=line;i++) LINE:3 { LINE:4 for(j=1;j<=line- i;j++) LINE:5 { LINE:6 printf(" " ); LINE:7 } LINE:8 for(j=1;j<=i;j++) LINE:9 { LINE:10 printf(""); LINE:11 } LINE:12 line--; LINE:13 printf("\n"); LINE:14 } this will print: * * *** **** ***** Now change the code in such a way that by using only one key for once such that this code will print: * * * * * * * * * * * * * * * In which line you need to change the code using that key?
The scrolling option in IDEAL can be changed to cursor
W01_VAR a X(6) variable is assigned the value 'IDEAL' W01_LEN is defined as U Z(1) The output of the following code is Set W01_LENGTH = $LEN(W01_VAR) LIST W01_LENGTH
What is the column range in an IDEAL program & Panel
The command to increase the command line from 1 to 3 ie => to => => => is
Which command displays the date on the command line?
Which statement is used to reverse the order of variable say X ='abcde' to X ='edcba'
ERROR is internal variable to mark the error within a dataset?
Following program is submitted: * Read the data file testdatadat using list input DATA test; INFILE 'c:\MyRawData\testdata.dat'; INPUT Name $ Weight age; RUN; In SAS log we got: 1 * Read the data file ToadJump.dat using list input 2 DATA test; 3 INFILE 'c:\MyRawData\testdata.dat'; ------ 180 ERROR 180-322: Statement is not valid or it is used out of proper order. 4 INPUT Name $ Weight age; ----- 180 ERROR 180-322: Statement is not valid or it is used out of proper order. 5 RUN; What is the problem?
Function to change a focus to another column in Datawindow
Function to displays an icon to indicate the current row in a DataWindow
Sorting can only be done at the client?
Function used to change the SQL statement of a DataWindow? (Other than the Modify function)
Which event will fire, When a user types in an edit control in the DataWindow control
8 PROC PRINT; 9 SET test; --- 180 ERROR 180-322: Statement is not valid or it is used out of proper order. 10 RUN; NOTE: The SAS System stopped processing this step because of errors. NOTE: PROCEDURE PRINT used (Total process time): real time 0.01 seconds cpu time 0.01 seconds
data sample1; infile 'example2.dat'; input caseid 1-4 mathsat 6-8 score 10-11 sex $ 13 teach 15 format sex $fsex.; label caseid='Subject Number' mathsat='SAT Math Score' score='Final Calculus Score' sex='Sex of Participant' teach='Student Rated Teaching Ability'; proc freq data=sample1; tables sex teach; run; What is the mistake?
Which of the following is not a type of Workflow Task
Which of the following is not a character function
Select the statement below that is false