jagomart
digital resources
picture1_Qbasic Pdf 185298 | Qb Lab1


 131x       Filetype PDF       File size 0.02 MB       Source: www.nomoa.com


File: Qbasic Pdf 185298 | Qb Lab1
4 dvlf 3urjudpplqj de august 16 1998 requirements you think should be on the paper a floppy diskette is required for storing programs what you should do 6 after each ...

icon picture PDF Filetype PDF | Posted on 01 Feb 2023 | 2 years ago
Partial capture of text on file.
             4%DVLF3URJUDPPLQJ/DE                                                                                                            August 16, 1998 
             Requirements:                                                                   you think should be on the paper. 
             A floppy diskette is required for storing programs.                             
                                                                                             
             What you should do:                                                             (6) After each program listing below, write down the ‘output’ or what the 
                                                                                             program put onto the QBasic output screen when you have correctly exe-
             (a) Read each program carefully before you type it in.                          cuted with the program. 
                                                                                              
             (b)                                                                             (7) Each program exercise is an independent program.  Save the pro-
                 Deskcheck.  For each program, write down what you think is going to         gram you type in and start a new program for each exercise. 
             be the output (what the program is going to do) 
                                                               before you type the pro-       
             gram in.                                                                        Program 1: - Our first learning program 
                                                                                              
             Starting QBasic.                                                                      5(00\5XQQLQJ3URJUDP
                                                                                                   ¶1DPH
             (1) To start QBasic, go to the MS-DOS Command Prompt by selecting                     ¶&ODVV
             the [Start] Button | Programs | MS-DOS Command Prompt.                                &/6
                                                                                                   &2/25
                                                                                                   ¶3RVVLEOH9DOXHVIRU&RORU
             (2) Put your floppy disk into the floppy diskette drive.                              ¶
                                                                                                   
             (3) At the C:\WINDOWS\> Command Prompt, type in:-                                     $JH 
                                                                                                   35,17´+HOOR(YHU\RQH,DPD4%DVLF3URJUDPµ
                                                                                                   35,17$JH´\HDUROGVDUHIXQQ\RQHVEXWµ
                   $                                                                             35,17$JH
´\HDUROGVDUHIXQQLHUµ
                                                                                                  
             to enter the A: drive.  The Command Prompt should now read “A:\>”               Deskcheck 1: 
                                                                                              
             (4) Start QBasic by typing:                                                      
                                                                                              
                   4%$6,&                                                                    
                                                                                              
             (5) Type in the following programs to practise the use of the QBasic pro-        
             gramming environment and to see the programs work (execute).                    Output 1: 
                                                                                             
             Hint:  When you have finished typing in your program, use the F5 key to          
             execute the program.  You may use the Run menu command if you wish.    
                                                                                              
             Hint:  Read each line carefully, and enter the stuff on the paper, not what      
            Program 2: - The Print Statement                                          
                                                                                     1. Using the HELP Menu, find out the details of how the PRINT statement 
                  5(0$QRWKHUSURJUDPORRNLQJDWWKH35,176WDWHPHQW               works (use the Index) and record it in your notebooks.  (You can copy the 
                  ¶1DPH                                                       notes from the screen, but you must not copy from someone else’s 
                  ¶&ODVV                                                       notes.) 
                  &/6
                  &2/25                                                            
                  35,17´7KH3ULQWFRPPDQGVWDUWVDQHZOLQHµ                        
                  35,17´8QOHVV\RXXVHWKHVHPLFRORQµ                              
                  35,17´:KLFKµ                                                   2. Using the HELP Menu, find out the details of how the Date$ function 
                  35,17´FRQWLQXHVRQWKHVDPHOLQHµ                               works and write down what it lets you do. 
             
                  35,17                                                              
                  35,17                                                              
                  &2/25                                                            
                  35,17´:KHUHLVµ
                  35,17´7KLV/LQHµ                                                 Programming Exercises 
                  35,17´:KHUHLVµ                                             With the following program assignments, make sure that you put in REM 
                  35,17´7KLV/LQHµ                                                 statements to specify: 
                                                                                     (a) Your Name: 
            Deskcheck 2:                                                             (b) Your Class: 
                                                                                     (c) The assignment Number 
                                                                                      
                                                                                     1. Write a program to send the following output to the screen: 
                                                                                      
                                                                                           0\1DPHLV/LWWOH0V0XIIHW
                                                                                           ,DPJRLQJWRVFKRROVRPHWLPHV
            Output 2:                                                                      DW4XHHQ6DORWH&ROOHJH
                                                                                      
                                                                                     2. Write a program to send the following output to the screen, and make 
                                                                                     the screen colours look right. 
                                                                                     This is the colour  
                                                                                      
                                                                                           7KLVOLQHRIWH[WLV%ODFN
            QBasic Integrated Development Environment (IDE) Exercise                       7KLVOLQHRIWH[WLV%OXH
                                                                                           7KLVOLQHRIWH[WLV*UHHQ
                                                                                           7KLVOLQHRIWH[WLV&\DQ
            These exercises are designed to help you better understand the QBasic          7KLVOLQHRIWH[WLV5HG
            programming topic.  It is to your advantage to complete all exercises as       7KLVOLQHRIWH[WLV0DJHQWD
            thoroughly as possible (ie. do all the work and things become easier for       7KLVOLQHRIWH[WLV%URZQ
            you.)                                                                     
The words contained in this file might help you see if this file matches what you are looking for:

...Dvlf urjudpplqj de august requirements you think should be on the paper a floppy diskette is required for storing programs what do after each program listing below write down output or put onto qbasic screen when have correctly exe read carefully before type it in cuted with b exercise an independent save pro deskcheck going to gram and start new our first learning starting xqqlqj urjudp dph go ms dos command prompt by selecting odvv button rvvleoh doxhv iru roru your disk into drive at c windows jh hoor yhu rqh dp d hdu rogv duh ixqq rqhv exw ixqqlhu enter now typing following practise use of gramming environment see work execute hint finished f key may run menu if wish line stuff not print statement using help find out details how qrwkhu surjudp orrnlqj dw wkh wdwhphqw works index record notebooks can copy notes from but must someone else s kh ulqw frppdqg vwduwv qhz olqh qohvv rx xvh vhpl frorq klfk date function frqwlqxhv rq vdph lets khuh lv klv lqh programming exercises assignmen...

no reviews yet
Please Login to review.