class Main { Jack Code function void main() { var String a, b, c; let a = "Aloha"; let b "CS 220"; let c = "Architects"; do Output.printString(a); do Output.println(); do Output.printString(b); do Output.println(); do Output.printString(c); do Output.println(); } } return; Symbol Tables Class Symbol Table name type segment # Subroutine Symbol Table name type segment #
class Main { Jack Code function void main() { var String a, b, c; let a = "Aloha"; let b "CS 220"; let c = "Architects"; do Output.printString(a); do Output.println(); do Output.printString(b); do Output.println(); do Output.printString(c); do Output.println(); } } return; Symbol Tables Class Symbol Table name type segment # Subroutine Symbol Table name type segment #
Chapter2: Using Data
Section: Chapter Questions
Problem 14RQ
Related questions
Question
Translate the following Jack code into its variable symbol tables please

Transcribed Image Text:class Main {
Jack Code
function void main() {
var String a, b, c;
let a = "Aloha";
let b "CS 220";
let c = "Architects";
do Output.printString(a);
do Output.println();
do Output.printString(b);
do Output.println();
do Output.printString(c);
do Output.println();
}
}
return;
Symbol Tables
Class Symbol Table
name
type
segment
#
Subroutine Symbol Table
name
type
segment
#
AI-Generated Solution
Unlock instant AI solutions
Tap the button
to generate a solution
Recommended textbooks for you

EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT

Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,

EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT

EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT

Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,

EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT

Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage

C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning