Wednesday, October 9, 2019

CAESAR CIPHER (Shift Cipher) Object Oriented Programming


CAESAR CIPHER (Shift Cipher)
Problem 1
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z

 ZLJMRQBO PBZROFQV 
K = +3 Shift to Right
COMPUTER SECURITY

GQ CTCPWMLCQ
K = +2 Shift to Right 
IS EVERYONES

UHVSRQVLELOLWB 
K = -3 Shift to Left 
RESPONSIBILITY

A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z

Problem 2
What is the name of this cipher? Also give the plain text. 
CAESAR CIPHER

PMXZBQEBCFKXI                               IURQWLHU IRU                                   ZVYBOPBZROFQV
K ============ +3                             K========== -3                                   K============= +3
SPACETHEFINAL                  frontier for                     cybersecurity                  
INSTRUCTIONS:
1.       Use Caesar Cipher and decrypt the Ciphertext with the given shift in problems 1 & 2
2.       Write down only the plaintext with the respective heading i.e. Problem1: plaintext & Problem 2: plaintext.
3.       Drop the assignment here

EXAM 1 19FL-IT250-01 - Advanced Web Design

  • Question 1

    4 out of 4 points
    ​​The world’s largest network is _____.
    Selected Answer:
    d. 
    the Internet
  • Question 2

    0 out of 4 points
    A simple text editor allows dragging HTML elements onto a page while the code is being written in the editor.
    Selected Answer:
    True
  • Question 3

    4 out of 4 points
    A(n) ____________________ type is the specific category of information that a variable contains.
    Selected Answer:
    data
  • Question 4

    4 out of 4 points
    A(n) _________ is a collection of two or more computers that are linked together to share resources and information.
    Selected Answer:
    network
  • Question 5

    4 out of 4 points
    All browsers display webpages identically.
    Selected Answer:
    False
  • Question 6

    2 out of 4 points
    Identify the letter of the choice that best matches the phrase or definition.
    • QuestionSelected Match
      Method that lets you specify an event handler for an event
      a. 
      addEventListener()
      The lines that make up a function
      b. 
      function call
      A logical value of true or false
      e. 
      Boolean
      The code that invokes a named function
      f. 
      function definition
      Can be either global or local
      j. 
      innerHTML
      A number that contains decimal places or that is written in exponential notation
      h. 
      floating-point
      A value treated in comparison operations as the Boolean value false
      i. 
      falsy
      Placed after a variable
      g. 
      operator precedence
      The order in which operations in an expression are evaluated
      d. 
      scope
      A property whose value is the content between an element's opening and closing tags
      c. 
      postfix operator
  • Question 7

    4 out of 4 points
    In JavaScript programming, you can write your own procedures, called ____, which refer to a related group of JavaScript statements that are executed as a single unit.
    Selected Answer:
    c. 
    functions
  • Question 8

    0 out of 4 points
    PHP (Hypertext Preprocessor) script which is processed at the server results in an HTML webpage that is sent back to the client.
    Selected Answer:
    True
  • Question 9

    4 out of 4 points
    Placing a parameter name within the parentheses of a function definition is the equivalent of declaring a new ____________________.
    Selected Answer:
    variable
  • Question 10

    4 out of 4 points
    The ____ operator executes one of two expressions based on the results of a conditional expression.
    Selected Answer:
    c. 
    ?:
  • Question 11

    4 out of 4 points
    The ____ statement is used to execute specific programming code if the evaluation of a conditional expression returns a truthy value.
    Selected Answer:
    b. 
    if
  • Question 12

    4 out of 4 points
    The ____ statement is used to repeat a statement or series of statements as long as a given conditional expression evaluates to a truthy value.
    Selected Answer:
    b. 
    for
  • Question 13

    4 out of 4 points
    The conditional expression in the while statement is enclosed within ____ following the keyword while.
    Selected Answer:
    b. 
    parentheses
  • Question 14

    4 out of 4 points
    Changing the order in which JavaScript code is executed is known as ____________________.
    Selected Answer:
    controlling flow
  • Question 15

    4 out of 4 points
    Which arithmetic operators have the highest precedence?
    Selected Answer:
    b. 
    * / %
  • Question 16

    4 out of 4 points
    Which of the following is a logical operator?​
    Selected Answer:
    a. 
    ​||
  • Question 17

    4 out of 4 points
    You access an array element’s value just as you access the value of any other variable, except that you include the element index in brackets.
    Selected Answer:
    True
  • Question 18

    4 out of 4 points
    You can use an arithmetic operator to return the modulus of a calculation, which is the ____ when you divide one number by another number.
    Selected Answer:
    d. 
    remainder left
  • Question 19

    4 out of 4 points
    You can use the compound ____ to combine two strings.
    Selected Answer:
    d. 
    assignment operator
  • Question 20

    4 out of 4 points
    Hypertext Markup Language (HTML) browsers ignore spaces that exist between the tags in a HTML document.
    Selected Answer:
    True
  • Question 21

    4 out of 4 points
    Each repetition of a looping statement is called a(n) ____________________.​
    Selected Answer:
    iteration
  • Question 22

    4 out of 4 points
    An if statement keeps repeating until its conditional expression evaluates to false.
    Selected Answer:
    False
  • Question 23

    4 out of 4 points
    A(n) ____ statement is a statement that returns a value to the statement that called the function.
    Selected Answer:
    c. 
    return
  • Question 24

    4 out of 4 points
    A(n) ____ is a variable that is used within a function.
    Selected Answer:
    b. 
    parameter
  • Question 25

    4 out of 4 points
    A web _____ is a program that interprets and displays webpages so that users can view and interact with a webpage.
    Selected Answer:
    c. 
    ​browser