Job Prep Flashcards

1
Q

Tell me about youself

A

I recently graduated from a full stack coding Bootcamp called learningfuze, there I was working in an environment that simulated a real-world working environment working under the mentorship of senior developers. I come from a background in Information Systems and worked as a manager for a restaurant during my teen years all the way through college. I decided to chase my dreams of becoming a software developer when I first took a college course in Python.

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

What technologies are you familiar with?

A

I have a strong understanding of HTML, CSS, Javascript, and React, and have also worked with technologies such as Node.js, Express, PostgreSQL, Bootstrap, etc.

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

What is the difference between == and === ?

A

== - is loosely equals, meaning that it will convert the comparing values to the same datatype such as (‘1’ and 1) and will give you boolean true because it converts to same data type.

=== is strictly equals, we want to use this always so it avoids any errors from data being converted to the same datatype. If you compare string 1 to number 1 it will give you false since they are not the same data type as opposed to == converting those to the same data type.

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

What is the difference between var, const, and let?

A

Let - block-scoped, you can change the value over time
Const - block-scoped, cannot be redeclared or reassigned
Var - function-scoped

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

What is the difference between GET and POST when making an AJAX request?

A

GET - retrieves data from server
POST - send data to server from clientside (user creates profile) POST to save to database

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

What does JSON stand for and what is it used for?

A

JSON stands for JavaScript Object Notation. It is used for serializing importing information(massive amounts of data within objects) and compressing into a text-based format so it is easy to transfer across the web.

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

What is the difference between null and undefined?

A

Null: JS object, intentional absence of value
Undefined: data type, the variable has not been declared or defined yet

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

What are the 7 primitive data types?

A

String, Number, Boolean, Null, Undefined, BigInt, Symbol

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

What is hoisting?

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

What is a closure?

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

What is a promise?

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

What are Higher Order Functions in JS and give an example?

A

A function that takes in either a function as parameters or return a function
Example - .map, .filter, .reduce

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

What is Semantic HTML?

A

Elements with meaning that clearly define its content, such as article, header, footer, section, aside, nav

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

What is Non-Semantic HTML?

A

Elements that tell nothing about their content, and have no meaningful content names, such as div, span

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

What is accessibility and why does it matter?

A

Make sure your website is accessible to everyone, whether that’s people who have disabilities that affect their ability to access the web such as auditory, cognitive, neurological, physical, speech, visual

Also people without disabilities like using small devices or peoples’ abilities declining to age, having temporary disabilities, or slow internet connection.

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

What are the different HTTP requests and give an example of some?

A

GET - retrieve data from server to client (API information)
POST - send data from client to server and save to server (create a blog post)
PUT - update data from client to server (updating your profile picture)
DELETE - deletes from the server (deleting an account)
PATCH - patch a partial part of a field (without altering the other data)

17
Q

What are your thoughts on mobile-first design?

A

People are on their phones more, making it fluid to scale from small to big.

18
Q

What is specificity in CSS?

A
19
Q

CSS Box Model?

A

How we size things and place them on the page
Margin > Border > Padding > Content

20
Q

How do you add something to the end of an array? And how do you add to the beginning of the array?

A

Add to beginning - unshift() or reassign variable with element then …array
Add to end - pop() or reassign variable with …array then new element

21
Q

What does typeof typeof 1 return?

A

Returns string because typeof 1 returns “number” and typeof “number” returns string

22
Q

What is the lifecycle hooks of React?

A
23
Q

Describe synchronous JS vs async JS?

A

Synchronous - running a file from top to bottom
Asynchronus code - running code top to bottom, but if the code runs into anything async, it will run that code separately and finish the synchronous file too
Async examples: promises, setTimeout(), callbacks, async/await