Sign in

(Midterms) Programming Languages Mocktest BSIT 604

(Midterms) Programming Languages Mocktest BSIT 604
81 questions • 3 d ago
  • Xai Alexandrei Delos Reyes
  • Report

    Question list

  • 1

    Involves reading the source code character from left to right and organizing them into tokens.

    Lexical analysis

  • 2

    Which statement is NOT TRUE about Lexical Analysis?

    It can be individual words or symbols in a sentence, such as keywords, variable names, numbers, and punctuation.

  • 3

    LexicaI Analysis aims to read the input code and break it into meaningful elements called _____?

    Tokens

  • 4

    A lexical analyzer collects characters into logical groupings called ______?

    Lexems

  • 5

    Collects characters into logical groupings and assigns internal codes to the groupings based on their structure. These logical groupings are called lexemes, and the internal codes for categories of these groupings are the tokens.

    Lexical analyzer

  • 6

    Which statement is NOT TRUE on how a Lexical Analyzer works?

    Involves reading the source code character from left to right and organizing them into tokens.

  • 7

    "Involves cleaning up the input text and preparing it for lexical analysis. This covers the removal of comments, whitespaces, and other non-essential characters from the input text." Which lexical analyzer processes is being described?

    Input Preprocessing

  • 8

    "Involves the process of breaking the input text into a sequence of tokens. This is done by matching the characters in the input text against a set of patterns or regular expressions that define the different types of tokens." Which lexical analyzer processes is being described?

    Tokenization

  • 9

    "The analyzer determines the type of each token. For instance, the analyzer might classify the keywords, identifiers, operators, and punctuation symbols as separate token types." Which lexical analyzer processes is being described?

    Token Classification

  • 10

    "The analyzer generates the output of the lexical analysis process, typically a list or sequence of tokens (token stream). The list of tokens can then be passed to the next stage of compilation or interpretation, which will be sent to the parser for syntax analysis." Which lexical analyzer processes is being described?

    Output Generation

  • 11

    This can be individual words or symbols in a sentence, such as keywords, variable names, numbers, and punctuation.

    Tokens

  • 12

    "All the numbers and alphabets are considered hexadecimal alphabets by language." What set in tokens is being described?

    Alphabets

  • 13

    "The collection of different alphabets occurring continuously. Its length is defined by the number of characters or alphabets occurring together." What set in tokens is being described?

    Strings

  • 14

    "Examples include Comma (,), Semicolon(:), +=, -=, *=, /=, etc." What set in tokens is being described?

    Symbols

  • 15

    "Comments, preprocessor directive, macros, blanks, tabs, newlines." What set in tokens is being described?

    Non-tokens

  • 16

    These are the sequence of characters matched by a pattern to form the token or a sequence of input characters that comprises a single token. These are recognized by matching the input character string against character string patterns, while tokens are represented as integer values.

    Lexems

  • 17

    x = 3; y = 4; print(x + y); How many tokens are in this python program?

    15

  • 18

    name = "Leon S. Kennedy"; address = "Racoon City"; print(f"My name is {name}. I live at {address}"); How many tokens are there in this python program?

    14

  • 19

    is the process of analyzing a string of symbols according to the rules of formal grammar.

    Syntax analysis or parsing

  • 20

    Which statement is NOT TRUE about Parsing?

    It involves reading the source code character from left to right and organizing them into tokens.

  • 21

    Which is NOT TRUE about a Syntax Analyzer Process?

    It is the process of applying the rules of Context-Free Grammar to generate a sequence of tokens to form a valid structure.

  • 22

    Syntax analysis uses this to define the syntax rules of a programming language.

    context-free grammar (CFG)

  • 23

    "The tokens are analyzed based on the grammar rules of the programming language. A parse tree or AST is constructed tobrepresent the hierarchical structure of the program." What step in parsing is being described?

    Parsing

  • 24

    "If the input program contains syntax errors, the syntax analyzer detects and flags them to the user, indicating where the error occurred." What step in parsing is being described?

    Error Handling

  • 25

    "The syntax analyzer creates a symbol table, a data structure that stores information about the identifiers used in the program, such as type, scope, and location." What step in parsing is being described?

    Symbol Table Creation

  • 26

    It is the process of applying the rules of Context-Free Grammar to generate a sequence of tokens to form a valid structure. Simply, it is a sequence of production rules to get the input string for the parser.

    Derivation

  • 27

    In derivation, which statement is NOT TRUE about decisions for some sentential form of input during parsing?

    It is called middle-most derivation if the sentential form of an input is scanned and replaced from left to right. Its derived sentential form is called the left-sentential form.

  • 28

    "If the sentential form of an input is scanned and replaced from left to right." Which of the two (2) options in deciding which non-terminal to be replaced with the production rule is being described?

    left-most derivation

  • 29

    "if the input is scanned and replaced with production rules." Which of the two (2) options in deciding which non-terminal to be replaced with the production rule is being described?

    right-most derivation

  • 30

    E → E * E E → E + E * E E → id + E * E E → id + id * E E → id + id * id What derivation is being represented?

    left-most derivation

  • 31

    E → E + E E → E + E * E E → E + E * id E → E + id * id E → id + id * id What derivation is being represented?

    right-most derivation

  • 32

    It is the graphical representation of a derivation.

    Parse Tree

  • 33

    Which statement is NOT TRUE about a Parse Tree?

    It involves reading the source code character from left to right and organizing them into tokens.

  • 34

    If it has more than one parse tree, either left or right derivation, for at least one (1) string

    Ambiguous

  • 35

    When an operand has operators on both sides, the side on which the operator takes this operand is decided by the association of those operators. The operand will be taken by the left operator if the operation is left-associative, and the right operator will take the operand if the operation is right-associative.

    Associativity

  • 36

    It includes Addition, Multiplication, Subtraction, and Division.

    Left-associative operations

  • 37

    Such as exponentiation will have the following evaluation in the same expression as above.

    Right-associative operations

  • 38

    When two (2) different operators share a common operand, the precedence of operators decides which will take the operand

    Precedence

  • 39

    It is when operators are performed before others.

    Hierarchy of priorities

  • 40

    Select all operators IN PROPER PRIORITY ORDER

    ** or Exponentiation Operator, Unary + and –, *, /, //, %, Binary + (Addition) and – (Subtraction)

  • 41

    It is a string of characters used to identify some entity in a program.

    Name

  • 42

    This term can be used interchangeably with “name”.

    Identifier

  • 43

    Which statement is NOT TRUE about Names?

    It is a special word that cannot be used as a name in a programming language.

  • 44

    Which statement is NOT TRUE in naming conventions for various programming languages?

    All variable names in PHP must begin with a hashtag (#) sign

  • 45

    Which BEST DESCRIBES the naming convention of a function in python?

    Use lowercase words. Separate words by underscores to improve readability. This is called a snake case

  • 46

    Which BEST DESCRIBES the naming convention of a variable in python?

    Use a lowercase single letter, word, or words. Separate words with underscores (_) to improve readability.

  • 47

    Which BEST DESCRIBES the naming convention of a Class in python?

    Start each word with a capital letter. Do not separate words with underscores. This is called a Pascal case*.

  • 48

    Which BEST EXEMPLIFIES the naming convention of a Method in python?

    dogclass_bark

  • 49

    Which BEST DESCRIBES the naming convention of a constant in python?

    Use an uppercase single letter, word, or words. Separate words with underscores to improve readability.

  • 50

    Which BEST EXEMPLIFIES the naming convention of a Module in python?

    python_module.py

  • 51

    Which BEST DESCRIBES the naming convention of a Package in python?

    Use a short, lowercase word or words. Do not separate words with underscores.

  • 52

    Which statement is NOT TRUE about Special words

    is an association between an attribute and an entity, such as between a variable and its type or value, or between an operation and a symbol.

  • 53

    These are used to make programs more readable by naming actions to be performed.

    Special Words

  • 54

    It is a special word that cannot be used as a name in a programming language.

    Reserved words

  • 55

    Which is NOT a Reserved word in Python?

    remove

  • 56

    It is an abstraction of a computer memory cell or collection of cells. It can be characterized as a sextuple of attributes including name, address, type, value, lifetime, and scope.

    Variable

  • 57

    "These are used to identify and reference values that can change. They can be made up of letters, numbers, and underscores and should be descriptive and meaningful." Which variable characteristic is being described?

    Variable Names

  • 58

    "It is the unique machine memory address it is associated with. It acts as a numerical identifier that allows the program to access and manipulate the data held by the variable." Which variable characteristic is being described?

    Variable Address

  • 59

    "Determines the range of values the variable can store and the set of operations defined for values of the type. Examples include int, float, and Boolean." Which variable characteristic is being described?

    Variable Type

  • 60

    "The contents of the memory cell or cells associated with the variable. It can also be called its r-value, as it is required when the variable name appears on the right side of an assignment statement." Which variable characteristic is being described?

    Variable Value

  • 61

    "The amount of time it exists and retains its value in memory, depending on how and where it is declared." Which variable characteristic is being described?

    Variable Lifetime

  • 62

    "the part of the program where a variable can be accessed. It is determined by where the variable is declared in the code" Which variable characteristic is being described?

    Variable Scope

  • 63

    It is an association between an attribute and an entity, such as between a variable and its type or value, or between an operation and a symbol.

    Binding

  • 64

    It is the time a binding takes place, for instance, at language design time, language implementation time, compile time, load time, link time, or run time.

    Binding Time

  • 65

    A variable must be bound to a data type before being referenced in a program.

    Type Bindings

  • 66

    It is a statement in a program that lists variable names and specifies their particular type. It directly specifies the data type of the variable when declaring it.

    Explicit declaration

  • 67

    Which BEST EXEMPLIFIES an explicit declaration?

    int num1 = 7

  • 68

    It is a means of associating variables with types through default conventions rather than declaration statements

    Implicit declaration

  • 69

    Which BEST EXEMPLIFIES an Implicit declaration?

    string_num1 = 4.50

  • 70

    Which statement BEST DESCRIBES explicit declaration in python?

    It can still be applied by binding a variable to a value and showing that the variable can later change its type.

  • 71

    Which statement BEST DESCRIBES Implicit declaration in python?

    Python automatically binds the value to the variable and figures out the type behind the scenes.

  • 72

    Which statement BEST DESCRIBES Dynamic type binding in python?

    It happens when the variable type is not specified by a declaration statement, nor can be determined by the spelling of its name.

  • 73

    It is the range of statements wherein the variable is visible. It determines the lifetime and visibility of a variable, meaning where it can be used and modified within the code.

    Scope

  • 74

    These are accessible from anywhere in the program, including inside functions or methods. They are usually defined outside of any function or block of code.

    Global Scope

  • 75

    Variables declared inside a function or block of code are local variables and can only be accessed within that specific function or block. They are not visible outside their defining scope.

    Local Scope

  • 76

    This refers to the scope of a function that encloses another function. If there is a nested function, the outer function's variables are available to the inner function, but not the other way around.

    Enclosing Scope

  • 77

    The built-in scope contains all the functions and variables that are built into Python, like print(), len(), and int(). These are always available to use

    Built-in Scope

  • 78

    What does LEGB Rule Stand for?

    Local, Enclosing, Global, Built-In

  • 79

    "Python follows this rule when looking up variables" What python scope rule is being described?

    LEGB

  • 80

    "If a variable declared in a local scope has the same name as a variable in an outer (enclosing or global) scope, it shadows the outer variable, meaning the local variable takes precedence." What python scope rule is being described?

    Shadowing

  • 81

    "In Python, to modify a global variable inside a function, it must be declared with a global keyword to avoid creating a local variable with the same name." What python scope rule is being described?

    global Keyword

  • The Contemporary World Mock test (Prelims)

    The Contemporary World Mock test (Prelims)

    Xai Alexandrei Delos Reyes · 58 questions · 2 y ago

    The Contemporary World Mock test (Prelims)

    The Contemporary World Mock test (Prelims)

    58 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Computing Mock test (Prelims)

    Computing Mock test (Prelims)

    Xai Alexandrei Delos Reyes · 67 questions · 2 y ago

    Computing Mock test (Prelims)

    Computing Mock test (Prelims)

    67 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Programming Mock Test (Prelims)

    Programming Mock Test (Prelims)

    Xai Alexandrei Delos Reyes · 64 questions · 2 y ago

    Programming Mock Test (Prelims)

    Programming Mock Test (Prelims)

    64 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Entrepreneurship Mock Test (Prelims)

    Entrepreneurship Mock Test (Prelims)

    Xai Alexandrei Delos Reyes · 23 questions · 2 y ago

    Entrepreneurship Mock Test (Prelims)

    Entrepreneurship Mock Test (Prelims)

    23 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Computing Mock Test (Midterms) BSIT 107

    Computing Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 76 questions · 2 y ago

    Computing Mock Test (Midterms) BSIT 107

    Computing Mock Test (Midterms) BSIT 107

    76 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Math Mock Test (Prelims)

    Math Mock Test (Prelims)

    Xai Alexandrei Delos Reyes · 48 questions · 2 y ago

    Math Mock Test (Prelims)

    Math Mock Test (Prelims)

    48 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Programming Mock Test (Midterms) BSIT 107

    Programming Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 52 questions · 2 y ago

    Programming Mock Test (Midterms) BSIT 107

    Programming Mock Test (Midterms) BSIT 107

    52 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    UTS Mock Test (Midterms) BSIT107

    UTS Mock Test (Midterms) BSIT107

    Xai Alexandrei Delos Reyes · 40 questions · 2 y ago

    UTS Mock Test (Midterms) BSIT107

    UTS Mock Test (Midterms) BSIT107

    40 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Entrepreneurship Mock Test (Midterms) BSIT 107

    Entrepreneurship Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 38 questions · 2 y ago

    Entrepreneurship Mock Test (Midterms) BSIT 107

    Entrepreneurship Mock Test (Midterms) BSIT 107

    38 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Contemporary World Mock Test (Midterms) BSIT 107

    Contemporary World Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 28 questions · 2 y ago

    Contemporary World Mock Test (Midterms) BSIT 107

    Contemporary World Mock Test (Midterms) BSIT 107

    28 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Math Mocktest (Midterms) BSIT 107

    Math Mocktest (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 24 questions · 2 y ago

    Math Mocktest (Midterms) BSIT 107

    Math Mocktest (Midterms) BSIT 107

    24 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Computer Programming Mocktest (Pre-finals)

    Computer Programming Mocktest (Pre-finals)

    Xai Alexandrei Delos Reyes · 26 questions · 2 y ago

    Computer Programming Mocktest (Pre-finals)

    Computer Programming Mocktest (Pre-finals)

    26 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Math Mocktest (Pre-Finals)

    Math Mocktest (Pre-Finals)

    Xai Alexandrei Delos Reyes · 19 questions · 2 y ago

    Math Mocktest (Pre-Finals)

    Math Mocktest (Pre-Finals)

    19 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Computing Mock Test (Pre-finals)

    Computing Mock Test (Pre-finals)

    Xai Alexandrei Delos Reyes · 36 questions · 2 y ago

    Computing Mock Test (Pre-finals)

    Computing Mock Test (Pre-finals)

    36 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Computing Mock Test Finals

    Computing Mock Test Finals

    Xai Alexandrei Delos Reyes · 26 questions · 2 y ago

    Computing Mock Test Finals

    Computing Mock Test Finals

    26 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Comprog 2nd sem (prelims) BSIT 205

    Comprog 2nd sem (prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 63 questions · 2 y ago

    Comprog 2nd sem (prelims) BSIT 205

    Comprog 2nd sem (prelims) BSIT 205

    63 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Discrete Math 2nd sem (prelims) BSIT 205

    Discrete Math 2nd sem (prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 36 questions · 2 y ago

    Discrete Math 2nd sem (prelims) BSIT 205

    Discrete Math 2nd sem (prelims) BSIT 205

    36 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Art Appreciation (Prelim) BSIT 205

    Art Appreciation (Prelim) BSIT 205

    Xai Alexandrei Delos Reyes · 56 questions · 2 y ago

    Art Appreciation (Prelim) BSIT 205

    Art Appreciation (Prelim) BSIT 205

    56 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Ethics 2nd sem (Prelims) BSIT 205

    Ethics 2nd sem (Prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 45 questions · 2 y ago

    Ethics 2nd sem (Prelims) BSIT 205

    Ethics 2nd sem (Prelims) BSIT 205

    45 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    STS 2nd Sem (Prelim) BSIT 205

    STS 2nd Sem (Prelim) BSIT 205

    Xai Alexandrei Delos Reyes · 40 questions · 2 y ago

    STS 2nd Sem (Prelim) BSIT 205

    STS 2nd Sem (Prelim) BSIT 205

    40 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Systems Administration 2nd sem (Prelims) BSIT 205

    Systems Administration 2nd sem (Prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 72 questions · 2 y ago

    Systems Administration 2nd sem (Prelims) BSIT 205

    Systems Administration 2nd sem (Prelims) BSIT 205

    72 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Discrete Mathematics (Midterms) BSIT 205

    Discrete Mathematics (Midterms) BSIT 205

    Xai Alexandrei Delos Reyes · 52 questions · 1 y ago

    Discrete Mathematics (Midterms) BSIT 205

    Discrete Mathematics (Midterms) BSIT 205

    52 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Art Appreciation (Midterm) BSIT 205

    Art Appreciation (Midterm) BSIT 205

    Xai Alexandrei Delos Reyes · 56 questions · 1 y ago

    Art Appreciation (Midterm) BSIT 205

    Art Appreciation (Midterm) BSIT 205

    56 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Ethics Mocktest (Midterms) BSIT205

    Ethics Mocktest (Midterms) BSIT205

    Xai Alexandrei Delos Reyes · 29 questions · 1 y ago

    Ethics Mocktest (Midterms) BSIT205

    Ethics Mocktest (Midterms) BSIT205

    29 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Comprog Mocktest (Midterm) BSIT 205

    Comprog Mocktest (Midterm) BSIT 205

    Xai Alexandrei Delos Reyes · 61 questions · 1 y ago

    Comprog Mocktest (Midterm) BSIT 205

    Comprog Mocktest (Midterm) BSIT 205

    61 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    System Administration Mocktest (Midterms) BSIT 205

    System Administration Mocktest (Midterms) BSIT 205

    Xai Alexandrei Delos Reyes · 65 questions · 1 y ago

    System Administration Mocktest (Midterms) BSIT 205

    System Administration Mocktest (Midterms) BSIT 205

    65 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Math Mocktest (Pre-finals) BSIT 205

    Math Mocktest (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 49 questions · 1 y ago

    Math Mocktest (Pre-finals) BSIT 205

    Math Mocktest (Pre-finals) BSIT 205

    49 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Art Appreciation Mocktest (Pre-finals) BSIT 205

    Art Appreciation Mocktest (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 66 questions · 1 y ago

    Art Appreciation Mocktest (Pre-finals) BSIT 205

    Art Appreciation Mocktest (Pre-finals) BSIT 205

    66 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Ethics Mocktest (Pre-finals) BSIT 205

    Ethics Mocktest (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 50 questions · 1 y ago

    Ethics Mocktest (Pre-finals) BSIT 205

    Ethics Mocktest (Pre-finals) BSIT 205

    50 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Computer Programming Mocktest (Pre-finals) BSIT 205

    Computer Programming Mocktest (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 33 questions · 1 y ago

    Computer Programming Mocktest (Pre-finals) BSIT 205

    Computer Programming Mocktest (Pre-finals) BSIT 205

    33 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    System Administration (Pre-finals) BSIT 205

    System Administration (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 52 questions · 1 y ago

    System Administration (Pre-finals) BSIT 205

    System Administration (Pre-finals) BSIT 205

    52 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Art Appreciation Finals BSIT 205

    Art Appreciation Finals BSIT 205

    Xai Alexandrei Delos Reyes · 35 questions · 1 y ago

    Art Appreciation Finals BSIT 205

    Art Appreciation Finals BSIT 205

    35 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Data Structures and Algorithms (Mocktest) BSIT 307

    Data Structures and Algorithms (Mocktest) BSIT 307

    Xai Alexandrei Delos Reyes · 52 questions · 1 y ago

    Data Structures and Algorithms (Mocktest) BSIT 307

    Data Structures and Algorithms (Mocktest) BSIT 307

    52 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Object Oriented Programming Mock Test (Mocktest) BSIT 307

    Object Oriented Programming Mock Test (Mocktest) BSIT 307

    Xai Alexandrei Delos Reyes · 23 questions · 1 y ago

    Object Oriented Programming Mock Test (Mocktest) BSIT 307

    Object Oriented Programming Mock Test (Mocktest) BSIT 307

    23 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Human Computer Interactions Mocktest (Prelims) BSIT 307

    Human Computer Interactions Mocktest (Prelims) BSIT 307

    Xai Alexandrei Delos Reyes · 58 questions · 1 y ago

    Human Computer Interactions Mocktest (Prelims) BSIT 307

    Human Computer Interactions Mocktest (Prelims) BSIT 307

    58 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Principles of Communication Mocktest (Prelims) BSIT 307

    Principles of Communication Mocktest (Prelims) BSIT 307

    Xai Alexandrei Delos Reyes · 37 questions · 1 y ago

    Principles of Communication Mocktest (Prelims) BSIT 307

    Principles of Communication Mocktest (Prelims) BSIT 307

    37 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Principles of Communication Mocktest (Midterms) BSIT 307

    Principles of Communication Mocktest (Midterms) BSIT 307

    Xai Alexandrei Delos Reyes · 29 questions · 1 y ago

    Principles of Communication Mocktest (Midterms) BSIT 307

    Principles of Communication Mocktest (Midterms) BSIT 307

    29 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Data Structures and Algorithms Mocktest (Midterm) BSIT 307

    Data Structures and Algorithms Mocktest (Midterm) BSIT 307

    Xai Alexandrei Delos Reyes · 50 questions · 1 y ago

    Data Structures and Algorithms Mocktest (Midterm) BSIT 307

    Data Structures and Algorithms Mocktest (Midterm) BSIT 307

    50 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Object Oriented Programming Mock Test (Midterm) BSIT 307

    Object Oriented Programming Mock Test (Midterm) BSIT 307

    Xai Alexandrei Delos Reyes · 13 questions · 1 y ago

    Object Oriented Programming Mock Test (Midterm) BSIT 307

    Object Oriented Programming Mock Test (Midterm) BSIT 307

    13 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Human Computer Interactions Mocktest (Midterms) BSIT 307

    Human Computer Interactions Mocktest (Midterms) BSIT 307

    Xai Alexandrei Delos Reyes · 35 questions · 1 y ago

    Human Computer Interactions Mocktest (Midterms) BSIT 307

    Human Computer Interactions Mocktest (Midterms) BSIT 307

    35 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Readings In Philippine History (Midterms) Mocktest

    Readings In Philippine History (Midterms) Mocktest

    Xai Alexandrei Delos Reyes · 16 questions · 1 y ago

    Readings In Philippine History (Midterms) Mocktest

    Readings In Philippine History (Midterms) Mocktest

    16 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Discrete Structures and Algorithms (Midterms) Mocktest

    Discrete Structures and Algorithms (Midterms) Mocktest

    Xai Alexandrei Delos Reyes · 10 questions · 1 y ago

    Discrete Structures and Algorithms (Midterms) Mocktest

    Discrete Structures and Algorithms (Midterms) Mocktest

    10 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Principles of Communication (Midterm) Mocktest

    Principles of Communication (Midterm) Mocktest

    Xai Alexandrei Delos Reyes · 29 questions · 1 y ago

    Principles of Communication (Midterm) Mocktest

    Principles of Communication (Midterm) Mocktest

    29 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    TECHNOPRENEURSHIP PRELIMS BSIT 402

    TECHNOPRENEURSHIP PRELIMS BSIT 402

    Xai Alexandrei Delos Reyes · 74 questions · 1 y ago

    TECHNOPRENEURSHIP PRELIMS BSIT 402

    TECHNOPRENEURSHIP PRELIMS BSIT 402

    74 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    (Prelim) PH Popular Culture Mocktest BSIT 402

    (Prelim) PH Popular Culture Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 19 questions · 1 y ago

    (Prelim) PH Popular Culture Mocktest BSIT 402

    (Prelim) PH Popular Culture Mocktest BSIT 402

    19 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    (Prelim) Integrative Programming BSIT 402

    (Prelim) Integrative Programming BSIT 402

    Xai Alexandrei Delos Reyes · 46 questions · 1 y ago

    (Prelim) Integrative Programming BSIT 402

    (Prelim) Integrative Programming BSIT 402

    46 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    (Prelim) Quantitive Methods Mocktest BSIT 402

    (Prelim) Quantitive Methods Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 39 questions · 1 y ago

    (Prelim) Quantitive Methods Mocktest BSIT 402

    (Prelim) Quantitive Methods Mocktest BSIT 402

    39 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    (Prelim) System Integration and Architecture BSIT 402

    (Prelim) System Integration and Architecture BSIT 402

    Xai Alexandrei Delos Reyes · 29 questions · 1 y ago

    (Prelim) System Integration and Architecture BSIT 402

    (Prelim) System Integration and Architecture BSIT 402

    29 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    (Prelim) Network Technology Mocktest BSIT 402

    (Prelim) Network Technology Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 68 questions · 1 y ago

    (Prelim) Network Technology Mocktest BSIT 402

    (Prelim) Network Technology Mocktest BSIT 402

    68 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    (Prelim) Information Management Mocktest BSIT 402

    (Prelim) Information Management Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 45 questions · 1 y ago

    (Prelim) Information Management Mocktest BSIT 402

    (Prelim) Information Management Mocktest BSIT 402

    45 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    (Pre-Finals) Quantitative Research Mocktest BSIT 402

    (Pre-Finals) Quantitative Research Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 28 questions · 10 mo ago

    (Pre-Finals) Quantitative Research Mocktest BSIT 402

    (Pre-Finals) Quantitative Research Mocktest BSIT 402

    28 questions • 10 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Information Management Mocktest

    (Finals) Information Management Mocktest

    Xai Alexandrei Delos Reyes · 64 questions · 9 mo ago

    (Finals) Information Management Mocktest

    (Finals) Information Management Mocktest

    64 questions • 9 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Philippine Popular Culture Mocktest

    (Finals) Philippine Popular Culture Mocktest

    Xai Alexandrei Delos Reyes · 46 questions · 9 mo ago

    (Finals) Philippine Popular Culture Mocktest

    (Finals) Philippine Popular Culture Mocktest

    46 questions • 9 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Integrative Programming Mocktest BSIT 402

    (Finals) Integrative Programming Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 24 questions · 9 mo ago

    (Finals) Integrative Programming Mocktest BSIT 402

    (Finals) Integrative Programming Mocktest BSIT 402

    24 questions • 9 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Network Technology Mocktest BSIT 402

    (Finals) Network Technology Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 37 questions · 9 mo ago

    (Finals) Network Technology Mocktest BSIT 402

    (Finals) Network Technology Mocktest BSIT 402

    37 questions • 9 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Quantitative Methods Mocktest BSIT 402

    (Finals) Quantitative Methods Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 18 questions · 9 mo ago

    (Finals) Quantitative Methods Mocktest BSIT 402

    (Finals) Quantitative Methods Mocktest BSIT 402

    18 questions • 9 mo ago
    Xai Alexandrei Delos Reyes

    Application Development Mocktest (Prelim) BSIT 505

    Application Development Mocktest (Prelim) BSIT 505

    Xai Alexandrei Delos Reyes · 72 questions · 6 mo ago

    Application Development Mocktest (Prelim) BSIT 505

    Application Development Mocktest (Prelim) BSIT 505

    72 questions • 6 mo ago
    Xai Alexandrei Delos Reyes

    Data and Digital Communication Mocktest (Prelim) BSIT 505

    Data and Digital Communication Mocktest (Prelim) BSIT 505

    Xai Alexandrei Delos Reyes · 60 questions · 6 mo ago

    Data and Digital Communication Mocktest (Prelim) BSIT 505

    Data and Digital Communication Mocktest (Prelim) BSIT 505

    60 questions • 6 mo ago
    Xai Alexandrei Delos Reyes

    (Handout 1 Only!) Advanced Systems Integration and Architecture Mocktest (Prelim) BSIT 505

    (Handout 1 Only!) Advanced Systems Integration and Architecture Mocktest (Prelim) BSIT 505

    Xai Alexandrei Delos Reyes · 38 questions · 6 mo ago

    (Handout 1 Only!) Advanced Systems Integration and Architecture Mocktest (Prelim) BSIT 505

    (Handout 1 Only!) Advanced Systems Integration and Architecture Mocktest (Prelim) BSIT 505

    38 questions • 6 mo ago
    Xai Alexandrei Delos Reyes

    Enterprise Architecture Mocktest (Prelims) BSIT 505

    Enterprise Architecture Mocktest (Prelims) BSIT 505

    Xai Alexandrei Delos Reyes · 42 questions · 6 mo ago

    Enterprise Architecture Mocktest (Prelims) BSIT 505

    Enterprise Architecture Mocktest (Prelims) BSIT 505

    42 questions • 6 mo ago
    Xai Alexandrei Delos Reyes

    Professional Issues in Information Technology Mocktest (Prelims) BSIT 505

    Professional Issues in Information Technology Mocktest (Prelims) BSIT 505

    Xai Alexandrei Delos Reyes · 44 questions · 6 mo ago

    Professional Issues in Information Technology Mocktest (Prelims) BSIT 505

    Professional Issues in Information Technology Mocktest (Prelims) BSIT 505

    44 questions • 6 mo ago
    Xai Alexandrei Delos Reyes

    Application Development Mocktest (Midterm) BSIT 505

    Application Development Mocktest (Midterm) BSIT 505

    Xai Alexandrei Delos Reyes · 42 questions · 6 mo ago

    Application Development Mocktest (Midterm) BSIT 505

    Application Development Mocktest (Midterm) BSIT 505

    42 questions • 6 mo ago
    Xai Alexandrei Delos Reyes

    Event-Driven Programming Mocktest (Midterm) BSIT - 505

    Event-Driven Programming Mocktest (Midterm) BSIT - 505

    Xai Alexandrei Delos Reyes · 61 questions · 6 mo ago

    Event-Driven Programming Mocktest (Midterm) BSIT - 505

    Event-Driven Programming Mocktest (Midterm) BSIT - 505

    61 questions • 6 mo ago
    Xai Alexandrei Delos Reyes

    Data and Digital Communication Mocktest (Midterm) BSIT - 505

    Data and Digital Communication Mocktest (Midterm) BSIT - 505

    Xai Alexandrei Delos Reyes · 80 questions · 6 mo ago

    Data and Digital Communication Mocktest (Midterm) BSIT - 505

    Data and Digital Communication Mocktest (Midterm) BSIT - 505

    80 questions • 6 mo ago
    Xai Alexandrei Delos Reyes

    (Midterm) Advanced Systems and Integration Architecture BSIT - 505

    (Midterm) Advanced Systems and Integration Architecture BSIT - 505

    Xai Alexandrei Delos Reyes · 68 questions · 5 mo ago

    (Midterm) Advanced Systems and Integration Architecture BSIT - 505

    (Midterm) Advanced Systems and Integration Architecture BSIT - 505

    68 questions • 5 mo ago
    Xai Alexandrei Delos Reyes

    (Midterm) Advanced Database Systems Mocktest BSIT - 505

    (Midterm) Advanced Database Systems Mocktest BSIT - 505

    Xai Alexandrei Delos Reyes · 82 questions · 5 mo ago

    (Midterm) Advanced Database Systems Mocktest BSIT - 505

    (Midterm) Advanced Database Systems Mocktest BSIT - 505

    82 questions • 5 mo ago
    Xai Alexandrei Delos Reyes

    (Midterms) Enterprise Architecture Mocktest BSIT 505

    (Midterms) Enterprise Architecture Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 69 questions · 5 mo ago

    (Midterms) Enterprise Architecture Mocktest BSIT 505

    (Midterms) Enterprise Architecture Mocktest BSIT 505

    69 questions • 5 mo ago
    Xai Alexandrei Delos Reyes

    (Midterm) Professional Issues in Information Technology BSIT 505

    (Midterm) Professional Issues in Information Technology BSIT 505

    Xai Alexandrei Delos Reyes · 38 questions · 5 mo ago

    (Midterm) Professional Issues in Information Technology BSIT 505

    (Midterm) Professional Issues in Information Technology BSIT 505

    38 questions • 5 mo ago
    Xai Alexandrei Delos Reyes

    (Pre-Finals)Event-Driven Programming Mocktest BSIT 505

    (Pre-Finals)Event-Driven Programming Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 59 questions · 4 mo ago

    (Pre-Finals)Event-Driven Programming Mocktest BSIT 505

    (Pre-Finals)Event-Driven Programming Mocktest BSIT 505

    59 questions • 4 mo ago
    Xai Alexandrei Delos Reyes

    (Pre-finals) Application Development Mocktest BSIT 505

    (Pre-finals) Application Development Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 41 questions · 4 mo ago

    (Pre-finals) Application Development Mocktest BSIT 505

    (Pre-finals) Application Development Mocktest BSIT 505

    41 questions • 4 mo ago
    Xai Alexandrei Delos Reyes

    (Pre-Finals) Data and Digital Communication Mocktest BSIT 505

    (Pre-Finals) Data and Digital Communication Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 57 questions · 4 mo ago

    (Pre-Finals) Data and Digital Communication Mocktest BSIT 505

    (Pre-Finals) Data and Digital Communication Mocktest BSIT 505

    57 questions • 4 mo ago
    Xai Alexandrei Delos Reyes

    (Pre-Finals) ASIA Mocktest BSIT 505

    (Pre-Finals) ASIA Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 44 questions · 4 mo ago

    (Pre-Finals) ASIA Mocktest BSIT 505

    (Pre-Finals) ASIA Mocktest BSIT 505

    44 questions • 4 mo ago
    Xai Alexandrei Delos Reyes

    (Pre-Finals) Advanced Database Systems Mocktest BSIT 505

    (Pre-Finals) Advanced Database Systems Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 72 questions · 4 mo ago

    (Pre-Finals) Advanced Database Systems Mocktest BSIT 505

    (Pre-Finals) Advanced Database Systems Mocktest BSIT 505

    72 questions • 4 mo ago
    Xai Alexandrei Delos Reyes

    (Pre-Finals) Enterprise Architecture Mocktest BSIT 505

    (Pre-Finals) Enterprise Architecture Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 42 questions · 4 mo ago

    (Pre-Finals) Enterprise Architecture Mocktest BSIT 505

    (Pre-Finals) Enterprise Architecture Mocktest BSIT 505

    42 questions • 4 mo ago
    Xai Alexandrei Delos Reyes

    (Pre-Finals) Professional Issues In Information Technolog Mocktest BSIT 505

    (Pre-Finals) Professional Issues In Information Technolog Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 62 questions · 4 mo ago

    (Pre-Finals) Professional Issues In Information Technolog Mocktest BSIT 505

    (Pre-Finals) Professional Issues In Information Technolog Mocktest BSIT 505

    62 questions • 4 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Application Development Mocktest BSIT 505

    (Finals) Application Development Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 62 questions · 3 mo ago

    (Finals) Application Development Mocktest BSIT 505

    (Finals) Application Development Mocktest BSIT 505

    62 questions • 3 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Data and Digital Communication Mocktest BSIT - 505

    (Finals) Data and Digital Communication Mocktest BSIT - 505

    Xai Alexandrei Delos Reyes · 61 questions · 3 mo ago

    (Finals) Data and Digital Communication Mocktest BSIT - 505

    (Finals) Data and Digital Communication Mocktest BSIT - 505

    61 questions • 3 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Advanced Database Systems Mocktest BSIT 505

    (Finals) Advanced Database Systems Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 62 questions · 3 mo ago

    (Finals) Advanced Database Systems Mocktest BSIT 505

    (Finals) Advanced Database Systems Mocktest BSIT 505

    62 questions • 3 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Enterprise Architecture Mocktest BSIT 505

    (Finals) Enterprise Architecture Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 60 questions · 3 mo ago

    (Finals) Enterprise Architecture Mocktest BSIT 505

    (Finals) Enterprise Architecture Mocktest BSIT 505

    60 questions • 3 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Professional issues in Information Technology Mocktest BSIT 505

    (Finals) Professional issues in Information Technology Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 27 questions · 3 mo ago

    (Finals) Professional issues in Information Technology Mocktest BSIT 505

    (Finals) Professional issues in Information Technology Mocktest BSIT 505

    27 questions • 3 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Event-Driven Programming Mocktest BSIT 505

    (Finals) Event-Driven Programming Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 65 questions · 4 mo ago

    (Finals) Event-Driven Programming Mocktest BSIT 505

    (Finals) Event-Driven Programming Mocktest BSIT 505

    65 questions • 4 mo ago
    Xai Alexandrei Delos Reyes

    (Prelims) Mobile Systems and Technologies Mocktest BSIT 604

    (Prelims) Mobile Systems and Technologies Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 41 views · 42 questions · 1 mo ago

    (Prelims) Mobile Systems and Technologies Mocktest BSIT 604

    (Prelims) Mobile Systems and Technologies Mocktest BSIT 604

    41 views • 42 questions • 1 mo ago
    Xai Alexandrei Delos Reyes

    (Prelims) Great Books Mocktest BSIT 604

    (Prelims) Great Books Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 46 views · 75 questions · 1 mo ago

    (Prelims) Great Books Mocktest BSIT 604

    (Prelims) Great Books Mocktest BSIT 604

    46 views • 75 questions • 1 mo ago
    Xai Alexandrei Delos Reyes

    (Prelims) Management Information Systems Mocktest BSIT - 604

    (Prelims) Management Information Systems Mocktest BSIT - 604

    Xai Alexandrei Delos Reyes · 70 views · 94 questions · 1 mo ago

    (Prelims) Management Information Systems Mocktest BSIT - 604

    (Prelims) Management Information Systems Mocktest BSIT - 604

    70 views • 94 questions • 1 mo ago
    Xai Alexandrei Delos Reyes

    (Prelims) Programming Languages Mocktest BSIT 604

    (Prelims) Programming Languages Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 26 views · 79 questions · 1 mo ago

    (Prelims) Programming Languages Mocktest BSIT 604

    (Prelims) Programming Languages Mocktest BSIT 604

    26 views • 79 questions • 1 mo ago
    Xai Alexandrei Delos Reyes

    (Prelims) Web Systems and Technologies Mocktest BSIT 604

    (Prelims) Web Systems and Technologies Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 33 views · 99 questions · 29 d ago

    (Prelims) Web Systems and Technologies Mocktest BSIT 604

    (Prelims) Web Systems and Technologies Mocktest BSIT 604

    33 views • 99 questions • 29 d ago
    Xai Alexandrei Delos Reyes

    (Prelims) Information Assurance and Security Mocktest BSIT 604

    (Prelims) Information Assurance and Security Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 33 views · 92 questions · 28 d ago

    (Prelims) Information Assurance and Security Mocktest BSIT 604

    (Prelims) Information Assurance and Security Mocktest BSIT 604

    33 views • 92 questions • 28 d ago
    Xai Alexandrei Delos Reyes

    (Midterms) Mobile Systems and Technologies Mocktest BSIT 604

    (Midterms) Mobile Systems and Technologies Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 54 questions · 17 d ago

    (Midterms) Mobile Systems and Technologies Mocktest BSIT 604

    (Midterms) Mobile Systems and Technologies Mocktest BSIT 604

    54 questions • 17 d ago
    Xai Alexandrei Delos Reyes

    (Midterm) Great Books Mocktest BSIT 604

    (Midterm) Great Books Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 74 questions · 11 d ago

    (Midterm) Great Books Mocktest BSIT 604

    (Midterm) Great Books Mocktest BSIT 604

    74 questions • 11 d ago
    Xai Alexandrei Delos Reyes

    (Midterms) 04 to 05_Handout Management Information Systems Mocktest BSIT 604

    (Midterms) 04 to 05_Handout Management Information Systems Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 69 questions · 4 d ago

    (Midterms) 04 to 05_Handout Management Information Systems Mocktest BSIT 604

    (Midterms) 04 to 05_Handout Management Information Systems Mocktest BSIT 604

    69 questions • 4 d ago
    Xai Alexandrei Delos Reyes

    (Midterms) 06_Handout Management Information Systems Mocktest BSIT 604

    (Midterms) 06_Handout Management Information Systems Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 36 questions · 4 d ago

    (Midterms) 06_Handout Management Information Systems Mocktest BSIT 604

    (Midterms) 06_Handout Management Information Systems Mocktest BSIT 604

    36 questions • 4 d ago
    Xai Alexandrei Delos Reyes

    (Midterms) Information Assurance and Security Mocktest BSIT 604

    (Midterms) Information Assurance and Security Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 84 questions · 4 d ago

    (Midterms) Information Assurance and Security Mocktest BSIT 604

    (Midterms) Information Assurance and Security Mocktest BSIT 604

    84 questions • 4 d ago
    Xai Alexandrei Delos Reyes

    (Midterms) Web Systems an Technologies Mocktest BSIT 604

    (Midterms) Web Systems an Technologies Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 87 questions · 3 d ago

    (Midterms) Web Systems an Technologies Mocktest BSIT 604

    (Midterms) Web Systems an Technologies Mocktest BSIT 604

    87 questions • 3 d ago
    Xai Alexandrei Delos Reyes

    Question list

  • 1

    Involves reading the source code character from left to right and organizing them into tokens.

    Lexical analysis

  • 2

    Which statement is NOT TRUE about Lexical Analysis?

    It can be individual words or symbols in a sentence, such as keywords, variable names, numbers, and punctuation.

  • 3

    LexicaI Analysis aims to read the input code and break it into meaningful elements called _____?

    Tokens

  • 4

    A lexical analyzer collects characters into logical groupings called ______?

    Lexems

  • 5

    Collects characters into logical groupings and assigns internal codes to the groupings based on their structure. These logical groupings are called lexemes, and the internal codes for categories of these groupings are the tokens.

    Lexical analyzer

  • 6

    Which statement is NOT TRUE on how a Lexical Analyzer works?

    Involves reading the source code character from left to right and organizing them into tokens.

  • 7

    "Involves cleaning up the input text and preparing it for lexical analysis. This covers the removal of comments, whitespaces, and other non-essential characters from the input text." Which lexical analyzer processes is being described?

    Input Preprocessing

  • 8

    "Involves the process of breaking the input text into a sequence of tokens. This is done by matching the characters in the input text against a set of patterns or regular expressions that define the different types of tokens." Which lexical analyzer processes is being described?

    Tokenization

  • 9

    "The analyzer determines the type of each token. For instance, the analyzer might classify the keywords, identifiers, operators, and punctuation symbols as separate token types." Which lexical analyzer processes is being described?

    Token Classification

  • 10

    "The analyzer generates the output of the lexical analysis process, typically a list or sequence of tokens (token stream). The list of tokens can then be passed to the next stage of compilation or interpretation, which will be sent to the parser for syntax analysis." Which lexical analyzer processes is being described?

    Output Generation

  • 11

    This can be individual words or symbols in a sentence, such as keywords, variable names, numbers, and punctuation.

    Tokens

  • 12

    "All the numbers and alphabets are considered hexadecimal alphabets by language." What set in tokens is being described?

    Alphabets

  • 13

    "The collection of different alphabets occurring continuously. Its length is defined by the number of characters or alphabets occurring together." What set in tokens is being described?

    Strings

  • 14

    "Examples include Comma (,), Semicolon(:), +=, -=, *=, /=, etc." What set in tokens is being described?

    Symbols

  • 15

    "Comments, preprocessor directive, macros, blanks, tabs, newlines." What set in tokens is being described?

    Non-tokens

  • 16

    These are the sequence of characters matched by a pattern to form the token or a sequence of input characters that comprises a single token. These are recognized by matching the input character string against character string patterns, while tokens are represented as integer values.

    Lexems

  • 17

    x = 3; y = 4; print(x + y); How many tokens are in this python program?

    15

  • 18

    name = "Leon S. Kennedy"; address = "Racoon City"; print(f"My name is {name}. I live at {address}"); How many tokens are there in this python program?

    14

  • 19

    is the process of analyzing a string of symbols according to the rules of formal grammar.

    Syntax analysis or parsing

  • 20

    Which statement is NOT TRUE about Parsing?

    It involves reading the source code character from left to right and organizing them into tokens.

  • 21

    Which is NOT TRUE about a Syntax Analyzer Process?

    It is the process of applying the rules of Context-Free Grammar to generate a sequence of tokens to form a valid structure.

  • 22

    Syntax analysis uses this to define the syntax rules of a programming language.

    context-free grammar (CFG)

  • 23

    "The tokens are analyzed based on the grammar rules of the programming language. A parse tree or AST is constructed tobrepresent the hierarchical structure of the program." What step in parsing is being described?

    Parsing

  • 24

    "If the input program contains syntax errors, the syntax analyzer detects and flags them to the user, indicating where the error occurred." What step in parsing is being described?

    Error Handling

  • 25

    "The syntax analyzer creates a symbol table, a data structure that stores information about the identifiers used in the program, such as type, scope, and location." What step in parsing is being described?

    Symbol Table Creation

  • 26

    It is the process of applying the rules of Context-Free Grammar to generate a sequence of tokens to form a valid structure. Simply, it is a sequence of production rules to get the input string for the parser.

    Derivation

  • 27

    In derivation, which statement is NOT TRUE about decisions for some sentential form of input during parsing?

    It is called middle-most derivation if the sentential form of an input is scanned and replaced from left to right. Its derived sentential form is called the left-sentential form.

  • 28

    "If the sentential form of an input is scanned and replaced from left to right." Which of the two (2) options in deciding which non-terminal to be replaced with the production rule is being described?

    left-most derivation

  • 29

    "if the input is scanned and replaced with production rules." Which of the two (2) options in deciding which non-terminal to be replaced with the production rule is being described?

    right-most derivation

  • 30

    E → E * E E → E + E * E E → id + E * E E → id + id * E E → id + id * id What derivation is being represented?

    left-most derivation

  • 31

    E → E + E E → E + E * E E → E + E * id E → E + id * id E → id + id * id What derivation is being represented?

    right-most derivation

  • 32

    It is the graphical representation of a derivation.

    Parse Tree

  • 33

    Which statement is NOT TRUE about a Parse Tree?

    It involves reading the source code character from left to right and organizing them into tokens.

  • 34

    If it has more than one parse tree, either left or right derivation, for at least one (1) string

    Ambiguous

  • 35

    When an operand has operators on both sides, the side on which the operator takes this operand is decided by the association of those operators. The operand will be taken by the left operator if the operation is left-associative, and the right operator will take the operand if the operation is right-associative.

    Associativity

  • 36

    It includes Addition, Multiplication, Subtraction, and Division.

    Left-associative operations

  • 37

    Such as exponentiation will have the following evaluation in the same expression as above.

    Right-associative operations

  • 38

    When two (2) different operators share a common operand, the precedence of operators decides which will take the operand

    Precedence

  • 39

    It is when operators are performed before others.

    Hierarchy of priorities

  • 40

    Select all operators IN PROPER PRIORITY ORDER

    ** or Exponentiation Operator, Unary + and –, *, /, //, %, Binary + (Addition) and – (Subtraction)

  • 41

    It is a string of characters used to identify some entity in a program.

    Name

  • 42

    This term can be used interchangeably with “name”.

    Identifier

  • 43

    Which statement is NOT TRUE about Names?

    It is a special word that cannot be used as a name in a programming language.

  • 44

    Which statement is NOT TRUE in naming conventions for various programming languages?

    All variable names in PHP must begin with a hashtag (#) sign

  • 45

    Which BEST DESCRIBES the naming convention of a function in python?

    Use lowercase words. Separate words by underscores to improve readability. This is called a snake case

  • 46

    Which BEST DESCRIBES the naming convention of a variable in python?

    Use a lowercase single letter, word, or words. Separate words with underscores (_) to improve readability.

  • 47

    Which BEST DESCRIBES the naming convention of a Class in python?

    Start each word with a capital letter. Do not separate words with underscores. This is called a Pascal case*.

  • 48

    Which BEST EXEMPLIFIES the naming convention of a Method in python?

    dogclass_bark

  • 49

    Which BEST DESCRIBES the naming convention of a constant in python?

    Use an uppercase single letter, word, or words. Separate words with underscores to improve readability.

  • 50

    Which BEST EXEMPLIFIES the naming convention of a Module in python?

    python_module.py

  • 51

    Which BEST DESCRIBES the naming convention of a Package in python?

    Use a short, lowercase word or words. Do not separate words with underscores.

  • 52

    Which statement is NOT TRUE about Special words

    is an association between an attribute and an entity, such as between a variable and its type or value, or between an operation and a symbol.

  • 53

    These are used to make programs more readable by naming actions to be performed.

    Special Words

  • 54

    It is a special word that cannot be used as a name in a programming language.

    Reserved words

  • 55

    Which is NOT a Reserved word in Python?

    remove

  • 56

    It is an abstraction of a computer memory cell or collection of cells. It can be characterized as a sextuple of attributes including name, address, type, value, lifetime, and scope.

    Variable

  • 57

    "These are used to identify and reference values that can change. They can be made up of letters, numbers, and underscores and should be descriptive and meaningful." Which variable characteristic is being described?

    Variable Names

  • 58

    "It is the unique machine memory address it is associated with. It acts as a numerical identifier that allows the program to access and manipulate the data held by the variable." Which variable characteristic is being described?

    Variable Address

  • 59

    "Determines the range of values the variable can store and the set of operations defined for values of the type. Examples include int, float, and Boolean." Which variable characteristic is being described?

    Variable Type

  • 60

    "The contents of the memory cell or cells associated with the variable. It can also be called its r-value, as it is required when the variable name appears on the right side of an assignment statement." Which variable characteristic is being described?

    Variable Value

  • 61

    "The amount of time it exists and retains its value in memory, depending on how and where it is declared." Which variable characteristic is being described?

    Variable Lifetime

  • 62

    "the part of the program where a variable can be accessed. It is determined by where the variable is declared in the code" Which variable characteristic is being described?

    Variable Scope

  • 63

    It is an association between an attribute and an entity, such as between a variable and its type or value, or between an operation and a symbol.

    Binding

  • 64

    It is the time a binding takes place, for instance, at language design time, language implementation time, compile time, load time, link time, or run time.

    Binding Time

  • 65

    A variable must be bound to a data type before being referenced in a program.

    Type Bindings

  • 66

    It is a statement in a program that lists variable names and specifies their particular type. It directly specifies the data type of the variable when declaring it.

    Explicit declaration

  • 67

    Which BEST EXEMPLIFIES an explicit declaration?

    int num1 = 7

  • 68

    It is a means of associating variables with types through default conventions rather than declaration statements

    Implicit declaration

  • 69

    Which BEST EXEMPLIFIES an Implicit declaration?

    string_num1 = 4.50

  • 70

    Which statement BEST DESCRIBES explicit declaration in python?

    It can still be applied by binding a variable to a value and showing that the variable can later change its type.

  • 71

    Which statement BEST DESCRIBES Implicit declaration in python?

    Python automatically binds the value to the variable and figures out the type behind the scenes.

  • 72

    Which statement BEST DESCRIBES Dynamic type binding in python?

    It happens when the variable type is not specified by a declaration statement, nor can be determined by the spelling of its name.

  • 73

    It is the range of statements wherein the variable is visible. It determines the lifetime and visibility of a variable, meaning where it can be used and modified within the code.

    Scope

  • 74

    These are accessible from anywhere in the program, including inside functions or methods. They are usually defined outside of any function or block of code.

    Global Scope

  • 75

    Variables declared inside a function or block of code are local variables and can only be accessed within that specific function or block. They are not visible outside their defining scope.

    Local Scope

  • 76

    This refers to the scope of a function that encloses another function. If there is a nested function, the outer function's variables are available to the inner function, but not the other way around.

    Enclosing Scope

  • 77

    The built-in scope contains all the functions and variables that are built into Python, like print(), len(), and int(). These are always available to use

    Built-in Scope

  • 78

    What does LEGB Rule Stand for?

    Local, Enclosing, Global, Built-In

  • 79

    "Python follows this rule when looking up variables" What python scope rule is being described?

    LEGB

  • 80

    "If a variable declared in a local scope has the same name as a variable in an outer (enclosing or global) scope, it shadows the outer variable, meaning the local variable takes precedence." What python scope rule is being described?

    Shadowing

  • 81

    "In Python, to modify a global variable inside a function, it must be declared with a global keyword to avoid creating a local variable with the same name." What python scope rule is being described?

    global Keyword