DATA BASE REVIEWER STEVE.pdf
Document Details

Uploaded by DelightfulWillow
Batangas State University
2023
Tags
Full Transcript
BULACAN STATE UNIVERSITY MENESES CAMPUS TJS, Matungao, Bulakan, Bulacan Tel. No (044) 792-2661 Database Management System 2nd Semester 2023-2024 Midterm Examination NAME: DATE: COURSE/YEAR/SECTION: I. Multiple choice: Write in the blank the letter of the answer. No erasures! 1. Which is not a keywor...
BULACAN STATE UNIVERSITY MENESES CAMPUS TJS, Matungao, Bulakan, Bulacan Tel. No (044) 792-2661 Database Management System 2nd Semester 2023-2024 Midterm Examination NAME: DATE: COURSE/YEAR/SECTION: I. Multiple choice: Write in the blank the letter of the answer. No erasures! 1. Which is not a keyword for assigning variable? a) Let b) Var c) Const d) For c) 5 d) 6 2. What will be the output at the console? let x = 3; let y = 5; console.log(y % x); a) 3 b) 2 3. Operator that returns a string indicating the type of the operand. a) Type b) Ternary c) Typeof d) TypingOf 4. How to input an image to html? a) b) c) d) 5. Which is not an arithmetic operator? a) + b) * 6. The equation x =+ y is equivalent to? a) Add y to the original value of x b) Add x to the original value of y c) = d) – c) Y adding a value to x d) X having same value as y 7. Designed to add interactivity to HTML pages a) HTML b) JavaScript c) CSS d) Java 8. The standard language for creating the structure of web pages. a) HTML b) JavaScript c) CSS d) Java c) 5 d) 6 c) != d) === c) d) c) 13. What does this operator (!===) mean? a) Not equal value and equal type b) Equal value and not equal type c) Not equal value and not equal type d) Operator does not exist 14. This element is used to define the title of an HTML document. a) b) c) d) 15. What will be the output at the console? let x = 7; let y = 6; console.log(x ^ y) a) 0 b) 2 c) 3 d) 1 16. What will be the output at the console? let x = 7; let y = 6; console.log(x | y) a) 8 b) 7 c) 6 d) Error 17. What type of operator is this (++=)? a) Assignment b) Comparison 18. In CSS, the c) Arithmetic d) None of the choices symbol is used to denote an ID selector a). b) // c) # d) {“”} 19. Tag that is used to insert Javascript into an HTML page c) d) a) b) 20. How to input a multi-line comment in JS? a) # b) // c) d) 21. Which of the following is not true for a Let declaration? a) Let have block scope b) Let must not be declared before use c) Let cannot be redeclared in one scope d) Let are used to declare variables 22. What will be the output at the console? let x = 5; let y = 3; console.log(x > 3) a) False b) True c) Undefined d) Null c) 7 d) 8 23. What will be the output at the console? let x = 3; let y = 5; console.log(x + y); a) 5 b) 6 24. Small pieces of data sent from a website and stored on user's device while they are browsing. a) History b) Cookies c) Data bits d) Bytes c) x = + y d) y = x + y c) Logical Xor d) Logical And 25. x += y is equivalent to? a) x = x + x b) x = x + y 26. Which of the following is not a Logical operator? a) Logical Not b) Logical Or 27. Allows developers to control the visual appearance of web pages. a) HTML b) CSS c) JS d) Java c) // d) c) 0.6 d) 0.2 28. How to input a single-line comment in JS? a) # b) 29. What will be the output at the console? let x = 3; let y = 5; console.log(x / y); a) 2 b) 1 30. What does an & operator do? a) Convert numbers to bitwise and perform an and operation then return the solved value to number b) Convert numbers to bitwise and perform an xor operation then return the solved value to number c) Convert numbers to bitwise and perform an or operation then return the solved value to number d) None of the choices 31. Tag that is used to insert external JavaScript into an HTML page c) d) a) b) 32. Why does script is mostly found inside the body of an HTML? a) Best practice for optimizing page load times b) Improving rendering performance c) Both a and b d) None of the choices 33. HTML documents have a specific structure with sections like < > for content and < > for metadata. a) Body, head b) Head, body c) Title, body d) Meta, Head c) ** d) *** 34. Which can be said true for a constant variable? a) b) c) d) Variables can be redeclared It was introduced in 2016 Variables have block scope Variables can be reassigned 35. Which of the following statements is TRUE? a) b) c) d) Variables assigned by let are not block scope. Const keyword was introduced in 2015. Variables assigned by const can be reassigned. Let keyword was introduced in 2014 before const. 36. What is the symbol for exponentiation operator? a) ++ b) ^ 37. The main difference of const and let is. a) let is used for variables that may be reassigned, while const is used for variables that should remain constant and not be reassigned. b) const is used for variables that may be reassigned, while let is used for variables that should remain constant and not be reassigned. c) let is used for variables that may be reassigned, while const is used for variables that should remain constant and can be reassigned. d) let is used for variables that may not be reassigned, while const is used for variables that should remain constant and can be reassigned. 38. Element used to link external resources to an HTML document a) b) c) d) 39. Which of the following cannot be a variable name? a) $tyle b) 1Tym c) _GM_b0$$ d) aHahaha 40. The other term called for the type of value that is fixed. a) Variables b) Literals c) Object d) Functions 41. Which of the following is a rule for naming variable? a) Name can start in any character b) Name can begin with $ c) Name is not case-sensitive d) None of the choices 42. Refers to the set of rules that govern how JavaScript code is written. a) Law b) Syntax c) Command d) Order c) Ratio d) Modulus 43. What is this operator (%) a) Percentage b) Floor Divide 44. Which of these does a JavaScript language can NOT do? a) Put animations to HTML b) Make cookies c) Change browser settings directly d) Develop interactivity to the HTML 45. What type of operator is this (||)? a) Ternary b) Logical c) Conditional d) Bitwise 46. Operator used for conditional expressions. Also called conditional operators. a) Arithmetic b) Ternary c) Typeof d) Logical c) d) c) default d) front 47. How to input a comment in HTML? a) # b) // 48. What does modulus do? a) b) c) d) Divide the values then return the quotient Divide the values then return the dividend Divide the values then estimate the answer Divide the values then return the remainder 49. What variable input is invalid? a) Tymper$ b) bakitako 50. Whole name of your professor is? a) John Ernest Colin B. Bolneo b) John Earnest Colin B. Bolneo c) John Ernest Collin B. Bolneo d) Jhon Ernest Colin B. Bolneo GOOD LUCK AND GOD BLESS!