U2: Introduction to Java Fundamentals Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Algorithm

A

Sequential technique that accepts input and produces output needed to solve problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Computer Programming

A

Writing code computers can translate and understand (ex: programs, applications)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Computer Science

A

Ideas, concepts and mathematics behind computer programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Programmers

A
  • Write code for software.
  • Employed in software development and IT.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Programming Skills [A]

A
  • Computer use
  • Reading and writing text
  • Finding information
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Programming Skills [B]

A
  • Oral communication
  • Scheduling/budgeting/accounting
  • Data analysis
  • Job task planning
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Programming Skills [C]

A
  • Decision making & problem solving
  • Measurement and calculation
  • Critical thinking
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Intergrated Development Environment (IDE):

A
  • Organizes program and files; ensures code is correct
  • Software allows writing of programs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Development Kit

A

Software turning code into viable computer program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Cloud IDE

A
  • Hosted and accessed through Internet; runs on remote servers
  • Accessible by any device
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Locally Installed IDE

A

Installed on developer’s computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Cloud IDE Accessibility

A
  • Enables real-time collaboration from different locations
  • Enhances team productivity; streamlines development
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Cloud IDE Scalability

A
  • Provides scalability of computing resources
  • Developers can scale projects up or down without limits on hardware
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Cloud IDE Integration

A
  • Built-in integrations with other development tools
  • Easy to add version control, deployment pipelines, continuous integration, other features
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Locally Installed IDE Performance

A

Provide faster performance; especially for intensive computing resources

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Cloud IDE Maintenance

A
  • Handle maintenance on server side
  • Reduces burden on developers to manage software installations
17
Q

Locally Installed IDE Customization [A]

A
  • More flexibility; allows many things
  • Design of GUIs
18
Q

Locally Installed IDE Offline Access

A

Don’t require internet connection

19
Q

Locally Installed IDE Customization [B]

A
  • Configuring of settings; install of plugins
  • Tailoring environment to workflow
20
Q

Locally Installed IDE Security

A
  • Provide greater control over data security
  • Good for sensitive information
21
Q

Locally Installed IDE Resource Control

A
  • More control over resources allocated
  • Beneficial for resource-intensive work
22
Q

WORA (Write Once, Run Anywhere)

A
  • Java doesn’t require compiling program for different computer systems
  • Occurs by compiler-interpreter model
23
Q

Examples of Machine Language Instructions

A
  • Moving data from Ram to register
  • Sending data to peripheral device
  • Machine code from Windows won’t run on Apple system
23
Q

Compile

A
  • Turning programming language code into machine language code
  • Program is translated, put together, built into machine language
24
Q

Machine Language Code

A
  • 0s and 1s
  • Language of CPU and components of computer
  • Slightly different for each computer
25
Q

Program Code Translation

A
  • Program code must be translated into machine language
  • Done with either compiler or interpreter
26
Q

Scanning

A
  • Compiler scans entire program and translates into machine code
  • Interpreter translates program 1 line at time
27
Q

Analysis & Execution

A
  • Compiler takes longer to analyze source code; execution is faster
  • Interpreter takes less time; execution time is slower
28
Q

Intermediate Code Generation

A
  • Compiler generates intermediate object code; requires further linking
  • Interpreter generates no intermediate object code; more memory efficient
29
Q

Errors in Code Translation

A
  • Compiler generates error after scanning whole program
  • Interpreter translates until first error met; makes fixing easy
30
Q

Languages Using Compiler and Interpreter

A
  • Compiler: C, C++, Java
  • Interpreter: Python, Ruby
31
Q

Java Bytecode

A
  • Middle language between programming and machine code
  • Machine independent - can run on any machine
32
Q

Java Virtual Machine (JVM)

A
  • Interpreter for Java bytecode → converts to machine code
  • Different for every OS
33
Q

Clicking “Run Project” on Java

A
  • First translated into Java bytecode using compiler
  • Then translated into machine-dependent code by JVM