App Dev Domain Flashcards

1
Q

I: “ERROR ESTABLISHING CONNECTION TO DATABASE”

A

Check Database Connection Credentials

Ping the DB from the Application server through the port on which the DB was configured

Check Application logs

Possible Authentication issue

Possible DB maintenance

Check if the connection pool is up and running

Look at more granular stuff - is the driver working - not corrupt

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

I: WEB APPLICATION FRAMEWORKS

A

Ruby on Rails
Django
Angular
ASP.NET

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

I: JSON

A

JSON is JavaScript Object Notation. Its format is often used for serializing and transmitting structured data over a network connection.

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

I: SCRIPTED LANGUAGE

A

A scripting language is a programming language for a runtime system that automates the execution of tasks. Scripting languages are usually interpreted at runtime rather than compiled.

  • Perl
  • PHP
  • Python
  • Ruby
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

I: COMPILER

A

Compiler is a software program that transforms high-level source code into a low-level object code in a machine language, which can be understood by the processor.

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

I: FUNCTIONS

A

is used when a value is returned to the calling routine

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

I: DEADLOCKS

A

Deadlock occurs when the waiting process is still holding on to another resource that the first needs before it can finish.

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

I: LOOSELY COUPLED ARCHITECTURE

A

Loosely coupled architectures (aka Microservices) are lean, with a single responsibility, without many dependencies, allowing teams to work independent, deploy independent, fail and scale independent, increasing business responsiveness.

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

I: DISTRIBUTED and SCALABLE SYSTEM

A

Avoid the single point of failure.

Scale horizontally, not vertically.

View your application as a service with an API first.

Cache everything, always.

Design for maintenance and automation.

Strive for statelessness.

Be prepared for failure.

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

I: THREAD POOL

A

is a software design pattern for achieving concurrency of execution in a computer program.

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

I: SOAP

A

SOAP (Simple Object Access Protocol) is a message protocol that allows distributed elements of an application to communicate. It is an integral part of the service-oriented architecture (SOA) and the Web services specifications associated with SOA.

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

I: OPTIMIZE CODE

A

Use a Profiler

Compiler Optimizations

Tuning the Code

Collect common subexpressions.

Replace expensive operations by Cheap ones.

Eliminate Loops

Cache frequently used values

Rewrite in a lower-level language

Include Code Inspection into your Governance Models

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

I: QUEUES

A

A queue is like a buffer. You can put messages into a queue, and you can retrieve messages from a queue.

Redis 
RabbitMQ
ActiveMQ 
Amazon MQ
Amazon SQS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

I: PUBLISH SUBSCRIBE PATTERN

A

its where publishers do not program the messages to be sent directly to specific receivers, called subscribers, but instead categorize published messages into classes without knowledge of which subscribers, if any, there may be.

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

I: REST

A

is where server-side data are made available through representations of data in simple formats.

This format is usually JSON or XML but could be anything.

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

I: YAML

A

is a human-readable data-serialization language. It is commonly used for configuration files and in applications where data is being stored or transmitted.

17
Q

I: XML

A

XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable

18
Q

I: COMPILED LANGUAGES

A

Compiled Languages computers do not actually understand the code we write. We need to translate our human-readable code to machine-readable code.

  • C
  • C++
  • Java
19
Q

I: INTERPRETED LANGUAGES

A

Interpreted Languages interpreters will run through a program line by line and execute each command.

  • PHP
  • Ruby
  • Python
  • JavaScript.
20
Q

I: OBJECT-ORIENTED PROGRAMMING

A

Object-oriented programming (OOP) refers to a type of computer programming (software design) in which programmers define not only the data type of a data structure, but also the types of operations (functions) that can be applied to the data structure.

21
Q

I: RPC

A

RPC is the earliest, simplest form of API interaction. It is about executing a block of code on another server, and when implemented in HTTP or AMQP it can become a Web API.

22
Q

I: SUBROUTINES

A

is used when a desired task is needed, but no value is returned.