0% found this document useful (0 votes)
4 views3 pages

HTML - JS Assessment 3

Uploaded by

Myo Hein Htet
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views3 pages

HTML - JS Assessment 3

Uploaded by

Myo Hein Htet
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

✅ True/False Questions (Parameters &

Arguments)

1. A function parameter is a variable declared inside the function

definition.​

👉 True

2. Arguments are the actual values you pass to the function when

calling it.​

👉 True

3. If fewer arguments are passed than parameters, the missing

ones are set to null by default.​

👉 False (they become undefined)

4. You can assign default values to function parameters in

JavaScript.​

👉 True
5. The arguments object is available inside all functions (except

arrow functions).​

👉 True

6. Extra arguments passed to a function are ignored if they are not

defined in the parameters list.​

👉 True

7. JavaScript supports rest parameters to accept multiple values.​

👉 True

8. Function parameters must always have names.​

👉 True

9. In JavaScript, parameter order does not matter when calling a

function.​

👉 False (order matters unless using an object with named keys)

10. Arrow functions do not have their own arguments object.​

👉 True

You might also like