1/80
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
(QB64) Short integer symbol
%
(QB64) Long integer symbol
&
(QB64) single-precision floating point symbol
!
(QB64) double-point floating point symbol
#
(QB64) Symbol used to prefix comments
' (apostrophe)
(QB64) What keyword is used to indicate the bottom of a FOR loop
NEXT
(QB64) What does the NOT operator look like
<>
(QB64) What describes the type of graphic drawn by the following command: LINE (100,100) - (150,150), 9, BF
a filled (solid) box
(QB64) Following the IRGB color scheme, what color would the decimal number 10 represent
bright green
(QB64) Output instruction
(QB64) Input instruction
INPUT
(QB64) Comment instruction
REM
(QB64) Instruction to set the graphics mode
SCREEN
(QB64) Part of the IF statement
THEN
(QB64) Optional part for the FOR loop
STEP
(QB64) READ instruction description
get data from a DATA statement
(QB64) WRITE #1 instruction description
output data in CSV format
(QB64) INPUT #1 instruction description
output data as it would display on screen
(QB64) CLOSE #1 instruction description
finish using a file
(Awk) Special variable that gets the entire record
$0
(Awk) Special variable that gets the first field of a record
$1
(Awk) Special variable to get the record number
NR
(Awk) Special variable for how many fields in a record
NF
(Awk) Special variable for the field separator
FS
(Awk) Match operator
~ (tilde)
(Awk) Delimiter for regular expressions
/ (forward slash)
(Awk) Escape character
\ (backslash)
(Awk) Match at beginning of a pattern
^ (caret)
(Awk) Match at the end of a pattern
$ (dollar sign)
(Awk) Command line option for field separator
-F
(Awk) Command line option for program file
-f
(Awk) Command line symbol for getting input from a data file
<
(Awk) Command line symbol for sending output to a file
>
(Awk) (T/F) Awk has a "for" loop that is like the for loop in C
true
(Awk) (T/F) Awk has a printf statement that is like the printf statement in C
true
(Awk) (T/F) Even Awk programs that do not need a BEGIN pattern must start with the BEGIN pattern
false
(Prolog) Comment character
%
(Prolog) Logical OR in a rule statement
; (semicolon)
(Prolog) Logical AND in a rule statement
, (comma)
(Prolog) Marks the end of a statement
. (period)
(Prolog) Means "if" in a statement
:- (colon + hyphen)
(Whitespace) SS
push
(Whitespace) SLT
swap
(Whitespace) TSSS
addition
(Whitespace) TTT
retrieve
(Whitespace) LLL
end of program
(Whitespace) TLTT
input (read) a number
(Whitespace) TTS
store
(Whitespace) TSST
subtraction
(Whitespace) TLST
output a number
(Whitespace) SLS
duplicate
(Whitespace) STL
+1
(Whitespace) STSSTL
+9
(Whitespace) TTL
-1
(Whitespace) TSSTL
-1
(Whitespace) STTTL
+7
(Whitespace) What does the following program do:
SSSTSTSL
TLSTL
L
L
push a number and print it
(Whitespace) What does the following program do:
SSSTL
SSSTL
TTSSSSTL
TTTL
L
L
store and retrieve a number
(Whitespace) What does the following program do:
SSSTL
SSSTL
TSSSL
L
L
add two numbers
(Whitespace) What does the following program do:
SSSTL
TL
TSSSSTL
TTTL
L
L
input a character and retrieve
(Whitespace) According to whitespace which character should be ignored
CR (carriage return)
(Lisp) Lists symbol
( )
(Python) Lists symbol
[ ]
(Python) Tuples symbol
( )
(Python) Dictionaries symbol
{ }
(Lua) Arrays symbol
{ }
(Quantum) Flip the value of a qubit
X
(Quantum) Put a qubit in a state of superposition
H
(Quantum) Make the value of a qubit dependent on the state of another qubit (entanglement)
CNOT
(Quantum) Reads the state of the qubit
M
What language does the following code belong to: for x in rage(0,10)
python
What language does the following code belong to: (do ....)
lisp
What language does the following code belong to: for x = 1,10 do
lua
What language does the following code belong to: (cond ...)
lisp
What language does the following code belong to: def factorial (a)
python
What language does the following code belong to: (defun factorial (a)... )
lisp
Comment in Lua
-- (two dashes)
Used for "quoting" in Lisp
' (apostrophe)
Comment in Lisp
; (semicolon)
Comment in Python
# (pound symbol)
Which language uses 't' and 'nil' as values for true and false
Lisp