
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
56 questions
Online World Mock Exam
Quiz
•
12th Grade - University
50 questions
2ºDAW - Diseño de Interfaces Web - Trim.2 - Prof. C. Boni
Quiz
•
University - Professi...
50 questions
Email - Northstar
Quiz
•
University
46 questions
Power Point – Wiputra Cendana
Quiz
•
University
50 questions
Algoritmika 1.
Quiz
•
10th Grade - University
50 questions
CN Quiz-1
Quiz
•
University
50 questions
HTML CSS Quiz
Quiz
•
University
55 questions
JAVASCRIPT LONG
Quiz
•
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
