
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
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[])
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
Day 2 - Java Test (class, object, static)

Quiz
•
University
50 questions
UTS PEMROGRAMAN MOBILE

Quiz
•
University
50 questions
VB.Net - OOP

Quiz
•
University
50 questions
HTML,CSS

Quiz
•
3rd Grade - University
50 questions
RIA Revision for Class Test_Set 2

Quiz
•
University
50 questions
Finite Automata

Quiz
•
University
50 questions
Java Quizathon

Quiz
•
University
50 questions
Quiz Trivia

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade