Programming Fundamentals (Lab 1)

Quiz
•
Engineering
•
8th Grade
•
Easy
Muhammad Talha
Used 8+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the function of the 'dir' command in the command prompt?
Deletes a file
Lists files and directories in the current location
Opens a folder
Copies files
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does the command 'cd ..' do in the command line?
Creates a new directory
Changes file type
Moves to the parent directory
Clears the screen
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
When saving a Java program file, what should the file extension be?
.txt
.class
.java
.exe
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What command is used to compile a Java program in the terminal?
javac
compile
java
exec
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
After compiling a Java file, which command is used to execute it?
compile
javac
java
run
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In a basic Java program, which statement is used to display text on the screen?
echo
print()
display()
System.out.println()
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the main rule for creating a Java file.
Class Name must be same as the File Name (Exactly Same)
Class Name can be different.
Class Name must be same but in Lower Case Letters all.
Class Name must be same but in Upper Case Letters all.
Similar Resources on Wayground
5 questions
Engineering Math Challenge Quiz

Quiz
•
8th Grade
10 questions
p2rt

Quiz
•
7th Grade - University
9 questions
ICT Programming Lesson 5

Quiz
•
6th Grade - University
12 questions
Knife Safety

Quiz
•
7th Grade - University
10 questions
Marine Technology

Quiz
•
6th - 8th Grade
10 questions
Box and Whisker Plots and Distribution

Quiz
•
8th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade