Programming Flashcards

1
Q

is an object-oriented, class-based, concurrent, secured and general-purpose computer-programming language. It is a widely used robust technology.

A

Java

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

is a programming language and a platform.

A

Java

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

is a high level, robust, object-oriented and secure programming language.

A

Java

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

Any hardware or software environment in which a program runs, is known as a _______

A

platform

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

JAVA was developed by ____________ in 1991, later acquired by Oracle Corporation.

A

Sun Microsystems Inc

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

Java was developed by

A

James Gosling and Patrick Naughton.

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

is known as the father of Java.

A

 James Gosling

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

Before Java, its name was ________

A

Oak

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

Each operating system has different _________ however the output they produce after execution of bytecode is same across all operating systems.

A

Java Virtual Machine (JVM)

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

ensures that the same Java code can be run on different operating systems and platforms.

A

Java Virtual Machine

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

the instruction set for Java Virtual Machine and acts similar to an assembler.

A

Bytecode

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

is a key platform component for building Java applications.

A

Java Development Kit

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

the on-disk program that loads Java applications for the JVM to execute.

A

Java Runtime Environment(JRE)

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

Java Applications:

A
  1. Desktop Applications such as acrobat reader, media player, antivirus, etc.
  2. Web Applications such as irctc.co.in, javatpoint.com, etc.
  3. Enterprise Applications such as banking applications.
  4. Mobile
  5. Embedded System
  6. Smart Card
  7. Robotics
  8. Games, etc.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

included by default when you download the Java Development Kit, and each ______ includes the core Java class libraries, a Java class loader, and a Java Virtual Machine.

A

Java Runtime Environment(JRE)

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

are also known as desktop applications or window-based applications. These are traditional software that we need to install on every machine.

A

Standalone Application

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

An application that runs on the server side and creates a dynamic page

A

Web Application

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

An application that is distributed in nature, such as banking applications, etc.

A

Enterprise Application

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

It has advantages of the high-level security, load balancing, and clustering.

A

Enterprise Application

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

An application which is created for mobile devices is called a

A

Mobile Application

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

It is a Java programming platform. It includes Java programming APIs such as java.lang, java.io, java.net, java.util, java.sql, java.math etc. It includes core topics like OOPs, String, Regex, Exception, Inner classes, Multithreading, I/O Stream, Networking, AWT, Swing, Reflection, Collection, etc.

A

Java SE (Java Standard Edition)

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

It is an enterprise platform which is mainly used to develop web and enterprise applications. It is built on the top of the Java SE platform. It includes topics like Servlet, JSP, Web Services, EJB, JPA, etc.

A

Java EE (Java Enterprise Edition)

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

It is a micro platform which is mainly used to develop mobile applications.

A

Java ME (Java Micro Edition)

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

It is used to develop rich internet applications. It uses a light-weight user interface API.

A

JavaFX

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

Features of Java

A
  1. Simple
  2. Object-Oriented
  3. Portable
  4. Platform independent
  5. Secured
  6. Robust
  7. Interpreted
  8. High Performance
  9. Distributed
25
Q

Java is very easy to learn, and its syntax is simple, clean and easy to understand.

A

Simple

26
Q

Everything in Java is an object.

A

Object-oriented

27
Q

it is different from other languages like C, C++, etc. which are compiled into platform specific machines while Java is a write once, run anywhere language.

A

Platform Independent

28
Q

it uses its own Runtime Environment (JRE) while others uses Runtime Environment of the Operating System (OS)

A

Secured

29
Q

It uses strong memory management.

A

Robust

30
Q

it facilitates you to carry the Java bytecode to any platform. It doesn’t require any implementation.

A

Portable

31
Q

Java is faster than other traditional interpreted programming languages because Java bytecode is “close” to native code.

A

High Performance

32
Q

it facilitates users to create distributed applications in Java.

A

Distributed

33
Q

place in memory where information or data is stored.

A

variable

34
Q

variable can be identified through its given name called

A

identifier

35
Q

A variable declared inside the body of the method is

A

Local Variable

36
Q

A variable declared inside the class but outside the body of the method, is called

A

Instance variable

37
Q

A variable which is declared as static using the static keywords is called _______.

A

Static variable instance

38
Q

is a place in memory(variable) whose value cannot change once it has been assigned.

A

constant

39
Q

Data Types in Java

A
  1. Primitive data types
  2. Non-primitive data
40
Q

are the building blocks of data manipulation. Considered as the most basic data types available in Java Language.

A

Java Primitive Data Types

41
Q

8 types of primitive data types:

A
  1. bool ​​​
  2. int
  3. byte
  4. long
  5. char ​​​​
  6. float
  7. short ​​​
    ​8. Double
42
Q

____ data types are used for storing whole numbers.

A

byte, short, int and long

43
Q

are used for fractional numbers.

A

float and double

44
Q
A
45
Q

is used for storing characters(letters).

A

char

46
Q

data type is used for variables that holds either true or false.

A

boolean

47
Q

Types of Java Basic Operators

A
  1. Arithmetic Operators
  2. Relational Operators
  3. Bitwise Operators
  4. Logical Operators
  5. Assignment Operators
  6. Ternary Operator (miscellaneous operator)
48
Q

time when Java program is running or being executed.

A

Runtime

49
Q

it determines what part of the program or project a variable is valid or visible.

A

Variable Scope

50
Q

specifies what kind of data including the different sizes and values that can be stored in the variable.

A

Data type

51
Q

is a combination of one or more operators, constants, functions and variables that the programming language interprets to produce a value.

A

Expression

52
Q

is a word that has a predefined meaning in Java programming language syntax or it is a word that only Java language can understand.

A

Keyword

53
Q

is a rule in making or writing java language statement or commands.

A

Syntax

54
Q

are symbols that has a special meaning or a character that represents an action.

A

Operators

55
Q

are used in mathematical expressions in the same way that they are used in algebra.

A

The Arithmetic Operators

56
Q

are used to compare two values or conditions and always return a boolean value (true/false).

A

The Relational or Comparison Operators

57
Q

works directly on data bits and performs bit-by-bit operation. Its operation is similar to what is done in Boolean Algebra.

A

The Bitwise Operators

58
Q

These operators are used to assign values to a variable. The left side operand of the assignment operator is a variable and the right side operand of the assignment operator is a value.

A

. The Assignment Operators

59
Q

also known as the ternary operator. This operator consists of three operands and is used to evaluate Boolean expressions.

A

Conditonal / Ternary Operator ( Miscellaneous Operator

60
Q

describes the order in which operations are performed when an expression is evaluated. Operations with a higher precedence are performed before those with a lower precedence.

A

Operator precedence

61
Q
A