web dev 2nd summative

100 flashcards · Other · by Yan Cu

  1. is a special symbol used to perform operations on operands (values and variables

    operator

  2. what is this called '+'

    operator

  3. what are the arithmetic operators?

    + (addition) - (subtraction) * (multiplication) / (division) % (modulo)

  4. These operators involve the mathematical operators that can be used to perform various simple or advanced arithmetic operations on the primitive data types referred to as the operands

    arithmetic operator

  5. primitive data types are referred to as

    operands

  6. These operators consist of various unary and binary operators that can be applied on a single or two operands

    arithmetic operator

  7. javascript supports what arithmetic operators

    addition subtraction multiplication division modulus increment decrement

  8. are used in java to assign values to variables

    assignment operators

  9. used to assign the value, variable and function to another variable

    assignment operators

  10. are used to compare two values

    comparison operators

  11. are used to check whether an expression is true or false

    logical operators

  12. used in decision making

    logical operators

  13. also known as the ternary operator

    conditional operator

  14. this operator consists of three operands and is used to evaluate boolean expressions

    conditional operator

  15. the goal of the operator is to decide which value should be assigned to the variable

    conditional operator

  16. the types of conditional operator

    conditional AND conditional OR ternary operator

  17. conditional AND is denoted by what operators two __

    AND operators (&&)

  18. it returns true if and only if both expressions are true, else returns false

    conditional AND

  19. conditional OR is denoted by the __ operator

    OR (||)

  20. it returns true if any of the expression is true, else returns false

    conditional OR

  21. the ternary operator consists of __ operands

    three

  22. it is used to evaluate boolean expressions

    ternary operator

  23. the operator decides which value will be assigned to the variable

    ternary

  24. it is the only conditional operator that accepts three operands

    ternary operator

  25. it can be used instead of the if-else statement

    ternary operator

  26. is placed before its single operand

    type operators

  27. is a document which stores information of a user on a web server using interactive controls

    HTML form

  28. contains different kinds of information such as username, password, contact number, email id

    HTML form

  29. the most common elements used in HTML forms

    textfield check box password field radio button submit button

  30. is a one line input field allowing the user to input text

    text field

  31. password fieldtext field input controls are

    "input" with type attribute having value as "text"

  32. a type of text field in which the text entered is masked using asterisk or dots for prevention of user identity from another person who is looking onto the screen

  33. password field input controls are

    "input" element with type attribute "password"

  34. used to let the user select exactly one option from a list of predefined options

    radio buttons

  35. radio button input controls are created using the "__" element with a type attribute having value as "__"

    input, radio

  36. used to let the user select one or more options from a pre-defined set of options

    checkboxes

  37. checkbox input controls are created using the "__" element with a type attribute having value as "__"

    input, checkbox

  38. Used to allow the user to select a local file and send it as an attachment to the web server. It is similar to a text box with a button which allows the user to browse for a file. Instead of browsing for the file, the path and the name of the file can also be written

    File Select Boxes

  39. File select boxes are created using the “__” element with a type attribute having value as “__”

    input, file

  40. Is a multiple line text input control which allows user to provide a description or text in multiple lines

    Text area

  41. A Text Area input control is created using the “__” element

    textarea,

  42. Used to allow users to select one or more than one option from a pull-down list of options

    Select Boxes

  43. Select boxes are created using two elements which are “__” and “__”

    select, option

  44. Allows the user to send the form data to the web server

    Reset And Submit Buttons

  45. is used to reset the form data and use the default values

    Reset Button

  46. are always stored in double-precision 64-bit binary format IEEE 75

    JavaScript numbers

  47. stores numbers in __ bits, where the number (the fraction) is stored in bits __ to __, the exponent in bits __ to __, and the sign in bit __

    64, 0, 51, 52, 62, 63

  48. __ __ are primitive data types

    JavaScript numbers

  49. returns the largest minimum value

    MIN_VALUE

  50. returns the largest maximum value

    MAX_VALUE

  51. returns positive infinity, overflow value

    POSITIVE_INFINITY

  52. returns negative infinity, overflow value

    NEGATIVE_INFINITY

  53. represents "not a number" value

    NaN

  54. It determines whether the given value is a finite number.

    is_Finite()

  55. It determines whether the given value is an integer.

    is_Integer

  56. It converts the given string into a floating point number.

    parseFloat()

  57. It converts the given string into an integer number.

    parseInt()

  58. It returns the string that represents exponential notation of the given number.

    toExponential()

  59. It returns the string that represents a number with exact digits after a decimal point.

    toFixed()

  60. It returns the string representing a number of specified precision.

    toPrecision()

  61. It returns the given number in the form of string

    toString()

  62. are "things" that happen to HTML elements

    JavaScript events

  63. The user clicks an HTML element

    onclick

  64. The user moves the mouse over an HTML element

    onmouseover

  65. The user moves the mouse away from an HTML element

    onmouseout

  66. An HTML element has been changed

    onchange

  67. The user pushes a keyboard key

    onkeydown

  68. The user releases a keyboard key

    onkeyup

  69. The user presses a key on the keyboard

    onkeypress

  70. The browser has finished loading the page

    onload

  71. are stand-alone organization of properties and methods

    Objects

  72. Javascript Objects are __ too

    variables

  73. Are name:values in javascripts object

    properties

  74. Are the actions that can performed on objects

    methods

  75. Is a block of code designed to perform a task and executed when is been called or invoked

    javascript functions

  76. is declared using the function keyword.

    function

  77. It is better to write a __ name for your function

    descriptive

  78. The body of function is written within _ _

    { }

  79. how to call to declare a function:

    greet();

  80. how to declare function greet and output "hello there"

    function greet(){ console.log("Hello there!"); }

  81. A function can also be declared with __

    parameters

  82. is a value that is passed when declaring a function

    parameter

  83. this is an example of declaring with what? function greet(name) { console.log("Hello " + name + ":)"); let name = prompt ("Enter a name: ");

    parameter

  84. how many times can you call a function

    as many times as you want

  85. can be used to return the value to a function call

    return statement

  86. If nothing is returned, the function returns an __ __

    undefined value

  87. Benefits of Using a Function

    Function makes the code reusable. You can declare it once and use it multiple times. Function makes the program easier as each small task is divided into a function. Function increases readability.

  88. is everything from the start tag to the end tag

    HTML element

  89. HTML elements can be __

    nested

  90. All HTML documents consist of __ HTML elements

    nested

  91. these are examples of what <html>, <body>, <h1> and <p>

    HTML elements

  92. is the root element and it defines the whole HTML document

    <html> element

  93. an HTML element has a __ tag and an __ tag

    start, end

  94. inside the <html> element there is a __ element

    <body>

  95. The __ element defines the document's body

    <body>

  96. The __ element defines a heading

    <h1>

  97. The __ element defines a paragraph

    <p>

  98. HTML elements with no content are called __ __

    empty elements

  99. The __ tag defines a line break

    <br>

  100. HTML tags are not __ __

    case sensitive