





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






Chu-Yen Chan CSC 415 This project explicates the brief characteristics of QuickBasic; also include reviews as in the angle of a user in the modern language world.
II. Data Types
operators are allowed in QuickBasic, unfortunately it did not function with the nice feature of C’s +=, -=, -- or ++. Mix-mode assignment and mix-mode expressions are allowed in QuickBasic. IV. Statement- Level control Structure
special words would also bring some confusions as because for someone who is not familiar with the language it’s pretty hard to recognize and understand these statements. So, generally QuickBasic has some strength in readability and also some weakness. b. Writability Writability for QuickBasic in the modern programming language world is terrible. Most languages have developed an easier way for declarations and modern style special words. Although QuickBasic is pretty easier to learn and adapt there’s a need of lots memorizing over here. For a pure QuickBasic programmer it wouldn’t be a big issue, but for multi- language programmer it would be a good idea for them to learn languages related to what they’ve learned, for Basic kind languages familiar programmer QuickBasic is kind of easy. c. Reliability Talk about reliability, good readability and writeability definitely would make good reliability, but it’s not necessary; for example JAVA is poor in writeability, but it’s still pretty reliability. So let’s focus on exception handling for this language. QuickBasic has a poor exception handing environment. Weak exception handling would certainly bring down the language reliability. QuickBasic allowed mix-mode arithmetic and this would occur more run time errors as because mix-mode arithmetic has a greater possibility to occur overflow and outcome might not be significant enough. From these facts plus the overall confusing QuickBasic is probably not reliable enough for the modern programming language. d. Cost To success in Cost for a language there’s several important characteristics need to aware in the language. Cost of training programmers, it’s probably not going to be a big issue as because to learn QuickBasic is not too hard and not to mention there’s still a lot of QuickBasic programmers in the market. Cost of writing programs, it might takes times for non-QuickBasic programmers to write in QuickBasic because of old type language confusions in the language, but for QuickBasic programmers there’s probably no such barrier for them. Cost of executing programs in QuickBasic is not a big issue too as it doesn’t take long time in compiling like JAVA does. Next is the cost of QuickBasic compilers, since first version of QuickBasic was published in mid 1980 s and there are a lot of free compilers in the market. Cost of poor reliability, it’s a big issue for QuickBasic. As because of QuickBasic is poor in reliability and it might occur some run time error, which generally cost a lot in the high cost critical system. Last, the cost of maintainability, as QuickBasic is an old language and it’s kind of out dated, eventually there wouldn’t be any QuickBasic programmers left in the market. So the cost of maintainability is kind of high and by the way QuickBasic is kind of weak in readability, which would bring up the cost of maintainability. Overall cost for QuickBasic in the modern world is pretty high and it’ll soon be out dated. After carefully consideration and research QuickBasic might be a fun language to learn, but certainly not a language would fit today’s language world. D. Appendices – Names INPUT INT% -- 100 PRINT INT% -- 100 INPUT LONGINT& -- 12345678912345678 9 PRINT LONGINT& -- 12345678912345678 9 Mix-Mode Numeric Variable INPUT FLOAT1 --
INPUT FLOAT2 --
PRINT INT% + FLOAT1 -- 111 PRINT INT% + FLOAT2 – 112 If Statement IF INT% > 10 THAN PRINT INT -- if..than statement IF INT% > 10 THAN PRINT INT ELSE PRINT INT% + 10 – simple if..than with else statement IF INT% > 10 THAN PRINT INT ELSE IF INT % >5 PRINT INT% + 5 ELSE PRINT INT% + 10 END IF – showing the use of end if Select Statement SELECT CASE INT% CASE 1 to 5 PRINT INT%
Loop DO: n = n + 1 [Statements] LOOP WHILE n <= 20 DO: n = n + 1 [Statements] LOOP UNTIL n = 20 FOR I = 1 to 20 [Statements] FOR J = 1 to I [Statements] NEXT NEXT ON ERROR GOTO ON ERROR GOTO ErrorLine CLS Start: DO PRINT “Enter number : [Enter] to stop: “; INPUT ; X$ IF X$ <> “” THEN X = VAL(X$) PRINT “ “; SQR(X), 1/x END IF LOOP WHILE X$ <> “” END: ‘ statement REQUIRED! ErrorLine: PRINT “Error”;ERR RESUME Start (Noggle, 1993) Sub-Program & Function SUB Name[(Arg[, Arg].. .)] static [EXIT SUB] END SUB FUNCTION FUN(X) [Statements] END FUNCTION User-Define Function def fnd(a, b, c) = b * b
http://support.mic rosoft.com/default .aspx?scid=http:// support.microsoft. com:80/support/ kb/articles/ Q39/7/30.ASP&N oWebContent= Table 1. Published Date of QuickBasic Version Number 5.25- Inch Release 3.5-Inch Release 1.00 08/18/ none First release. 1.01 January 1986 none Corrects problems known in Version 1.00. No major enhancements. Few copies of Version 1.01 were shipped due to a problem discovered with compiling medium-sized programs. 1.02 02/06/ 05/07/ Corrects problems known in Version 1.01. No major enhancements. 2.00 09/29/ 08/15/ Major release. The following new features are added: Built-in editor environment