JavaScript Interview Questions (S2)

Series: 2️⃣
Level: Beginner
Topics:

1️⃣ Variable Naming
2️⃣ Variable Declaration
3️⃣ Variable Scope
4️⃣ Assignment Operators
5️⃣ Bitwise Operators
1️⃣ Variable Naming

✪ What is a variable?
✪ How to name a variable/Choose a valid variable name?
✪ Is "$" allowed in variable names?
✪ Can variable names begin with a numeric digit? If no, why?
2️⃣ Variable Declaration

✪ Is variable declaration mandatory? What happens if a variable is not declared before using?
✪ How to declare a variable?
✪ What is the difference between let, const and var
✪ What is the use of "use strict" directive?
✪ What is "Hoisting"? Give some examples.
✪ What is the default value if a variable is unassigned?
✪ How to declare multiple variables in one line?
✪ What is the easiest way of declaring multiple variables and assigning a single value to all of those at once?
✪ What is the difference between Static Typed and Dynamic Typed?
✪ Is JavaScript a Static or Dynamic Typed?
✪ How to check type of a variable?
3️⃣ Variable Scope

✪ What is variable scope?
✪ What is 'window' in JavaScript?
✪ What is a block?
✪ Which out of let, const and var allows a variable to have block scoping?
✪ What is Closure? Give some examples.
4️⃣ Assignment Operators

✪ What does an assignment operator do?
✪ What is the simplest assignment operator?
✪ What is a shortcut assignment operator?
✪ Mention few shortcut assignment operators.
✪ Explain what does "a += b" do internally?
✪ Explain what does "a &&= b" do internally?
✪ Explain what does "a ||= b" do internally?
✪ Explain what does "a ??= b" do internally?
5️⃣ Bitwise Operators

✪ Which bitwise operators does JavaScript support?
✪ Explain the behaviour of Bitwise-AND (&), Bitwise-OR (|), Bitwise-XOR (^), Bitwise-NOT (!) operators.
✪ What are different bitwise shift operators?
✪ Swap 2 numbers using a bitwise operator.
Next series will cover questions from

1️⃣ Functions
2️⃣ Strings
3️⃣ Arrays
4️⃣ Object Literals
To find all questions covered in first series of "JavaScript Interview Questions", check 👇

Check 👇 for "Interview Questions" on many other subjects.

Are you interested in DSA? You ll find answers for commonly asked questions along with much more about a Doubly Linked List.

Check 👇

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Swapna Kumar Panda ✨

Swapna Kumar Panda ✨ Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @swapnakpanda

7 Nov
💙 Data Structures in a Nutshell: Doubly Linked List

⇨ What? Why? How?
⇨ List of Operations
⇨ Pseudo Code
⇨ Time & Space Complexities

Image
Before starting, if you want to learn more about a simple Linked List, check it 👇

We will cover,

0️⃣ Basics (What, Why, How)
1️⃣ Traversal
2️⃣ IsEmpty
3️⃣ Size
4️⃣ Fetch an Element
5️⃣ Insert an Element
6️⃣ Delete an Element
7️⃣ Time & Space Complexities
Read 34 tweets
5 Nov
Hey All 👋

I have been posting "Interview Questions" on 👇

✪ DSA
✪ JavaScript
✪ Python
✪ SQL
✪ React
✪ GIT
✪ NoSQL ⇨ Upcoming
✪ Java ⇨ Upcoming
✪ HTML/CSS ⇨ Upcoming
✪ Machine Learning (ML) ⇨ Upcoming
✪ Networking ⇨ Upcoming

For link to questions, check 👇
I have created a "Moment" in Twitter to better organise all Questions Threads so that you can find them easily at one place.

Check that 👇

twitter.com/i/events/14559…
✪ The questions been posted so far are text book types which is important as well

✪ Many are suggesting to share a little bit practical questions

✪ I have that in my plan as well. Once I finish all theoretical questions, I will start sharing practical/inquisitive questions
Read 6 tweets
5 Nov
Python Interview Questions

Level: Beginner
Series: 1️⃣
Topics:

1️⃣ Basics
2️⃣ Data Types
3️⃣ bool Type
4️⃣ Numeric Types
5️⃣ Variables
1️⃣ Basics

✪ What is Python?
✪ What are the advantages of using Python?
✪ What are limitations of Python?
✪ Which type of applications Python is widely used?
✪ What are some popular Python based packages/libraries?
✪ What is PEP?
✪ What is PEP 8?
Read 15 tweets
4 Nov
GIT Interview Questions

1️⃣ Introduction to VCS
2️⃣ Introduction to GIT
3️⃣ Repository
4️⃣ Operations
5️⃣ Branch
6️⃣ Recover
7️⃣ Differences
8️⃣ Extra
1️⃣ Introduction to VCS

✪ What is a Version Control System (VCS)?
✪ Explain a VCS with a diagram.
✪ What are the benefits of using a VCS?
✪ What is a distributed VCS?
Read 21 tweets
3 Nov
SQL & RDBMS Interview Questions

Series: 1️⃣
Level: Beginner
Topics:

1️⃣ Introduction to RDBMS
2️⃣ Normalisation
3️⃣ Introduction to SQL
4️⃣ Tables and Fields
5️⃣ Constraints
6️⃣ Index
7️⃣ DML Operations
8️⃣ Joins
9️⃣ Set Operations
1️⃣ Introduction to RDBMS

✪ What is a Database?
✪ What are different types of Databases?
✪ What is DBMS?
✪ What is difference between Database and DBMS?
✪ What is RDBMS?
✪ Which are popular RDBMS vendors?
✪ What is ACID property in Database?
Read 15 tweets
2 Nov
💡 Are you a programmer? How do you approach while solving a problem?

A must-read for beginners.

🧵 👇
P.S: This thread is not meant to teach you about any specific approach. Rather I would give more emphasis on "understanding what is asked" and "how to program it efficiently".
✪ Problem 1️⃣

Let's take "Printing the Asterisks" problem. It's simple, yet tricky sometimes.

Print below on screen


✪✪
✪✪✪
✪✪✪✪
✪✪✪✪✪
Read 16 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(