What is an algorithm?

CSC 101 Programming 1 Midterm Exam

Quiz
•
Computers
•
University
•
Medium
Sharita Eleccion
Used 8+ times
FREE Resource
51 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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[])
Create a free account and access millions of resources
Similar Resources on Quizizz
50 questions
Java Quizathon

Quiz
•
University
50 questions
Quiz Trivia

Quiz
•
University
50 questions
JavaScript-ITELECTIVE

Quiz
•
University
51 questions
Quiz JavaScript

Quiz
•
University
50 questions
OOP PRELIM

Quiz
•
University
52 questions
ICT CBP Q3 Periodical Test

Quiz
•
9th Grade - University
50 questions
Finite Automata

Quiz
•
University
50 questions
PF201: SCCPF2012223

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade