Developer Assessment Flashcards

1
Q

What is object oriented programming languages?

A

Object-oriented programming (OOP) is a programming paradigm based on the concept of “objects”, which may contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods. For example, a person is an object which has certain properties such as height, gender, age, etc. It also has certain methods such as move, talk, and so on.

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

Object-oriented programming (OOP) is a programming paradigm based on the concept of “objects”, which may contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods. For example, a person is an object which has certain properties such as height, gender, age, etc. It also has certain methods such as move, talk, and so on.

A

What is object oriented programming languages?

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

Four Kinds of Object Oriented Programming Languages

A
What are the four kinds ? 
Encapsulation. This principle states that all important information is contained inside an object and only select information is exposed. The implementation and state of each object are privately held inside a defined class. Other objects do not have access to this class or the authority to make changes. They are only able to call a list of public functions or methods. This characteristic of data hiding provides greater program security and avoids unintended data corruption.
Abstraction. Objects only reveal internal mechanisms that are relevant for the use of other objects, hiding any unnecessary implementation code. The derived class can have its functionality extended. This concept can help developers more easily make additional changes or additions over time.
Inheritance. Classes can reuse code from other classes. Relationships and subclasses between objects can be assigned, enabling developers to reuse common logic while still maintaining a unique hierarchy. This property of OOP forces a more thorough data analysis, reduces development time and ensures a higher level of accuracy.
Polymorphism. Objects are designed to share behaviors and they can take on more than one form. The program will determine which meaning or usage is necessary for each execution of that object from a parent class, reducing the need to duplicate code. A child class is then created, which extends the functionality of the parent class. Polymorphism allows different types of objects to pass through the same interface.
 Inheritance − The ability to create a new class from an existing class is called Inheritance. Using inheritance, we can create a Child class from a Parent class such that it inherits the properties and methods of the parent class and can have its own additional properties and methods. For example, if we have a class Vehicle that has properties like Color, Price, etc, we can create 2 classes like Bike and Car from it that have those 2 properties and additional properties that are specialized for them like a car has numberOfWindows while a bike cannot. Same is applicable to methods.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the four kinds ?

Encapsulation. This principle states that all important information is contained inside an object and only select information is exposed. The implementation and state of each object are privately held inside a defined class. Other objects do not have access to this class or the authority to make changes. They are only able to call a list of public functions or methods. This characteristic of data hiding provides greater program security and avoids unintended data corruption.

Abstraction. Objects only reveal internal mechanisms that are relevant for the use of other objects, hiding any unnecessary implementation code. The derived class can have its functionality extended. This concept can help developers more easily make additional changes or additions over time.
Inheritance. Classes can reuse code from other classes. Relationships and subclasses between objects can be assigned, enabling developers to reuse common logic while still maintaining a unique hierarchy. This property of OOP forces a more thorough data analysis, reduces development time and ensures a higher level of accuracy.

Polymorphism. Objects are designed to share behaviors and they can take on more than one form. The program will determine which meaning or usage is necessary for each execution of that object from a parent class, reducing the need to duplicate code. A child class is then created, which extends the functionality of the parent class. Polymorphism allows different types of objects to pass through the same interface.

Inheritance − The ability to create a new class from an existing class is called Inheritance. Using inheritance, we can create a Child class from a Parent class such that it inherits the properties and methods of the parent class and can have its own additional properties and methods. For example, if we have a class Vehicle that has properties like Color, Price, etc, we can create 2 classes like Bike and Car from it that have those 2 properties and additional properties that are specialized for them like a car has numberOfWindows while a bike cannot. Same is applicable to methods.

A

Four types of Object Oriented Programming

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

Encapsulation

A

This principle states that all important information is contained inside an object and only select information is exposed. The implementation and state of each object are privately held inside a defined class. Other objects do not have access to this class or the authority to make changes. They are only able to call a list of public functions or methods. This characteristic of data hiding provides greater program security and avoids unintended data corruption.

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

This principle states that all important information is contained inside an object and only select information is exposed. The implementation and state of each object are privately held inside a defined class. Other objects do not have access to this class or the authority to make changes. They are only able to call a list of public functions or methods. This characteristic of data hiding provides greater program security and avoids unintended data corruption.

A

Encapsulation

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

Abstraction.

