
Exploring TGHJ Language Basics
Authored by Phạm Trí
Others
7th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does TGHJ stand for?
The Great Hospital of Jamaica
The Grand Hotel of Jamaica
The General Hospital of Jamaica
The Great Hospital of Haiti
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a basic syntax rule in TGHJ?
All statements must end with a semicolon.
Comments are not allowed in TGHJ.
Variables must be declared with a dollar sign.
All statements must begin with a colon.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a variable in TGHJ?
let variableName = value;
set variableName to value;
declare variableName = value;
var variableName : value;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of comments in TGHJ code?
To clarify code functionality and improve maintainability.
To replace the need for documentation.
To add unnecessary complexity to the code.
To execute code more efficiently.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is NOT commonly used in TGHJ?
Objects
Numbers
Arrays
Strings
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a function in TGHJ?
Create a function by writing 'func' and the function name.
Use the 'define' keyword followed by the function name.
Use the 'function' keyword followed by the function name and parameters.
Functions are created by simply naming them without any keywords.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol is used for string concatenation in TGHJ?
+
|
&
-
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?