JavaScript Questions (Beginner โ Advanced)
โโโโโโโโโโโโโโโโโโโโโโโโ
โ Beginner Level โ Functions & Logic
โโโโโโโโโโโโโโโโโโโโโโโโ
โ Write a function to calculate the total price of items in a shopping cart.
โก Create a function that validates user input such as email or phone number.
โข Write a function to check whether a password is strong.
โฃ Create a function that converts a date into a readable format.
โค Write a function to calculate age from a given birth year.
โโโโโโโโโโโโโโโโโโโโโโโโ
โก BeginnerโIntermediate โ Arrays & Array Methods
โโโโโโโโโโโโโโโโโโโโโโโโ
โ Filter active users from an array of user objects.
โก Calculate the total salary of employees using reduce().
โข Sort a list of products by price from low to high.
โฃ Remove duplicate values from an array.
โค Group students by grade using array methods.
โโโโโโโโโโโโโโโโโโโโโโโโ
โข Intermediate โ Objects & Classes
โโโโโโโโโโโโโโโโโโโโโโโโ
โ Create a User class with login and logout methods.
โก Design a BankAccount class with deposit and withdraw functionality.
โข Create a Product class and calculate discounted prices.
โฃ Explain how JavaScript objects represent real-world entities.
โค Create multiple instances from a class and manage their data.
โโโโโโโโโโโโโโโโโโโโโโโโ
โฃ Intermediate โ Inheritance & OOP
โโโโโโโโโโโโโโโโโโโโโโโโ
โ Create an Employee class and extend it into Manager and Developer classes.
โก Override a method in a child class and explain why it is useful.
โข Explain the use of the super keyword with a real-world example.
โฃ Design a vehicle system using inheritance.
โค Explain encapsulation with a real-world scenario.
โโโโโโโโโโโโโโโโโโโโโโโโ
โค Advanced โ Asynchronous JavaScript
โโโโโโโโโโโโโโโโโโโโโโโโ
โ Simulate an API call using Promise and setTimeout.
โก Fetch user data asynchronously and handle errors properly.
โข Explain async and await using a real-world use case.
โฃ Create a retry mechanism for a failed asynchronous operation.
โค Explain how JavaScript handles multiple async tasks at the same time.
โโโโโโโโโโโโโโโโโโโโโโโโ
โฅ Advanced โ Real-World Scenarios
โโโโโโโโโโโโโโโโโโโโโโโโ
โ Design an order management system using classes.
โก Create a task scheduling system using asynchronous operations.
โข Build the logic for a notification system without UI.
โฃ Design a role-based access control system.
โค Explain how you would structure a JavaScript project for backend use.
๐2
Last week, I visited the Ethiopian Artificial Intelligence Institute, and it gave me a powerful new perspective on technology and innovation. The experience truly motivated me to start learning Artificial Intelligence, from the basics to advanced levels.
Itโs inspiring to see that the government has taken strong initiatives and has a clear vision for the future of technology and AI in Ethiopia. .
Being late does not mean being left behind. What matters most is starting now, learning consistently, and building step by step. AI is not only for experts or big companiesโitโs for students, developers, entrepreneurs, and anyone willing to learn.
Iโve decided to begin my AI journey from simple concepts to advanced applications, and I encourage others to do the same. If we stay curious, disciplined, and collaborative, we can contribute meaningfully to Ethiopiaโs digital and technological future.
The future belongs to those who prepare for it today ๐
Itโs inspiring to see that the government has taken strong initiatives and has a clear vision for the future of technology and AI in Ethiopia. .
Being late does not mean being left behind. What matters most is starting now, learning consistently, and building step by step. AI is not only for experts or big companiesโitโs for students, developers, entrepreneurs, and anyone willing to learn.
Iโve decided to begin my AI journey from simple concepts to advanced applications, and I encourage others to do the same. If we stay curious, disciplined, and collaborative, we can contribute meaningfully to Ethiopiaโs digital and technological future.
The future belongs to those who prepare for it today ๐
๐6
Scaling Databases Gets Easier Once You Learn These 10 Techniques
https://medium.com/@kishanhimself/scaling-databases-gets-easier-once-you-learn-these-10-techniques-b74d96344767
https://medium.com/@kishanhimself/scaling-databases-gets-easier-once-you-learn-these-10-techniques-b74d96344767
Medium
Scaling Databases Gets Easier Once You Learn These 10 Techniques
Database scaling is one of those topics that feels intimidatingโโโuntil you realize itโs mostly about applying the right techniques at theโฆ
๐1
๐ แจแแแ แแแแฒแต แแฌ แญแฐแซแแข (The Engineer of tomorrow works today.)
๐2
Algorithm
๐For a set of instructions to be considered a formal algorithm, it generally needs to meet these criteria:
1. Finiteness: It must eventually end after a limited number of steps.
2. Definiteness: Each step must be clearly defined and unambiguous.
3. Input & Output: It takes zero or more inputs and produces at least one defined output.
4. Effectiveness: The steps must be basic enough to be performed in a reasonable amount of time.
๐For a set of instructions to be considered a formal algorithm, it generally needs to meet these criteria:
1. Finiteness: It must eventually end after a limited number of steps.
2. Definiteness: Each step must be clearly defined and unambiguous.
3. Input & Output: It takes zero or more inputs and produces at least one defined output.
4. Effectiveness: The steps must be basic enough to be performed in a reasonable amount of time.
โค3๐ฅ1
AS developer
โ๏ธBeyond Syntax: Knowing the language is just the baseline.
โ๏ธThe Full Cycle: You must build and deploy. ๐
โ๏ธAsync Mastery: Communication is the most underrated technical skill.
โ๏ธBeyond Syntax: Knowing the language is just the baseline.
โ๏ธThe Full Cycle: You must build and deploy. ๐
โ๏ธAsync Mastery: Communication is the most underrated technical skill.
๐1
แแแต แซแแ แฃแแแซ แแแญ แญแแแแ? Laytechsolution แแแต แฃแแ แจแแ-แตแณแญ (Full-Stack) แ แแ แฅแ แจแดแญแแญ แแแ
แญ แจแแแซ แจแแ แจแแฅ แแแต แตแแ แ แ แแแ
แถแแฝแแแข
แจแขแแฑแตแตแชแแ แฐแจแ แจแ แ แ แตแแ แ แ แแแแต แจแแแแชแซแแ แตแจ-แแฝ (Website) แจแฃแถ แแแแฃแต แญแแฉ!
๐น แ แฃแแแซ แจแแฐแฅ แตแแ แ: แ แแญแ แ แฐแฐแแซ แฅแ แแแต แฃแแ แแแ แญ แจแแฐแฅแข
๐น แแ แญแแซแ: HTML5แฃ CSS3 แฅแ แแแแ แจแแฅ แฒแแญแแข
๐น แแตแแญแต: แแแแแต แจแแแ แฎแแแแฐแญ (Laptop/Desktop) แแแญแแต แญแแฃแแข
๐น แแ: 100% แแแข
๐น แตแแ แญแฑ online แแ
แดแญแแแแ แจแฃแแแซ แฐแแจแ แจแญแ แแต แฃแแคแต แญแแแข
๐ แแแแแแฅ แญแ แแ แแแญ แญแ แแ:
https://docs.google.com/forms/d/e/1FAIpQLSeVz9fCitG753BXsXd7YQISIS2Ou4oI9--ubbjK0G_bVCCsRg/viewform?usp=dialog
แแแแฝแ แซแแฉ
https://t.me/laytechsolution
แแ แแ แแจแ
@laytechsolutions
แจแขแแฑแตแตแชแแ แฐแจแ แจแ แ แ แตแแ แ แ แแแแต แจแแแแชแซแแ แตแจ-แแฝ (Website) แจแฃแถ แแแแฃแต แญแแฉ!
๐น แ แฃแแแซ แจแแฐแฅ แตแแ แ: แ แแญแ แ แฐแฐแแซ แฅแ แแแต แฃแแ แแแ แญ แจแแฐแฅแข
๐น แแ แญแแซแ: HTML5แฃ CSS3 แฅแ แแแแ แจแแฅ แฒแแญแแข
๐น แแตแแญแต: แแแแแต แจแแแ แฎแแแแฐแญ (Laptop/Desktop) แแแญแแต แญแแฃแแข
๐น แแ: 100% แแแข
๐น แตแแ แญแฑ online แแ
แดแญแแแแ แจแฃแแแซ แฐแแจแ แจแญแ แแต แฃแแคแต แญแแแข
๐ แแแแแแฅ แญแ แแ แแแญ แญแ แแ:
https://docs.google.com/forms/d/e/1FAIpQLSeVz9fCitG753BXsXd7YQISIS2Ou4oI9--ubbjK0G_bVCCsRg/viewform?usp=dialog
แแแแฝแ แซแแฉ
https://t.me/laytechsolution
แแ แแ แแจแ
@laytechsolutions
Google Docs
Registration form
Welcome to the Laytechsolution community! We are excited to help you jumpstart your journey into software engineering. This course is specifically designed to take you from zero experience to building and launching your first functional website.
๐8
lay-tech
แแแต แซแแ แฃแแแซ แแแญ แญแแแแ? Laytechsolution แแแต แฃแแ แจแแ-แตแณแญ (Full-Stack) แ แแ แฅแ แจแดแญแแญ แแแ
แญ แจแแแซ แจแแ แจแแฅ แแแต แตแแ แ แ แแแ
แถแแฝแแแข แจแขแแฑแตแตแชแแ แฐแจแ แจแ แ แ แตแแ แ แ แแแแต แจแแแแชแซแแ แตแจ-แแฝ (Website) แจแฃแถ แแแแฃแต แญแแฉ! ๐น แ แฃแแแซ แจแแฐแฅ แตแแ แ: แ แแญแ แ แฐแฐแแซ แฅแ แแแต แฃแแ แแแ
แญ แจแแฐแฅแข ๐น แแ แญแแซแ: HTML5แฃโฆ
๐๐๐แฅแแแซแแ
๐7
๐๐๐Free Web Development Course Registration is now open until next Tuesday!
แแแต แซแแ แฃแแแซ แแแญ แญแแแแ?
Laytechsolution แ แแแต แซแแ แจFull-Stack แ แแ แฅแ แดแญแแญ แแแ แญ แจแแแซ 100% แแ แจแแฅ แแแต แตแแ แ แ แแแ แถแแฝแแ!
๐ก แจแแฎ แแแฎ แจแซแตแแ Website แแแแฃแต แญแแฉ
๐ก แจแขแแฑแตแตแช แฐแจแ แซแแ แตแแ แญแต
๐ก แ แฃแแแซ แจแแแซ แตแแ แ
๐ แแ แญแแซแ?
โ๏ธ HTML5
โ๏ธ CSS3
โ๏ธ Modern Web Design
๐ป แแตแแญแต: Laptop แแญแ Desktop
๐ แ แญแแต: Online
๐ธ แแ: 100% แแ
๐ แ แแแ แญแแแแก:
https://docs.google.com/forms/d/e/1FAIpQLSeVz9fCitG753BXsXd7YQISIS2Ou4oI9--ubbjK0G_bVCCsRg/viewform?usp=dialog
๐ข แแแแฝแ แซแแฉ:
https://t.me/laytechsolution
โน๏ธ แแ แแ แแจแ:
@laytechsolutions
แแแต แซแแ แฃแแแซ แแแญ แญแแแแ?
Laytechsolution แ แแแต แซแแ แจFull-Stack แ แแ แฅแ แดแญแแญ แแแ แญ แจแแแซ 100% แแ แจแแฅ แแแต แตแแ แ แ แแแ แถแแฝแแ!
๐ก แจแแฎ แแแฎ แจแซแตแแ Website แแแแฃแต แญแแฉ
๐ก แจแขแแฑแตแตแช แฐแจแ แซแแ แตแแ แญแต
๐ก แ แฃแแแซ แจแแแซ แตแแ แ
๐ แแ แญแแซแ?
โ๏ธ HTML5
โ๏ธ CSS3
โ๏ธ Modern Web Design
๐ป แแตแแญแต: Laptop แแญแ Desktop
๐ แ แญแแต: Online
๐ธ แแ: 100% แแ
๐ แ แแแ แญแแแแก:
https://docs.google.com/forms/d/e/1FAIpQLSeVz9fCitG753BXsXd7YQISIS2Ou4oI9--ubbjK0G_bVCCsRg/viewform?usp=dialog
๐ข แแแแฝแ แซแแฉ:
https://t.me/laytechsolution
โน๏ธ แแ แแ แแจแ:
@laytechsolutions
Google Docs
Registration form
Welcome to the Laytechsolution community! We are excited to help you jumpstart your journey into software engineering. This course is specifically designed to take you from zero experience to building and launching your first functional website.
โค4