A
Objects only reveal internal mechanisms that are relevant for the use of other objects, hiding any unnecessary implementation code. The derived class can have its functionality extended. This concept can help developers more easily make additional changes or additions over time.
Inheritance. Classes can reuse code from other classes. Relationships and subclasses between objects can be assigned, enabling developers to reuse common logic while still maintaining a unique hierarchy. This property of OOP forces a more thorough data analysis, reduces development time and ensures a higher level of accuracy.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
Objects only reveal internal mechanisms that are relevant for the use of other objects, hiding any unnecessary implementation code. The derived class can have its functionality extended. This concept can help developers more easily make additional changes or additions over time.
Inheritance. Classes can reuse code from other classes. Relationships and subclasses between objects can be assigned, enabling developers to reuse common logic while still maintaining a unique hierarchy. This property of OOP forces a more thorough data analysis, reduces development time and ensures a higher level of accuracy.
A

Abstraction

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

Polymorphism

A

Objects are designed to share behaviors and they can take on more than one form. The program will determine which meaning or usage is necessary for each execution of that object from a parent class, reducing the need to duplicate code. A child class is then created, which extends the functionality of the parent class. Polymorphism allows different types of objects to pass through the same interface.

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

Objects are designed to share behaviors and they can take on more than one form. The program will determine which meaning or usage is necessary for each execution of that object from a parent class, reducing the need to duplicate code. A child class is then created, which extends the functionality of the parent class. Polymorphism allows different types of objects to pass through the same interface.

A

Polymorphism

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

Inheritance

A

The ability to create a new class from an existing class is called Inheritance. Using inheritance, we can create a Child class from a Parent class such that it inherits the properties and methods of the parent class and can have its own additional properties and methods. For example, if we have a class Vehicle that has properties like Color, Price, etc, we can create 2 classes like Bike and Car from it that have those 2 properties and additional properties that are specialized for them like a car has numberOfWindows while a bike cannot. Same is applicable to methods.

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

The ability to create a new class from an existing class is called Inheritance. Using inheritance, we can create a Child class from a Parent class such that it inherits the properties and methods of the parent class and can have its own additional properties and methods. For example, if we have a class Vehicle that has properties like Color, Price, etc, we can create 2 classes like Bike and Car from it that have those 2 properties and additional properties that are specialized for them like a car has numberOfWindows while a bike cannot. Same is applicable to methods.

A

Inheritance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
SDLC 
Seven Phases of Software Development Life Cycle
Planning
Define Requirements
Design & Prototyping
Software development
Testing 
Deployment 
Operation & Maintenance
A

SDLC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
SDLC 
Seven Phases of Software Development Life Cycle
Planning
Define Requirements
Design & Prototyping
Software development
Testing 
Deployment 
Operation & Maintenance
A

SDLC

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

Where are you at in SDLC

A

I’ve worked most aspects of the Software Development Life Cycle, for the two websites and other apps I have worked on. With my two most recent projects I am in the development phases.

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

Where are you at in SDLC

A

I’ve worked most aspects of the Software Development Life Cycle, for the two websites and other apps I have worked on. With my two most recent projects I am in the development phases.

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

Your experience in developing an application

A

I’ve developed a few apps for clients with 100 Developers and a few websites for other clients including
M and L Electric (Business Website) – Technicians can track sales from their customers with their names. Customers can login to the website and see orders that have been made, mark them as complete. Orders that have been completed will note which tech completed the order.
Community Meme Matching Game (Full Stack Web App) – With over 100 different cards, test your memory in several memorable memes from the show Community!
Other Projects: Small Lakes Casino Virtual Slot Machine, Los Angeles StarGazers Society APOD Web App with NASA API integration, On-demand background color changer for Partnered Twitch streamer, DND Stats/Character generator, dice roller and many more!!

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

I’ve developed a few apps for clients with 100 Developers and a few websites for other clients including
M and L Electric (Business Website) – Technicians can track sales from their customers with their names. Customers can login to the website and see orders that have been made, mark them as complete. Orders that have been completed will note which tech completed the order.
Community Meme Matching Game (Full Stack Web App) – With over 100 different cards, test your memory in several memorable memes from the show Community!
Other Projects: Small Lakes Casino Virtual Slot Machine, Los Angeles StarGazers Society APOD Web App with NASA API integration, On-demand background color changer for Partnered Twitch streamer, DND Stats/Character generator, dice roller and many more!!

A

Your experience in developing an application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q
Question 1
Which of the following is NOT a data constraint in SQL?
NOT NULL
UNIQUE
DEFAULT
ORIGINAL
A

D Original

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

What is a constraint in SQL?

A

Constraint specifies the rule to allow or restrict what data will be stored in a table. The PRIMARY KEY, NOT NULL, and CHECK are the constraints that specify rules for data insertion.

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

