Study sets matching "science java fundamentals"

Study sets
Classes
Users

Study sets matching "science java fundamentals"

50 terms
AP Computer Science Rapid Review - Java Fundamentals
Variables
Primitive Data Types
Variable Names
Variable Names
Store data and must be declared with a data type
int, boolean, double
may begin with a letter, dollar sign, or underscore
can't begin with a number
Variables
Store data and must be declared with a data type
Primitive Data Types
int, boolean, double
62 terms
Java Fundamentals
What does the term generic mean?
Variable
Instance Variable
Variable Declaration
A generic type is a parameterized type - a type
The name (an identifier) given to a container that holds valu…
A non static field - a variable that applies only to the inst…
stating the name of the variable coupled with its data type
What does the term generic mean?
A generic type is a parameterized type - a type
Variable
The name (an identifier) given to a container that holds valu…
25 terms
Fundamentals of Java
Java Variable Declaration
Primitive Data Types
Primitive Data Type - int
Primitive Data Type - byte
The Java programming language is statically-typed, which me…
- A primitive data type is predefined by the language and i…
- Short for integer, which are all positive and negative nu…
- The byte data type is an integer with a minimum value of…
Java Variable Declaration
The Java programming language is statically-typed, which me…
Primitive Data Types
- A primitive data type is predefined by the language and i…
Java fundamentals
APPLET
SERVLET
JPS
JDBC
Een kleine applicatie die samen met een HTML pagina geladen w…
Een klein programmaatje dat op de server draait. Wordt vooral…
Een html-pagina waarin Java wordt aangeroepen.
De verzameling classes die een eenvoudige toegang tot databas…
APPLET
Een kleine applicatie die samen met een HTML pagina geladen w…
SERVLET
Een klein programmaatje dat op de server draait. Wordt vooral…
67 terms
Java Fundamentals
class header
class definition
access specifier
class
e.g., public class Example... This header marks the beginning of…
a java program must have at least one of these
e.g., public... controls where the class may be accessed from; p…
KEYWORD... indicates the beginning of a class definition... more th…
class header
e.g., public class Example... This header marks the beginning of…
class definition
a java program must have at least one of these
25 terms
Fundamentals of JAVA
Vocabulary (Language Elements)
Syntax (Language Elements)
Semantics
Arithmetic Operators
-Set of alk the words and symbols in the Language
Rules for combining words into sentences
-Rules for interpreting the meaning of statements
+ - * /
Vocabulary (Language Elements)
-Set of alk the words and symbols in the Language
Syntax (Language Elements)
Rules for combining words into sentences
Java fundamentals
What are the 8 primitives in Java?
Float vs double
Why would you use a number object inst…
What is autoboxing and unboxing?
byte , short , int , long , char , boolean , float and double
float is represented in 32 bits, with 1 sign bit, 8 bits of e…
* As an argument of a method that expects an object (often us…
Autoboxing is the automatic conversion that the Java compiler…
What are the 8 primitives in Java?
byte , short , int , long , char , boolean , float and double
Float vs double
float is represented in 32 bits, with 1 sign bit, 8 bits of e…
Java Fundamentals
What are generics?
What are the generics naming conventio…
What are collections?
What are interfaces?
Allows to specify what type is contained in the traylist?
Element(E), Key(K), Number(N), Type(T), Value(V)
Object that groups multiple elements into a single unit.
ADTs that represent collections, allow them to be manipulated…
What are generics?
Allows to specify what type is contained in the traylist?
What are the generics naming conventio…
Element(E), Key(K), Number(N), Type(T), Value(V)
21 terms
Java Fundamentals
What library is imported to every class?
Write the method signature of main.
What is the file extension for bytecode?
What does UML stand for?
Java (System)
public static void main(String args[])
.class
Unified Modeling Language
What library is imported to every class?
Java (System)
Write the method signature of main.
public static void main(String args[])
18 terms
java fundamentals
algorithm
program
programming languages
Source code
a sequence of steps carried out to complete a task or solve a…
an algorithm that a computer can run (that is, the computer c…
languages meant for humans to read and write programs
the programming language code that you write
algorithm
a sequence of steps carried out to complete a task or solve a…
program
an algorithm that a computer can run (that is, the computer c…
99 terms
Java : Java Fundamentals (2)
Chapter 2 Java Fundamentals (31-127)
The compiler ignores _____
Every Java app must have a method name…
FACT
Chapter 2 Java Fundamentals (31-127)
comments
main
Java is case-sensitive
Chapter 2 Java Fundamentals (31-127)
Chapter 2 Java Fundamentals (31-127)
The compiler ignores _____
comments
44 terms
JavaScript Fundamentals
curly brackets
case sensitive
undefined
dot square bracket
Java script object is represented and created using ___ ___s;…
Like all JavaScript variables, both the object name (which co…
Unassigned properties of an object are ___ and not null; myCa…
Property accessors provide access to an object's properties b…
curly brackets
Java script object is represented and created using ___ ___s;…
case sensitive
Like all JavaScript variables, both the object name (which co…
Java Fundamentals
对不同的变量赋值时
常用的代码模版
eclipse 中如何得到更多的 code templates?
程序设计围绕着哪几个基本点:
基本类型复制的是值, 而引用类型,复制的是引用;
main, 再按 ALT+/, 得到public static main void(String args[]) {} 函…
windows -Preferences - Java - Editor - Templates 发现更多的 code t…
对象和类有哪些? ... 类包含哪些属性与方法?... 类之间的关系(继承或关联)?... 对象之间如何发送消息(调用方法)?
对不同的变量赋值时
基本类型复制的是值, 而引用类型,复制的是引用;
常用的代码模版
main, 再按 ALT+/, 得到public static main void(String args[]) {} 函…
110 terms
Chapter 2 Java Fundamentals
class header
class
A java program must have at least one…
access specifier
marks the beginning of a class definition
serves as a container for an application
true
"public" - unrestricted... controls where the class may be acces…
class header
marks the beginning of a class definition
class
serves as a container for an application
JavaScript Fundamentals
alert syntax for a string.
alert syntax for a variable.
What does the " alert" key word do?
What is the variable key word?
alert ( " ivan" );
alert ( myVariable );
Outputs a message into a box.
var
alert syntax for a string.
alert ( " ivan" );
alert syntax for a variable.
alert ( myVariable );
11 terms
Java Fundamentals Chapter 4
Control Statements
Counter
Count-Controlled Loop
Entry-Controlled Loop
A statement that controls the flow of the execution of progra…
A variable reaches a specified limit.
A loop that stops when a counter variable reaches a specified…
A loop in which the control condition is tested before the lo…
Control Statements
A statement that controls the flow of the execution of progra…
Counter
A variable reaches a specified limit.
24 terms
Ch 15 - Java Fundamentals
Precedence of Operators
if
sequence structure
decision structure
1 - ! Unary negation, logical NOT... 2 * / % Multiplication, div…
if (BooleanExpression {... statement;... statement used to create…
the statements are executed in a sequence, without branching…
a specific action is taken only when a condition exists... if th…
Precedence of Operators
1 - ! Unary negation, logical NOT... 2 * / % Multiplication, div…
if
if (BooleanExpression {... statement;... statement used to create…
11 terms
Java Fundamentals Chapter 4
Control Statements
Counter
Count-Controlled Loop
Entry-Controlled Loop
A statement that controls the flow of the execution of progra…
A variable reaches a specified limit.
A loop that stops when a counter variable reaches a specified…
A loop in which the control condition is tested before the lo…
Control Statements
A statement that controls the flow of the execution of progra…
Counter
A variable reaches a specified limit.
58 terms
Java Module 1 - Java Fundamentals
How many classes can a Java source cod…
The public class name must match with:
What is this:... public class Simple
What is this:... public static void main…
Multiple, but only one can be a public class
The source code filename
A class header for the class "Simple"
A method header for the method "main"
How many classes can a Java source cod…
Multiple, but only one can be a public class
The public class name must match with:
The source code filename
28 terms
Java Fundamentals (Midterm)
Java is a _____ _________ language.
When saving files you must use EXACTLY…
When you name a program or declare var…
What is a program?
CASE SENSITIVE
CASE (capitalization)
NUMBER (ex---> 1stprogram.java <----this is wrong!!)
A set of instructions for a computer to follow.
Java is a _____ _________ language.
CASE SENSITIVE
When saving files you must use EXACTLY…
CASE (capitalization)
Java Fundamentals - Threads
Two ways to implement a thread
What method do you call to run a Thread
join()
sleep()
Subclass Thread and override run method... or ... Implement the Run…
start()
method sets to wait for current thread to die before starting…
makes current thread sleep for a specific time interval in mi…
Two ways to implement a thread
Subclass Thread and override run method... or ... Implement the Run…
What method do you call to run a Thread
start()
23 terms
Chapter 2 Java Fundamentals
.java
Comments
standard output device
standard input device
All Java programs must be stored in a file with a ________ fi…
are ignored by the compiler
The console window that starts a Java application is typicall…
device is typically the keyboard.
.java
All Java programs must be stored in a file with a ________ fi…
Comments
are ignored by the compiler
110 terms
Chapter 2 Java Fundamentals
class header
class
A java program must have at least one…
access specifier
marks the beginning of a class definition
serves as a container for an application
true
"public" - unrestricted... controls where the class may be acces…
class header
marks the beginning of a class definition
class
serves as a container for an application
50 terms
Ch. 2 - Java Fundamentals
Which one of the following would conta…
To compile a program named First, use…
A Java program must have at least one…
In Java, the beginning of a comment is…
Demo.class
javac First.java
Class definition
//
Which one of the following would conta…
Demo.class
To compile a program named First, use…
javac First.java
31 terms
Some JavaScript Fundamentals
What is code in the context of program…
What is a computer program?
Computer programs are run ...
What is JavaScript?
Instructions interpreted by a computer according to programmi…
A list of instructions.
Linearly. Programs are lists of instructions that execute lin…
Javascript is a programming language developed by Netscape as…
What is code in the context of program…
Instructions interpreted by a computer according to programmi…
What is a computer program?
A list of instructions.
42 terms
Ch 14 - Java Fundamentals
class
object
UML
members
collection of programming statements that specify the attribu…
instance of a class... software component that exists in the com…
unified modeling language... provides a set of standard diagrams…
attributes and methods that belong to a class
class
collection of programming statements that specify the attribu…
object
instance of a class... software component that exists in the com…
28 terms
Java Fundamentals - Chapter 1
Java Runtime Environment (JRE)
Java Virtual Machine (JVM)
Virtual Machine (relates to JVM)
Write Once Run Anywhere (WORA) (relate…
Provides the minimum requirements for executing a Java applic…
Analyzes and executes Java byte code. Reads a Java applicatio…
A software implementation of a machine that executes programs…
Java founding concept to write/develop on one machine and run…
Java Runtime Environment (JRE)
Provides the minimum requirements for executing a Java applic…
Java Virtual Machine (JVM)
Analyzes and executes Java byte code. Reads a Java applicatio…
42 terms
Ch 14 - Java Fundamentals
class
object
UML
members
collection of programming statements that specify the attribu…
instance of a class... software component that exists in the com…
unified modeling language... provides a set of standard diagrams…
attributes and methods that belong to a class
class
collection of programming statements that specify the attribu…
object
instance of a class... software component that exists in the com…
89 terms
Chapter 2 Java Fundamentals
class header
class
A java program must have at least one…
access specifier
marks the beginning of a class definition
serves as a container for an application
true
"public" - unrestricted... controls where the class may be acces…
class header
marks the beginning of a class definition
class
serves as a container for an application
29 terms
Chapter 2 Java Fundamentals
Special Characters
Print and println & Java API
Application Programmer Interface (API)
Escape Sequences
// Double slash marks the beginning of a comment... ( ) Open and…
The print and println methods are used to display text output…
A standard library of prewritten classes for performing speci…
An escape sequence starts with the backslash character (\) an…
Special Characters
// Double slash marks the beginning of a comment... ( ) Open and…
Print and println & Java API
The print and println methods are used to display text output…
78 terms
Chapter 3 Fundamentals of Java
What is vocabulary?
What is syntax?
What are semantics?
What is the difference between program…
set of all words and symbols in the language
rules for combining words into statements
define the rules for interpreting the meaning of statements
Size-programming is much smaller, easier to learn... Rigidity-sy…
What is vocabulary?
set of all words and symbols in the language
What is syntax?
rules for combining words into statements
71 terms
Ch 13 - Java Fundamentals
//
variable
literal
variable declaration
Indicates a single-line comment - will be ignored by the comp…
named storage location in a computer's memory... should always b…
a value written into the code of a program... commonly assigned…
int value;... tells the compiler the variable's name and the typ…
//
Indicates a single-line comment - will be ignored by the comp…
variable
named storage location in a computer's memory... should always b…
Java Script Fundamentals
Bits
Values
Six types of values
Numbers
Any kind of two valued thing
Chunks of bits
numbers, strings, booleans, objects, functions, undefined val…
A numerical value
Bits
Any kind of two valued thing
Values
Chunks of bits
8 terms
Java Fundamentals - Type Conversion
Implicit
Explicit
Implicit
Explicit
A ________ conversion is one done by the compiler automatically
A _______ conversion is one done in code using a cast operator
int iVal = 50;... long lVal = iVal;... This is an example of wha…
long lVal = 50;... int iVal = (int) lVal;... This is an example o…
Implicit
A ________ conversion is one done by the compiler automatically
Explicit
A _______ conversion is one done in code using a cast operator
21 terms
JavaScript Fundamentals (105)
Javascript
Tools for Analyzing JavaScript
JavaScript Function
Eval() Function
one of the 3 core technologies of internet content production…
Rhino, Malzilla, and Revelo
a procedure or set of statements that performs a task or calc…
String input. it will execute as if it were code.
Javascript
one of the 3 core technologies of internet content production…
Tools for Analyzing JavaScript
Rhino, Malzilla, and Revelo
12 terms
JavaScript Fundamentals
class
method
public static void main(String[] args)
\n
used to serve as a container for an application
a group of one or more programming statements that collective…
the default method header
The escape sequence that causes the output cursor to go to th…
class
used to serve as a container for an application
method
a group of one or more programming statements that collective…
49 terms
Fundamentals of Java Ch 1
1950's Apple sold it first business co…
The first IBM computer had 1/2000 the…
A kilobyte is 1000 bytes
Bit is another term for binary digit
False
True
True
True
1950's Apple sold it first business co…
False
The first IBM computer had 1/2000 the…
True
33 terms
Chapter 2 Java Fundamentals
Method
// Double Slash
( ) Opening and closing parentheses
{ } Opening and closing braces
Can be thought of as a group of one more programming statemen…
Marks the beginning of a comment
Used in a method header
Encloses a group of statements, such as the contents of a cla…
Method
Can be thought of as a group of one more programming statemen…
// Double Slash
Marks the beginning of a comment
57 terms
CH 2: Java Fundamentals
Java source code file...
Public Class and Filename
Class Header
Comment
_______ contains one or more Java classes.... only ONE of them m…
The public class and the filename of the source code file mus…
public class simple ... This is the class header for the cla…
// This is a comment.... It is ignored by the compiler.
Java source code file...
_______ contains one or more Java classes.... only ONE of them m…
Public Class and Filename
The public class and the filename of the source code file mus…
The Fundamentals of Coding in Java
Int
Boolean
Char
Variable
Short for integer, numbers that are in between -2,147,483,648…
True of False inputs (do not require a quotation)... Example: in…
An input of a single, capital letter (require a single quotat…
Used to store values
Int
Short for integer, numbers that are in between -2,147,483,648…
Boolean
True of False inputs (do not require a quotation)... Example: in…
20 terms
Computer quiz - Java Fundamentals
Subclass
Class
Superclass
Instance
More specific types of a class
The template that defines the substance of an object, such as…
The more generic, overarching class of a group of classes
An object of the class
Subclass
More specific types of a class
Class
The template that defines the substance of an object, such as…
22 terms
Chp 1 Background Fundamentals of JAVA
Application software
Assembly Language
Auxilliary Input/output (I/O)
Bit
Programs that allow human users to accomplish specialized tas…
A computer language that allows the programmer to express ope…
A medium external to primary memory, such as a disk or flash…
A binary digit.
Application software
Programs that allow human users to accomplish specialized tas…
Assembly Language
A computer language that allows the programmer to express ope…
21 terms
JavaScript Fundamentals Exam
What are the core three languages of t…
What is one way that JavaScript and CS…
What is the difference between interpr…
When does a function interaction opera…
HTML-Content... CSS-Presentation... JavaScript-Behavior
They are both...... Embedded,Inline, and External
Interpreted-an interpreted language is one where the instruct…
Three ways are..... -Automatically(self invoked)... -When its calle…
What are the core three languages of t…
HTML-Content... CSS-Presentation... JavaScript-Behavior
What is one way that JavaScript and CS…
They are both...... Embedded,Inline, and External
16 terms
Java fundamental code
main class
//
()
{}
public class Primary{... public static void main (String [] arg…
marks beginning of a comment
parameters
enclose group of statements
main class
public class Primary{... public static void main (String [] arg…
//
marks beginning of a comment
Fundamentals of Java Chapter 3 flashcards
vocabulary
Arithmetic Operators
Assignment Operator
Syntax
set of all of the words and symbols in the language
+ (addition)... - (subtraction)... * (multiplication)... / (division)
= (equals sign)
consists of the rules for statements
vocabulary
set of all of the words and symbols in the language
Arithmetic Operators
+ (addition)... - (subtraction)... * (multiplication)... / (division)
14 terms
Fundamentals of Java: Chapter 6 vocab
Accessor
Actual parameter
Behavior
Constructor
A method used to examine an attribute of an object without ch…
A variable or expression contained in a method call and passe…
The set of actions that a class of objects supports
A method that is run when an object is instantiated, usually…
Accessor
A method used to examine an attribute of an object without ch…
Actual parameter
A variable or expression contained in a method call and passe…
47 terms
3.Java fundamental theory
Encapsulation
encapsulated
restrict... methods... instance
any... package... subclass... package... class
the concept of storing related data and code together
The details of implementation are _ and hidden from the user.
Access modifiers can be used to _ access to _ and _ variables.
The public access modifier allows _ class to access the publi…
Encapsulation
the concept of storing related data and code together
encapsulated
The details of implementation are _ and hidden from the user.
30 terms
Fundamentals of Java Chapter 3 flashcards
vocabulary
Arithmetic Operators
Assignment Operator
Syntax
set of all of the words and symbols in the language
+ (addition)... - (subtraction)... * (multiplication)... / (division)
= (equals sign)
consists of the rules for statements
vocabulary
set of all of the words and symbols in the language
Arithmetic Operators
+ (addition)... - (subtraction)... * (multiplication)... / (division)
41 terms
Computer quiz - Java Fundamentals
Subclass
Class
Superclass
Instance
More specific types of a class
The template that defines the substance of an object, such as…
The more generic, overarching class of a group of classes
An object of the class
Subclass
More specific types of a class
Class
The template that defines the substance of an object, such as…
Session 3: Java Programming Fundamentals
=
initialization
hold only one value at a time
Unicode
• The assignment operator ____ is used to store or assign a v…
• You can create a variable and assign a value to it at the s…
• A variable can ____________ . When you assign a new value t…
•_____________ is a whole number that represents a keyboard c…
=
• The assignment operator ____ is used to store or assign a v…
initialization
• You can create a variable and assign a value to it at the s…
1 of 10