Requirements:
Create a Book class
Properties:
title
author
isAvailable
Methods:
borrowBook() β marks book as unavailable
returnBook() β marks book as available
getStatus() β returns availability status
πππα αααα
α½αα α¨ααα α½αα© α ααααα½αα α αααα
αα!!!!!!
β€5
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