Constraint specifies the rule to allow or restrict what data will be stored in a table. The PRIMARY KEY, NOT NULL, and CHECK are the constraints that specify rules for data insertion.

A

What is a constraint of SQL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q
Question 2
Which of the following is NOT a data type in SQL?
TINYINT
BIGINT
CHAR
STRING
A

String

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

STRING

A
Question 2
Which of the following is NOT a data type in SQL?
TINYINT
BIGINT
CHAR
STRING
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

How would we achieve ‘encapsulation’?
by restricting access to the variables within a class, and only allowing access through the methods of their current class

by allowing more access to our attributes

by refactoring code using specialised software

by allowing classes to inherit both attributes and methods

A

by restricting access to the variables within a class, and only allowing access through the methods of their current class

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

by restricting access to the variables within a class, and only allowing access through the methods of their current class

A

How would we achieve ‘encapsulation’?

Right Answer: by restricting access to the variables within a class, and only allowing access through the methods of their current class

by allowing more access to our attributes
by refactoring code using specialised software
by allowing classes to inherit both attributes and methods

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

Which of these is NOT an Object-Oriented Programming Principle?

A

Open/Closed

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

Open/Closed

A

Which of these is NOT an Object-Oriented Programming Principle?

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

What are Spring Service components used to store?

A

the main business logic of a Spring Boot application
the controllers for a Spring Boot application
the information about the database for a Spring Boot application
the repository of a Spring Boot application

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

the main business logic of a Spring Boot application
the controllers for a Spring Boot application
the information about the database for a Spring Boot application
the repository of a Spring Boot application

A

What are Spring Service components used to store?

30
Q

Which of the following would be correct in Java?

A

