PRC2

studied byStudied by 3 people
5.0(1)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 42

flashcard set

Earn XP

Description and Tags

PRC2 Quizzs : ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                    Week 02 -> https://quizizz.com/join/quiz/63eabef623f7d6001ef3c2bf/start/?studentShare\=true ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                    Week 03 -> https://quizizz.com/join/quiz/63fd354818c111001dda84b0/start/?studentShare\=true ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                    Week 04 -> https://quizizz.com/join/quiz/64063f4ef7dcc5001d48c95b/start/?studentShare\=true ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                    Week 05 -> https://quizizz.com/join/quiz/640f81dd71ad52001d1dc3cf/start/?studentShare\=true ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                    Week 06 -> https://quizizz.com/join/quiz/6416d6f343b0fc001dc8c5b5/start/?studentShare\=true ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                    Week 07 -> https://quizizz.com/join/quiz/6421d14c2246c3001ee249ee/start/?studentShare\=true ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                    Week 08 -> https://quizizz.com/join/quiz/643e37ab4cc54c001e51d228/start/?studentShare\=true ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                    Week 09 -> https://quizizz.com/join/quiz/6446c7be303588001dd043a0/start/?studentShare\=true ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                    Week 10 -> https://quizizz.com/join/quiz/64593679679320001eec79f6/start/?studentShare\=true ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                    Week 12: https://quizizz.com/join/quiz/646c42a3a1eff5001dc4a867/start/?studentShare%5C=true ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                     ‎‎‎‎‎                                                    Week 14: https://quizizz.com/join/quiz/647da947c7a4f8001d1bc54e/start/?studentShare%5C=true

43 Terms

1
AssertJ
Library for writing fluent and rich assertions in Java tests
New cards
2
Triple-A in the test context
Arrange - Act - Assert
New cards
3
Maven
Build automation tool used primarily for Java projects
New cards
4
DRY
Don’t Repeat Yourself
New cards
5
SUT
Subject Under Test
New cards
6
DOC
Dependent On Components
New cards
7
PIT-Test
Make changes in your implementation (by creating mutants) and check that these changes do not "SURVIVE" your tests.
New cards
8
Consumer
Accepts an argument and returns nothing
New cards
9
Predicate
Accepts an argument and returns a boolean
New cards
10
Function
Accepts and argument and returns a value
New cards
11
Supplier
Doesn’t accept an argument and return a value
New cards
12
Mock
Object that behave like an (alternate) implementation of a class or interface. It can also saves any method call that you do on it.
New cards
13
Stub
Fake class with preprogrammed return value that holds data that you provide and are presented to the SUT.
New cards
14
Spy
Wrapper around an actual implementation, that allows you to observe what goes in (method call+ parameters) and comes out of (return values) of the real object while it is used by the SUT. 
New cards
15
Generics
Help keeping the language safer by giving the compiler more ways to *reason* about the code and reject it when it is bad. 
New cards
16
 Bounded wild card
Wild card construct with `extends` or `super`
New cards
17
`extends`
defines the upper-bound
New cards
18
`super`
defines the lower-bound
New cards
19
P.E.C.S
  • Producer use extends

  • Consumer use super

New cards
20
Record
  1. privatefinal field for each piece of data

  2. getter for each field

  3. public constructor with a corresponding argument for each field

  4. equals method that returns true for objects of the same class when all fields match

  5. hashCode method that returns the same value when all fields match

  6. toString method that includes the name of the class and the name of each field and its corresponding value

New cards
21
Leaf class
Concrete class at the bottom of the type hierarchy, which is no longer generic on self
New cards
22
The keywords specific to the module declaration
  • exports What the module provides. Use with one package per line.

  • module starts the declaration

  • open if before the module, opens the whole module for reflection. For instance for a module that defines all entities of a multi-module application.

  • opens allows reflection of a package. Use with one per package per line.

  • provides To indicate that a module implements some interface with one or more implementations.

  • requires Indicates what the module itself needs or reads. One package per line.

  • transitive Used with requires to indicate that there is a requirement that is then made readable to the users of this module as well.

  • to Used to restrict either exports or opens to specific other module(s).

  • uses To indicate that a module uses a service provided by another module.

  • with Used with provides to indicate which implementation(s) are available for the provided interface implementation.

