Commodore Trivia
Home  Weblog  Research Kitchen  Contact 
All You Ever Wanted To Know About Commodore Main Menu
Home > Trivia #30A

C64 Chronology
  A comprehensive chronology of the Commodore 64
Zzap! 64
  Fan site for the classic C64 mag
Lemon 64
  Awesome 64 games site
  A C64 on your desktop
RKO C64 Remixes
  Amazing site of C64 SID remixes

Who wrote this stuff?
This trivia was originally written by Jim Brain as part of the now long defunct C= Hacking Magazine, but happily Jim has kindly agreed to let me reproduce it in HTML-ized format for retro computing fans everywhere.

If you are interested in seeing the Commodore Trivia digests in their original form, take a look at this website.

For those who are interested, these pages were generated from the original text files using Perl and Velocity (and a nice template originally found here)


	To load a program from the current location on a cassette tape, what
        two key combination must a user press on a VIC-20 or C64.

	SHIFT and the RUN/STOP key.  Note that the same key sequence loads
        a file from disk on the SX-64 or C128 in 128 mode.

	If I issue the BASIC statement OPEN "JIM,S,W", What type of file
        am I opening?

	A sequential file.

	Is BASIC in the Commodore computer systems an "interpreted" or 
        "compiled" language

	interpreted.  When a program has been "Blitzed!", it is then

	What type of variable is A%?

	An integer variable.

	If I issue the BASIC line PRINT:PRINT "A","B" what column does
        the "B" show up on when run on a C64?

	Column 11, if we number columns from 1.

	What column does "B" show up on if I run the BASIC line in $1D4 on
        a VIC-20?

	Column 12.  Since the VIC has 22 columns, the natural column spacing
        was 11 positions, instead of 10 on 40 and 80 column CBMs.

	Alphebetically, what is the first BASIC 2.0 command to have a 3 
        letter abbreviation?


	How many times does the statement FOR T=1TO0 execute?

	once.  A BASIC for loop always executes at least once.  This is
        different from languages like 'C', which would not execute the loop
        at all.  Feature or bug, who knows...

	What base does the BASIC LOG command use for its logarithm 

	base e. (2.7....)  (one of the entrants claims that "e" in the 64 
        isn't quite as accurate as we think.  He was quoting 2.85....

	A = NOT B can be written as which expression:
        a) A = -B
        b) A = -(B+1)

	b.  NOT computes the twos-complement of the number, not the simple
        ones-complement negation.  This feature simpleifies subtraction in a
        CPU, since subtractions can be performed as additions.

	What does INT(-15.43) return?

	-16.  INT returns the next LOWER integer.

	What does ASC$("JIM") return?

	ASC$ returns an error.  That's what I get for writing these late
        at night. What I menat was "ASC", returns the value of the first 
        character of a string, in this case 'J'.  Since I didn't specify 
        if this was a uppercase 'j' or lowercase 'J' in graphics mode, the 
        result could either be 74 or 202.

	What is the abbreviation for GET#?

	Technically, there is none.  However, on the C128 at least, GET#
        shares the same token as GET, so typing gE# will indeed work.
        This is different from PRINT and PRINT#, which have different

	What is the largest integer value that Commodore BASIC can handle?

	Again, this was a little ambiguous.  I was looking for the maximum
        value that an integer variable can hold, which is 32767, but line
        numbers (which are integers) can be up to 63999.

	What is the ONLY Commodore Editor key not affected by "quote mode"

	The DEL key.  I would have answered return, but the 64 PRG spells
        it out that only this key is unaffected.

	What is the range of RND?

	0.0 <= RND < 1.0, or [0,1).  Both mean that the range is from 0 to
        1, including 0, but not 1.0.
The information in this between the lines marked by (BEGIN) and (END)
is copyright 1996 by Jim Brain.  Provided that the information
between the (BEGIN) and (END) lines is not changed except to correct
typographical errors, the so marked copyrighted information may be
reproduced in its entirety on other networks or in other mediums.  For 
more information about using this file, please contact the address 
shown below.
Jim Brain
[email protected]
10710 Bruhn Avenue
Bennington, NE  68007
(402) 431-7754
--------Commodore Trivia Edition #30 Questions and Answers (END)---------


This site 2005 The Research Kitchen and Jim Brain.
Page generated: Sat Oct 14 14:06:37 BST 2006