
CSC 101 Programming 1 Midterm Exam
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Sharita Eleccion
Used 8+ times
FREE Resource
Enhance your content in a minute
51 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an algorithm?
A set of instructions that a computer follows to solve a problem
A programming language
A type of data structure
A computer hardware component
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
A __________ is a counting loop.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a function in a program?
To perform a specific task or calculation
To define a class
To import external libraries
To create a user interface
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which section of a Java program contains the main method?
Documentation Section
Package Statement
Import Statements
Main Method Class
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A non-static method can access any static method without creating an instance of the class.
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code? public class MyClass { public static void main(String[] args) { System.out.println("Hello World"); } }
Hello World
MyClass
Hello World!
hello world
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
All Java programs begin execution in this method:
start()
main()
runUntilHalt(int)
main(String[])
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?
Similar Resources on Wayground
47 questions
Networking - Practice Test #1
Quiz
•
9th Grade - University
50 questions
Power BI Quiz
Quiz
•
University
50 questions
KUIS Jaringan Komputer dan Internet
Quiz
•
7th Grade - University
50 questions
Test
Quiz
•
8th Grade - University
55 questions
NETWORK HARDWARE
Quiz
•
University - Professi...
55 questions
SAINS KOMPUTER TINGKATAN 4
Quiz
•
12th Grade - University
50 questions
DG Muda (2)
Quiz
•
KG - Professional Dev...
50 questions
TIN HỌC 6 - ÔN TẬP GK1 2425
Quiz
•
6th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