New cards
23
API
**A**pplication **P**rogramming **I**nterface

In Java, it contains only public and protected members (methods and fields)
New cards
24
Black box
In testing, you cannot see the internals, but only those parts defined in the API
New cards
25
White box
In testing, you do want access to the (package) private parts of your business code.
New cards
26
Protected ( # )

is visible

  • In any sub-class, inside or outside package

  • In any class within the same package

New cards
27
Transaction
Sequence of operations that can either succeed completely or be undone without any residual effect. \n It either happens fully, or we can forget about it.
New cards
28
View in a database
Virtual table whose contents are defined by a query. Unless indexed, a view does not exist as a stored set of data values in a database.

It enables to program against an interface
New cards
29
System catalog
Group of tables and views that incorporate vital details regarding a database
New cards
30
JDBC API
**J**ava **D**ata**b**ase **C**onnectivity **A**pplication **P**rogramming **I**nterface

Is implemented by the developers of database vendors or a database specific database driver
New cards
31
JavaFX Properties
Generic Observable interface that defines the methods common to all (writable) properties independent of their type

They are wrapper classes around a primitive type and will invalidate Observers on update.
New cards
32
JavaFX bindings
Observable that can observe other bindings

are immediately after creation 'invalid'

Cache the value of the (last) computation and serve that out until it is 'discarded' on an invalidate call.
New cards
33
State
Condition or situation in which an object exists
New cards
34
Transition
Change of state triggered by an event
New cards
35
Event
Action that triggers a transition from one state to another
New cards
36
Reflection
API that enables you to inspect types (classes, interfaces), fields, constructors, methods, packages, annotations etc. during runtime.
New cards
37
IOExceptions
Input/Output exception

Can come from reading/writing to a file or anything that has to do with data transfer from your software to an external medium.
New cards
38
Instant
Specific moment in time in UTC

The origin (called epoch) is set at midnight of the first of January 1970 Greenwich time (UTC).
New cards
39
 Unchecked exceptions
Reflect programming logic errors that are not recoverable

example : `NullPointerException`, `IndexOutOfBoundsException`, `RuntimeException`…
New cards
40
Bootstrap class loader
Loads classes from a couple of base modules and some internal JDK modules
New cards
41
Platform class loader
loads all classes of the Java platform not loaded by the bootstrap class loader
New cards
42
System (or Application) class loader
loads classes from the module path and the class path
New cards
43
Properties before loading the bytecode by the class loader
  • Variables are initialized before use

  • Method calls match the types of object references

  • Rules for accessing private data and method are not violated

  • Local variable accesses fall within runtime stack

  • The runtime stack does not overflow

New cards

Explore top notes

note Note
studied byStudied by 7 people
130 days ago
5.0(1)
note Note
studied byStudied by 52 people
756 days ago
5.0(1)
note Note
studied byStudied by 201 people
568 days ago
5.0(2)
note Note
studied byStudied by 27 people
883 days ago
5.0(1)
note Note
studied byStudied by 64 people
699 days ago
5.0(4)
note Note
studied byStudied by 33 people
874 days ago
5.0(2)
note Note
studied byStudied by 57 people
285 days ago
5.0(1)
note Note
studied byStudied by 44 people
14 days ago
5.0(1)

Explore top flashcards

flashcards Flashcard (84)
studied byStudied by 18 people
558 days ago
5.0(3)
flashcards Flashcard (31)
studied byStudied by 50 people
469 days ago
5.0(1)
flashcards Flashcard (58)
studied byStudied by 2 people
287 days ago
5.0(1)
flashcards Flashcard (46)
studied byStudied by 28 people
774 days ago
5.0(1)
flashcards Flashcard (33)
studied byStudied by 48 people
201 days ago
5.0(1)
flashcards Flashcard (108)
studied byStudied by 11 people
786 days ago
5.0(1)
flashcards Flashcard (113)
studied byStudied by 26 people
306 days ago
5.0(1)
flashcards Flashcard (28)
studied byStudied by 11 people
1 day ago
5.0(2)
robot