Midterm Exam In ICT

40 Questions | Attempts: 143
Share

SettingsSettingsSettings
Midterm Exam In ICT - Quiz


Questions and Answers
  • 1. 

    It is an act that assures free flow of information to promote innovation and growth while protecting the user’s right to privacy.

    • A.

      Republic Act 10113   

    • B.

      Republic Act 10713

    • C.

      Republic Act 10173

    • D.

      Republic Act 10137

    Correct Answer
    C. Republic Act 10173
  • 2. 

    Which of the following is not a definition of consent according to the Data Privacy Act of 2012, Ch.1, Sec.1 ?

    • A.

      Freely Given

    • B.

      Unauthorized

    • C.

      Informed Indication of Will

    • D.

      Specific

    Correct Answer
    B. Unauthorized
  • 3. 

    The Data Privacy Act of 2012 can be violated through:

    • A.

      Improper processing of information

    • B.

      ​​​​​Authorized collection of information

    • C.

      Legal handling of data

    • D.

      Proper disposal of information

    Correct Answer
    A. Improper processing of information
  • 4. 

    Personal information is an information that would directly and certainly identify an individual. Which is not considered as personal information?

    • A.

      Address

    • B.

      Date of Birth

    • C.

      Taxpayer Identification Number

    • D.

      Internet Protocol (IP) Address

    Correct Answer
    D. Internet Protocol (IP) Address
  • 5. 

    It is a flowchart symbol that denotes a point where more than one path can be taken.

    • A.

      Input Symbol

    • B.

      Terminal Symbol

    • C.

      Decision Symbol

    • D.

      Processing Symbol

    Correct Answer
    C. Decision Symbol
  • 6. 

    Data is considered as input and output in a program. What is the shape of the input and output symbol in a flowchart?

    • A.

      Parallelogram

    • B.

      Rectangle

    • C.

      Oval

    • D.

      Pentagon

    Correct Answer
    A. Parallelogram
  • 7. 

    It was previously called as “X-Y position indicator for a display system”.

    • A.

      Keyboard

    • B.

      USB

    • C.

      Compact Disc

    • D.

      Mouse

    Correct Answer
    D. Mouse
  • 8. 

    In what year was Java programming language created?

    • A.

      1991

    • B.

      1995

    • C.

      1997

    • D.

      1993

    Correct Answer
    B. 1995
  • 9. 

    He is the one who created the Java programming language.

    • A.

      Bjarne Stroustrup

    • B.

      Steve Jobs

    • C.

      James Gosling

    • D.

      Mark Zuckerburg

    Correct Answer
    C. James Gosling
  • 10. 

    Which of the following is cannot be considered as benefit of Java programming language?

    • A.

      Secure

    • B.

      Expensive

    • C.

      Free

    • D.

      Portable

    Correct Answer
    B. Expensive
  • 11. 

    BlueJ is an IDE used in creating java applications. What does IDE stands for?

    • A.

      International Development Experiment

    • B.

      Internet Designed Environment

    • C.

      Integrated Development Environment

    • D.

      Information Development Experiment

    Correct Answer
    C. Integrated Development Environment
  • 12. 

    These are user-defined name for methods, classes, variables and constants.

    • A.

      Keywords

    • B.

      Literal

    • C.

      Data Type

    • D.

      Identifiers

    Correct Answer
    D. Identifiers
  • 13. 

    It acts as a container and stores values that can be changed.

    • A.

      Identifiers

    • B.

      Variables

    • C.

      Literal

    • D.

      Constant

    Correct Answer
    B. Variables
  • 14. 

    These are identifiers whose values cannot be changed once declared.

    • A.

      Constants

    • B.

      Data Types

    • C.

      Variables

    • D.

      Literal

    Correct Answer
    A. Constants
  • 15. 

    Which of the following is an invalid identifier?

    • A.

      $age

    • B.

      _email

    • C.

      #gender

    • D.

      Name

    Correct Answer
    C. #gender
  • 16. 

    In this example String First Name; the identifier is invalid. What rule does it violate in naming an identifier?

    • A.

      Identifier must be descriptive of its purpose

    • B.

      Identifier must start either dollar sign ($) or underscore (_) or a letter

    • C.

      Identifier must not contain any spaces

    • D.

      It is a valid identifier

    Correct Answer
    C. Identifier must not contain any spaces
  • 17. 

    Which of the following data types does not hold numeric values?

    • A.

      Boolean

    • B.

      Double

    • C.

      Integer

    • D.

      Byte

    Correct Answer
    A. Boolean
  • 18. 

    It is a type of data that holds collection of characters.

    • A.

      Short

    • B.

      Boolean

    • C.

      String

    • D.

      Integer

    Correct Answer
    C. String
  • 19. 

    What type of data holds the values “true or false”?

    • A.

      Double

    • B.

      Boolean

    • C.

      Float 

    • D.

      Short

    Correct Answer
    B. Boolean
  • 20. 

    It is a punctuation in java that indicates the end of statement.

    • A.

      Period (.)

    • B.

      Comma (,)

    • C.

      Semi-Colon (;)

    • D.

      Colon (:)

    Correct Answer
    C. Semi-Colon (;)
  • 21. 

    It is the correct syntax in declaring a variable.

    • A.

      Double Grade:

    • B.

      Int Age;

    • C.

      Boolean _Email,

    • D.

      String grade%:

    Correct Answer
    B. Int Age;
  • 22. 

    It refers to the values that will be stored in a constant.

    • A.

      Literal

    • B.

      Data Type      

    • C.

      Identifier

    • D.

      Final

    Correct Answer
    A. Literal
  • 23. 

    Which of the following is the correct syntax in declaring a constant?

    • A.

      Final literal identifier = datatype;

    • B.

      Final datatype literal = identifier;

    • C.

      Datatype final identifier = literal;

    • D.

      Final datatype identifier = literal;

    Correct Answer
    D. Final datatype identifier = literal;
  • 24. 

    Which of the following is the correct in displaying a String?

    • A.

      System.out.print(“String”);

    • B.

      System.print.out(“String”);

    • C.

      ​​​​​print.out.System(“String”);

    • D.

      String.print.out(“System”);

    Correct Answer
    A. System.out.print(“String”);
  • 25. 

    The scanner class is used to get an input from the user. What is the syntax in importing a scanner class?

    • A.

      Import util.java.scanner;

    • B.

      Import java.scanner.util;

    • C.

      Import java.util.Scanner;

    • D.

      Import.util.Scanner.java

    Correct Answer
    C. Import java.util.Scanner;
  • 26. 

    Which of the following examples can be considered as constant?

    • A.

      Gravity = 9.8m/s2;                  

    • B.

      Age = 17;       

    • C.

      Time = 9:00;

    • D.

      Temperature = 26.8oC;

    Correct Answer
    A. Gravity = 9.8m/s2;                  
  • 27. 

    In using the drawing panel in java, you can use shape such as oval and rectangle. g.fillRect(10, 20, 30, 40) Using this as an example, what does the values 10, 20, 30, and 40 represent?

    • A.

      Height, Width, X, Y

    • B.

      X, Y, Width, Height

    • C.

      X, Width, Y, Height

    • D.

      Y, X, Height, Width

    Correct Answer
    B. X, Y, Width, Height
  • 28. 

    The location (0,0) is at the top-left corner of the drawing panel. In what quadrant is it found in the cartesian plane?

    • A.

      Quadrant I

    • B.

      Quadrant II

    • C.

      Quadrant III

    • D.

      Quadrant IV

    Correct Answer
    D. Quadrant IV
  • 29. 

    Which of the following colors is not pre-defined in java graphics?

    • A.

      Magenta

    • B.

      Cyan

    • C.

      Violet

    • D.

      Pink

    Correct Answer
    C. Violet
  • 30. 

    It represents the canvas or the window surfaces in creating objects in java.

    • A.

      Window Pane

    • B.

      Drawing Panel

    • C.

      Graphics Window

    • D.

      Window Panel

    Correct Answer
    B. Drawing Panel
  • 31. 

    The Java programming language was created under the company Sun Microsystems.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 32. 

    The integer data type holds whole numbers only.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 33. 

    Reserve keywords in java can still be used as an identifier.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 34. 

    To check whether there are errors in your program, you need to compile it first.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 35. 

    The BlueJ IDE cannot detect the errors in a program.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 36. 

    You cannot adjust the size of a drawing panel.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 37. 

    Final is the keyword used in declaring a constant.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 38. 

    To set the size of the drawing panel the correct syntax is (height, width).

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 39. 

    $Email_Address is considered as valid identifier.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 40. 

    In this example, g.fillOval(30, 40, 50, 60), the 50 is the height.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 21, 2022
    Quiz Edited by
    ProProfs Editorial Team
  • Sep 18, 2019
    Quiz Created by
    Marylan Mora
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.