Write output
1. Write the output of the following program CLS N=115 P=0 WHILE N<>0 R=N MOD 2 S=S+R*10^P P=P+1 N=N\2 WEND PRINT S END a. CLS N=123 P=0 WHILE N<>0 R=N MOD 8 S=S+R*10^P P=P+1 N=N\8 WEND PRINT S END b. CLS X=7 FOR C=1 TO 10 PRINT X; IF X MOD 2=0 THEN X=X/2 ELSE X=3*X+1 END IF NEXT C END c. d. CLS N=115 P=0 DO WHILE N<>0 R=N MOD 2 S=S+R*10^P P=P+1 N=N\2 LOOP PRINT S END e. CLS N=115 P=0 DO UNTIL N=0 R=N MOD 8 S=S+R*10^P P=P+1 N=N\8 LOOP PRINT S END f. ...