for(int i = 0; i <= 10; j++) {

System.out.println(“Hello There!”)

31
Q

for(int i = 0; i <= 10; j++) {

System.out.println(“Hello There!”)

A

Which of the following would be correct in Java?

32
Q

How could we define what conditionals are in programming?

A

They allow the developer to check values and make decisions based off the answer of that check

33
Q

They allow the developer to check values and make decisions based off the answer of that check

A

How could we define what conditionals are in programming?

34
Q

What’s the difference between continuous delivery and continuous deployment?

A

Continuous deployment puts a greater emphasis on testing automation to check that the application is not broken whenever new commits are integrated into the main branch.

35
Q

Continuous deployment puts a greater emphasis on testing automation to check that the application is not broken whenever new commits are integrated into the main branch.

A

What’s the difference between continuous delivery and continuous deployment?

36
Q

How can we view all the records within a table?

A

SELECT * FROM table_name;

37
Q

SELECT * FROM table_name;

A

How can we view all the records within a table?

38
Q

What is PaaS (Platform as a Service)?

A

PaaS delivers cloud computing infrastructure, including servers, network, operating systems, and storage, through virtualization technology. These cloud servers are typically provided to the organization through an API or a dashboard, giving PaaS clients complete control over the entire infrastructure.

39
Q

PaaS delivers cloud computing infrastructure, including servers, network, operating systems, and storage, through virtualization technology. These cloud servers are typically provided to the organization through an API or a dashboard, giving PaaS clients complete control over the entire infrastructure.

A

What is PaaS (Platform as a Service)?

40
Q

What is PaaS (Platform as a Service)?

A

PaaS delivers cloud computing infrastructure, including servers, network, operating systems, and storage, through virtualization technology. These cloud servers are typically provided to the organization through an API or a dashboard, giving PaaS clients complete control over the entire infrastructure.

41
Q
Which of these is NOT true in Java?
Strings are used for storing text
In technical terms, a string is an array of characters.
Strings are treated as objects in Java.
String is a primitive data type in Java.
A

String is a primitive data type in Java.

42
Q

Java Facts

A

Strings are used for storing text
In technical terms, a string is an array of characters.
Strings are treated as objects in Java.

43
Q

There are five SOLID principles in programming. The S in SOLID stands for:

A

Single Responsibility

44
Q

Single Responsibility

A

The S in the SOLID Programming acronym

45
Q

The Singleton pattern is one of the most popular design patterns in OOP programming. How would you describe it?

A

It’s used for single-point-of-operation modules, such as logging, driver objects, caching, and thread pools, although it’s occasionally used within the implementations of other design patterns.

46
Q

It’s used for single-point-of-operation modules, such as logging, driver objects, caching, and thread pools, although it’s occasionally used within the implementations of other design patterns.

A

The Singleton pattern is one of the most popular design patterns in OOP programming. How would you describe it?

47
Q
var x=10;
var y=2;
var res=eval("x+y");
console.log (res);
A

Output: 12

48
Q

How can you declare a variable in JavaScript?

A

Using const, let and var.

49
Q

Using const, let and var.

A

How can you declare a variable in JavaScript?

50
Q

What is function overloading?

A

Having 2 functions in the same scope with the same name but differing in argument types.

51
Q

Having 2 functions in the same scope with the same name but differing in argument types.

A

What is function overloading?

52
Q

In some programming languages, function overloading or method overloading is the ability to create multiple functions of the same name with different implementations. Calls to an overloaded function will run a specific implementation of that function appropriate to the context of the call, allowing one function call to perform different tasks depending on context.

A

Function Overloading

53
Q

Function overloading

A

In some programming languages, function overloading or method overloading is the ability to create multiple functions of the same name with different implementations. Calls to an overloaded function will run a specific implementation of that function appropriate to the context of the call, allowing one function call to perform different tasks depending on context.

54
Q

In some programming languages, function overloading or method overloading is the ability to create multiple functions of the same name with different implementations. Calls to an overloaded function will run a specific implementation of that function appropriate to the context of the call, allowing one function call to perform different tasks depending on context.

A

Function Overload

55
Q

What is test driven development (TDD)?

A

A software development practice that focuses on working closely with the QA team during development time to ensure edge cases are accounted for.
A software development practice that focuses on writing all unit tests before development time begins, then focuses on getting those tests to pass.
A software development practice that focuses on a cycle of coding functionality then writing its test, ensuring your code is modular and not overcomplicated.
All of the above

56
Q

A software development practice that focuses on working closely with the QA team during development time to ensure edge cases are accounted for.
A software development practice that focuses on writing all unit tests before development time begins, then focuses on getting those tests to pass.
A software development practice that focuses on a cycle of coding functionality then writing its test, ensuring your code is modular and not overcomplicated.
All of the above

A

What is test driven development (TDD)?

57
Q

What is true about code interpreters?

A

Converts code to machine code at compile time

58
Q

Converts code to machine code at compile time

A

What is true about code interpreters?

59
Q

Code Interpreter

A

An Interpreter is a program that converts the code a developer writes into an intermediate language, called the byte code. It converts the code line by line, one at a time. It translates till the end and stops at that line where an error occurs, if any, making the debugging process easy.%
Every time source program is launched compile time

60
Q

An Interpreter is a program that converts the code a developer writes into an intermediate language, called the byte code. It converts the code line by line, one at a time. It translates till the end and stops at that line where an error occurs, if any, making the debugging process easy.%
Every time source program is launched compile time

A

Code Interpreter

61
Q

What makes the DOM slow?

A

Its tree like nature means nodes further down the branch are hard to access.

62
Q

Its tree like nature means nodes further down the branch are hard to access.

A

What makes the DOM slow?

63
Q

DOM

A

The Document Object Model (DOM) is an application programming interface (API) for HTML and XML documents. It defines the logical structure of documents and the way a document is accessed and manipulated.

64
Q

The Document Object Model (DOM) is an application programming interface (API) for HTML and XML documents. It defines the logical structure of documents and the way a document is accessed and manipulated.

A

DOM

65
Q

What is the Root node of the DOM tree?

A

Document

66
Q

Document

A

What is the Root node of the DOM tree?

67
Q

MongoDB

A

NoSQL databases are interchangeably referred to as “nonrelational,” “NoSQL DBs,” or “non-SQL” to highlight the fact that they can handle huge volumes of rapidly changing, unstructured data in different ways than a relational (SQL) database with rows and tables.
NoSQL technologies have been around since the 1960s, under various names, but are enjoying a surge in popularity as the data landscape shifts and developers need to adapt to handle the sheer volume and vast array of data generated from the cloud, mobile, social media, and big data.

68
Q

NoSQL databases are interchangeably referred to as “nonrelational,” “NoSQL DBs,” or “non-SQL” to highlight the fact that they can handle huge volumes of rapidly changing, unstructured data in different ways than a relational (SQL) database with rows and tables.
NoSQL technologies have been around since the 1960s, under various names, but are enjoying a surge in popularity as the data landscape shifts and developers need to adapt to handle the sheer volume and vast array of data generated from the cloud, mobile, social media, and big data.

A

MongoDB

69
Q

Jenkins

A

Version Control System Tool

70
Q

Version Control System Tool

A

Jenkins

71
Q

Which is NOT an advantage of DevOps?

A

Smaller deployments

72
Q

Smaller deployments

A

Which is NOT an advantage of DevOps?