CSC 101 Programming 1 Midterm Exam

CSC 101 Programming 1 Midterm Exam

University

51 Qs

quiz-placeholder

Similar activities

CCNA 2 Module 1-4

CCNA 2 Module 1-4

University

51 Qs

Year 11 January Recap

Year 11 January Recap

University

50 Qs

COMBINATIONAL  DIGITAL CIRCUITS

COMBINATIONAL DIGITAL CIRCUITS

University

55 Qs

LATIHAN UNBK TKJ 2020

LATIHAN UNBK TKJ 2020

University

50 Qs

LATIHAN SOAL

LATIHAN SOAL

10th Grade - University

50 Qs

Final Exam - Introduction to Computing

Final Exam - Introduction to Computing

University

52 Qs

Presentaciones de Google

Presentaciones de Google

KG - Professional Development

48 Qs

Midterm Exam for AST 122

Midterm Exam for AST 122

University

50 Qs

CSC 101 Programming 1 Midterm Exam

CSC 101 Programming 1 Midterm Exam

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Sharita Eleccion

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?