Skip to content

This is an event management website. Various event related functions can be performed through it. Any event related updates will come next (MongoDB connects to the data base.)

Notifications You must be signed in to change notification settings

Aru-01/Event-Management-Project

Repository files navigation

Event-Management

Click here for the Live repo: https://event-management-assignm-e9c86.web.app/

🎯 Using Technology

Frontend :

  • React js
  • Firebase (Authentication)
  • Java Script
  • Tailwind Css
  • Meterial Tailwind / Daisy UI

features and functionalities of this website

  • User registration system has been added.
  • User can login through Google login system.
  • Users can use the website without login. But login can use extra 2 route.
  • Clicking on the card will open the details page.
  • Dynamically loaded data from API.

MCQ TEST

1. Write the correct answer from the following options and give an explanation (2-5 lines).
let greeting;
greetign = {};
console.log(greetign);
  • A: {}
  • B: ReferenceError: greetign is not defined
  • C: undefined
Answer:

Answer: A: `{}..

An empty object equal to grating is created. And console.log will output empty object.

2. Write the correct answer from the following options and give an explanation (2-5 lines).
function sum(a, b) {
  return a + b;
}

sum(1, "2");
  • A: NaN
  • B: TypeError
  • C: "12"
  • D: 3
Answer:

Answer: B: TypeError.

It will throw a type error because a number and a string cannot be concatenated

3. Write the correct answer from the following options and give an explanation (2-5 lines).
const food = ["🍕", "🍫", "🥑", "🍔"];
const info = { favoriteFood: food[0] };

info.favoriteFood = "🍝";

console.log(food);
  • A: ['🍕', '🍫', '🥑', '🍔']
  • B: ['🍝', '🍫', '🥑', '🍔']
  • C: ['🍝', '🍕', '🍫', '🥑', '🍔']
  • D: ReferenceError
Answer

Answer: B: ['🍝', '🍫', '🥑', '🍔']....

প্রথমে food নামে একটি array নেয়া হয় , পরবর্তীতে info দিয়ে একটি Object তৈরি করে favoriteFood দিয়ে array ১ম ইনডেক্স কে ধরা হয়। এবং পরিবর্তীতে object (favoriteFood) এর মান সেট করার ফলে B: ['🍝', '🍫', '🥑', '🍔'] এটি তৈরি হয়।

4. Write the correct answer from the following options and give an explanation (2-5 lines).
function sayHi(name) {
  return `Hi there, ${name}`;
}

console.log(sayHi());
  • A: Hi there,
  • B: Hi there, undefined
  • C: Hi there, null
  • D: ReferenceError
Answer

Answer: B: Hi there, undefined

A function is called, which takes one parameter. And finally the function is called in console.log, it is showing undefined for not passing any parameters.

5. Write the correct answer from the following options and give an explanation (2-5 lines).
let count = 0;
const nums = [0, 1, 2, 3];

nums.forEach((num) => {
  if (num) count += 1;
});

console.log(count);
  • A: 1
  • B: 2
  • C: 3
  • D: 4
Answer

Answer: C: 3....

Here each element of the array is forEach Then 1 is added to count as long as num is true. Finally the value of count is 3.

About

This is an event management website. Various event related functions can be performed through it. Any event related updates will come next (MongoDB connects to the data base.)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages