FTCE CS - Programming Languages

Ace your homework & exams now with Quizwiz!

What is an Applet?

a java program that runs in a web browser

Predict the output: class Test { public static void main(String[ ] args) { System.out.println(10 + 20 +"Go Java"); } }

30GoJava

In Java, every statement must end with this symbol

;

What is a class in Java?

A class is a blue print from which individual objects are created

In Scratch the location of a Sprite is defined by

It's x and y position on the Cartesian plane

What is function overloading?

Methods with same name but different parameters

Command to move a sprite

Move

__________________ programming language provides a programmer with the ability to precisely define each step in the performance of a task as well as the means to be strongly modular.

Procedural ----The focus of procedural programming is to break down a programming task into a collection of data structures, variable, and subroutines, as opposed to object oriented programming, which breaks down a programming task into objects.

What is a class variable?

Static variables within a class but outside any method

super class

Variables, methods, and constructors which are declared private can be accessed only on the members of the super class.

super class

Variables, methods, and constructors which are declared protected can be accessed by any subclass of the super class

General programming construct that allows a piece of code to be name and then called by name

block(function/module/procedure)

General programming construct that allows a program to make a decision

conditional

In Scratch the commands to move sprites include:

go to glide to move

General programming construct that allows a program to repeat the same set of instructions

loop

super class

variables, methods, and constructors which are declared public in the superclass can be accessed by any class.

What is Encapsulation?

It is the technique of making the fields in a class private and providing access to the fields via public method


Related study sets

CIT: 310 Systems Architecture I @ WKU - On-Demand Study Tool

View Set

Network+ Guide to Networks 7th Edition Chapter 7

View Set

energy, flow and nutrient cycling

View Set

UNIT 2 - CHAPTER 6 - UNDERSTANDING ROLE AND IMPORTANCE OF STAKEHOLDERS

View Set

S-190 Intro to Wildland Fire Behavior

View Set

Introduction to Operations Management

View Set

Chapter 33: Obstetrics and Neonatal Care

View Set

Chapter 2: Types of Life Policies

View Set

MAN Chapt 7, Chapt 3, Chapt 4, Test 2 Concept Cards, Ch. 7 Strategies for Competing in International Markets, Test 1 General Cards, Chapter 5. The Five Generic Competitive Strategies, Chapt 1, Test 1 General Cards (2), MAN Test 2 Concept Cards, Chapt...

View Set

Fall 21 Health & Illness Exam 1 Content

View Set

Geography 103 A TEST 2 (lecture content from 9/27)

View Set

Modules 1-3: Basic Network Connectivity and Communications

View Set