ログイン

(Midterms) Programming Languages Mocktest BSIT 604

(Midterms) Programming Languages Mocktest BSIT 604
81問 • 3日前
  • Xai Alexandrei Delos Reyes
  • 通報

    問題一覧

  • 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問 · 2年前

    The Contemporary World Mock test (Prelims)

    The Contemporary World Mock test (Prelims)

    58問 • 2年前
    Xai Alexandrei Delos Reyes

    Computing Mock test (Prelims)

    Computing Mock test (Prelims)

    Xai Alexandrei Delos Reyes · 67問 · 2年前

    Computing Mock test (Prelims)

    Computing Mock test (Prelims)

    67問 • 2年前
    Xai Alexandrei Delos Reyes

    Programming Mock Test (Prelims)

    Programming Mock Test (Prelims)

    Xai Alexandrei Delos Reyes · 64問 · 2年前

    Programming Mock Test (Prelims)

    Programming Mock Test (Prelims)

    64問 • 2年前
    Xai Alexandrei Delos Reyes

    Entrepreneurship Mock Test (Prelims)

    Entrepreneurship Mock Test (Prelims)

    Xai Alexandrei Delos Reyes · 23問 · 2年前

    Entrepreneurship Mock Test (Prelims)

    Entrepreneurship Mock Test (Prelims)

    23問 • 2年前
    Xai Alexandrei Delos Reyes

    Computing Mock Test (Midterms) BSIT 107

    Computing Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 76問 · 2年前

    Computing Mock Test (Midterms) BSIT 107

    Computing Mock Test (Midterms) BSIT 107

    76問 • 2年前
    Xai Alexandrei Delos Reyes

    Math Mock Test (Prelims)

    Math Mock Test (Prelims)

    Xai Alexandrei Delos Reyes · 48問 · 2年前

    Math Mock Test (Prelims)

    Math Mock Test (Prelims)

    48問 • 2年前
    Xai Alexandrei Delos Reyes

    Programming Mock Test (Midterms) BSIT 107

    Programming Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 52問 · 2年前

    Programming Mock Test (Midterms) BSIT 107

    Programming Mock Test (Midterms) BSIT 107

    52問 • 2年前
    Xai Alexandrei Delos Reyes

    UTS Mock Test (Midterms) BSIT107

    UTS Mock Test (Midterms) BSIT107

    Xai Alexandrei Delos Reyes · 40問 · 2年前

    UTS Mock Test (Midterms) BSIT107

    UTS Mock Test (Midterms) BSIT107

    40問 • 2年前
    Xai Alexandrei Delos Reyes

    Entrepreneurship Mock Test (Midterms) BSIT 107

    Entrepreneurship Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 38問 · 2年前

    Entrepreneurship Mock Test (Midterms) BSIT 107

    Entrepreneurship Mock Test (Midterms) BSIT 107

    38問 • 2年前
    Xai Alexandrei Delos Reyes

    Contemporary World Mock Test (Midterms) BSIT 107

    Contemporary World Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 28問 · 2年前

    Contemporary World Mock Test (Midterms) BSIT 107

    Contemporary World Mock Test (Midterms) BSIT 107

    28問 • 2年前
    Xai Alexandrei Delos Reyes

    Math Mocktest (Midterms) BSIT 107

    Math Mocktest (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 24問 · 2年前

    Math Mocktest (Midterms) BSIT 107

    Math Mocktest (Midterms) BSIT 107

    24問 • 2年前
    Xai Alexandrei Delos Reyes

    Computer Programming Mocktest (Pre-finals)

    Computer Programming Mocktest (Pre-finals)

    Xai Alexandrei Delos Reyes · 26問 · 2年前

    Computer Programming Mocktest (Pre-finals)

    Computer Programming Mocktest (Pre-finals)

    26問 • 2年前
    Xai Alexandrei Delos Reyes

    Math Mocktest (Pre-Finals)

    Math Mocktest (Pre-Finals)

    Xai Alexandrei Delos Reyes · 19問 · 2年前

    Math Mocktest (Pre-Finals)

    Math Mocktest (Pre-Finals)

    19問 • 2年前
    Xai Alexandrei Delos Reyes

    Computing Mock Test (Pre-finals)

    Computing Mock Test (Pre-finals)

    Xai Alexandrei Delos Reyes · 36問 · 2年前

    Computing Mock Test (Pre-finals)

    Computing Mock Test (Pre-finals)

    36問 • 2年前
    Xai Alexandrei Delos Reyes

    Computing Mock Test Finals

    Computing Mock Test Finals

    Xai Alexandrei Delos Reyes · 26問 · 2年前

    Computing Mock Test Finals

    Computing Mock Test Finals

    26問 • 2年前
    Xai Alexandrei Delos Reyes

    Comprog 2nd sem (prelims) BSIT 205

    Comprog 2nd sem (prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 63問 · 2年前

    Comprog 2nd sem (prelims) BSIT 205

    Comprog 2nd sem (prelims) BSIT 205

    63問 • 2年前
    Xai Alexandrei Delos Reyes

    Discrete Math 2nd sem (prelims) BSIT 205

    Discrete Math 2nd sem (prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 36問 · 2年前

    Discrete Math 2nd sem (prelims) BSIT 205

    Discrete Math 2nd sem (prelims) BSIT 205

    36問 • 2年前
    Xai Alexandrei Delos Reyes

    Art Appreciation (Prelim) BSIT 205

    Art Appreciation (Prelim) BSIT 205

    Xai Alexandrei Delos Reyes · 56問 · 2年前

    Art Appreciation (Prelim) BSIT 205

    Art Appreciation (Prelim) BSIT 205

    56問 • 2年前
    Xai Alexandrei Delos Reyes

    Ethics 2nd sem (Prelims) BSIT 205

    Ethics 2nd sem (Prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 45問 · 2年前

    Ethics 2nd sem (Prelims) BSIT 205

    Ethics 2nd sem (Prelims) BSIT 205

    45問 • 2年前
    Xai Alexandrei Delos Reyes

    STS 2nd Sem (Prelim) BSIT 205

    STS 2nd Sem (Prelim) BSIT 205

    Xai Alexandrei Delos Reyes · 40問 · 2年前

    STS 2nd Sem (Prelim) BSIT 205

    STS 2nd Sem (Prelim) BSIT 205

    40問 • 2年前
    Xai Alexandrei Delos Reyes

    Systems Administration 2nd sem (Prelims) BSIT 205

    Systems Administration 2nd sem (Prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 72問 · 2年前

    Systems Administration 2nd sem (Prelims) BSIT 205

    Systems Administration 2nd sem (Prelims) BSIT 205

    72問 • 2年前
    Xai Alexandrei Delos Reyes

    Discrete Mathematics (Midterms) BSIT 205

    Discrete Mathematics (Midterms) BSIT 205

    Xai Alexandrei Delos Reyes · 52問 · 1年前

    Discrete Mathematics (Midterms) BSIT 205

    Discrete Mathematics (Midterms) BSIT 205

    52問 • 1年前
    Xai Alexandrei Delos Reyes

    Art Appreciation (Midterm) BSIT 205

    Art Appreciation (Midterm) BSIT 205

    Xai Alexandrei Delos Reyes · 56問 · 1年前

    Art Appreciation (Midterm) BSIT 205

    Art Appreciation (Midterm) BSIT 205

    56問 • 1年前
    Xai Alexandrei Delos Reyes

    Ethics Mocktest (Midterms) BSIT205

    Ethics Mocktest (Midterms) BSIT205

    Xai Alexandrei Delos Reyes · 29問 · 1年前

    Ethics Mocktest (Midterms) BSIT205

    Ethics Mocktest (Midterms) BSIT205

    29問 • 1年前
    Xai Alexandrei Delos Reyes

    Comprog Mocktest (Midterm) BSIT 205

    Comprog Mocktest (Midterm) BSIT 205

    Xai Alexandrei Delos Reyes · 61問 · 1年前

    Comprog Mocktest (Midterm) BSIT 205

    Comprog Mocktest (Midterm) BSIT 205

    61問 • 1年前
    Xai Alexandrei Delos Reyes

    System Administration Mocktest (Midterms) BSIT 205

    System Administration Mocktest (Midterms) BSIT 205

    Xai Alexandrei Delos Reyes · 65問 · 1年前

    System Administration Mocktest (Midterms) BSIT 205

    System Administration Mocktest (Midterms) BSIT 205

    65問 • 1年前
    Xai Alexandrei Delos Reyes

    Math Mocktest (Pre-finals) BSIT 205

    Math Mocktest (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 49問 · 1年前

    Math Mocktest (Pre-finals) BSIT 205

    Math Mocktest (Pre-finals) BSIT 205

    49問 • 1年前
    Xai Alexandrei Delos Reyes

    Art Appreciation Mocktest (Pre-finals) BSIT 205

    Art Appreciation Mocktest (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 66問 · 1年前

    Art Appreciation Mocktest (Pre-finals) BSIT 205

    Art Appreciation Mocktest (Pre-finals) BSIT 205

    66問 • 1年前
    Xai Alexandrei Delos Reyes

    Ethics Mocktest (Pre-finals) BSIT 205

    Ethics Mocktest (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 50問 · 1年前

    Ethics Mocktest (Pre-finals) BSIT 205

    Ethics Mocktest (Pre-finals) BSIT 205

    50問 • 1年前
    Xai Alexandrei Delos Reyes

    Computer Programming Mocktest (Pre-finals) BSIT 205

    Computer Programming Mocktest (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 33問 · 1年前

    Computer Programming Mocktest (Pre-finals) BSIT 205

    Computer Programming Mocktest (Pre-finals) BSIT 205

    33問 • 1年前
    Xai Alexandrei Delos Reyes

    System Administration (Pre-finals) BSIT 205

    System Administration (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 52問 · 1年前

    System Administration (Pre-finals) BSIT 205

    System Administration (Pre-finals) BSIT 205

    52問 • 1年前
    Xai Alexandrei Delos Reyes

    Art Appreciation Finals BSIT 205

    Art Appreciation Finals BSIT 205

    Xai Alexandrei Delos Reyes · 35問 · 1年前

    Art Appreciation Finals BSIT 205

    Art Appreciation Finals BSIT 205

    35問 • 1年前
    Xai Alexandrei Delos Reyes

    Data Structures and Algorithms (Mocktest) BSIT 307

    Data Structures and Algorithms (Mocktest) BSIT 307

    Xai Alexandrei Delos Reyes · 52問 · 1年前

    Data Structures and Algorithms (Mocktest) BSIT 307

    Data Structures and Algorithms (Mocktest) BSIT 307

    52問 • 1年前
    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問 · 1年前

    Object Oriented Programming Mock Test (Mocktest) BSIT 307

    Object Oriented Programming Mock Test (Mocktest) BSIT 307

    23問 • 1年前
    Xai Alexandrei Delos Reyes

    Human Computer Interactions Mocktest (Prelims) BSIT 307

    Human Computer Interactions Mocktest (Prelims) BSIT 307

    Xai Alexandrei Delos Reyes · 58問 · 1年前

    Human Computer Interactions Mocktest (Prelims) BSIT 307

    Human Computer Interactions Mocktest (Prelims) BSIT 307

    58問 • 1年前
    Xai Alexandrei Delos Reyes

    Principles of Communication Mocktest (Prelims) BSIT 307

    Principles of Communication Mocktest (Prelims) BSIT 307

    Xai Alexandrei Delos Reyes · 37問 · 1年前

    Principles of Communication Mocktest (Prelims) BSIT 307

    Principles of Communication Mocktest (Prelims) BSIT 307

    37問 • 1年前
    Xai Alexandrei Delos Reyes

    Principles of Communication Mocktest (Midterms) BSIT 307

    Principles of Communication Mocktest (Midterms) BSIT 307

    Xai Alexandrei Delos Reyes · 29問 · 1年前

    Principles of Communication Mocktest (Midterms) BSIT 307

    Principles of Communication Mocktest (Midterms) BSIT 307

    29問 • 1年前
    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問 · 1年前

    Data Structures and Algorithms Mocktest (Midterm) BSIT 307

    Data Structures and Algorithms Mocktest (Midterm) BSIT 307

    50問 • 1年前
    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問 · 1年前

    Object Oriented Programming Mock Test (Midterm) BSIT 307

    Object Oriented Programming Mock Test (Midterm) BSIT 307

    13問 • 1年前
    Xai Alexandrei Delos Reyes

    Human Computer Interactions Mocktest (Midterms) BSIT 307

    Human Computer Interactions Mocktest (Midterms) BSIT 307

    Xai Alexandrei Delos Reyes · 35問 · 1年前

    Human Computer Interactions Mocktest (Midterms) BSIT 307

    Human Computer Interactions Mocktest (Midterms) BSIT 307

    35問 • 1年前
    Xai Alexandrei Delos Reyes

    Readings In Philippine History (Midterms) Mocktest

    Readings In Philippine History (Midterms) Mocktest

    Xai Alexandrei Delos Reyes · 16問 · 1年前

    Readings In Philippine History (Midterms) Mocktest

    Readings In Philippine History (Midterms) Mocktest

    16問 • 1年前
    Xai Alexandrei Delos Reyes

    Discrete Structures and Algorithms (Midterms) Mocktest

    Discrete Structures and Algorithms (Midterms) Mocktest

    Xai Alexandrei Delos Reyes · 10問 · 1年前

    Discrete Structures and Algorithms (Midterms) Mocktest

    Discrete Structures and Algorithms (Midterms) Mocktest

    10問 • 1年前
    Xai Alexandrei Delos Reyes

    Principles of Communication (Midterm) Mocktest

    Principles of Communication (Midterm) Mocktest

    Xai Alexandrei Delos Reyes · 29問 · 1年前

    Principles of Communication (Midterm) Mocktest

    Principles of Communication (Midterm) Mocktest

    29問 • 1年前
    Xai Alexandrei Delos Reyes

    TECHNOPRENEURSHIP PRELIMS BSIT 402

    TECHNOPRENEURSHIP PRELIMS BSIT 402

    Xai Alexandrei Delos Reyes · 74問 · 1年前

    TECHNOPRENEURSHIP PRELIMS BSIT 402

    TECHNOPRENEURSHIP PRELIMS BSIT 402

    74問 • 1年前
    Xai Alexandrei Delos Reyes

    (Prelim) PH Popular Culture Mocktest BSIT 402

    (Prelim) PH Popular Culture Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 19問 · 1年前

    (Prelim) PH Popular Culture Mocktest BSIT 402

    (Prelim) PH Popular Culture Mocktest BSIT 402

    19問 • 1年前
    Xai Alexandrei Delos Reyes

    (Prelim) Integrative Programming BSIT 402

    (Prelim) Integrative Programming BSIT 402

    Xai Alexandrei Delos Reyes · 46問 · 1年前

    (Prelim) Integrative Programming BSIT 402

    (Prelim) Integrative Programming BSIT 402

    46問 • 1年前
    Xai Alexandrei Delos Reyes

    (Prelim) Quantitive Methods Mocktest BSIT 402

    (Prelim) Quantitive Methods Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 39問 · 1年前

    (Prelim) Quantitive Methods Mocktest BSIT 402

    (Prelim) Quantitive Methods Mocktest BSIT 402

    39問 • 1年前
    Xai Alexandrei Delos Reyes

    (Prelim) System Integration and Architecture BSIT 402

    (Prelim) System Integration and Architecture BSIT 402

    Xai Alexandrei Delos Reyes · 29問 · 1年前

    (Prelim) System Integration and Architecture BSIT 402

    (Prelim) System Integration and Architecture BSIT 402

    29問 • 1年前
    Xai Alexandrei Delos Reyes

    (Prelim) Network Technology Mocktest BSIT 402

    (Prelim) Network Technology Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 68問 · 1年前

    (Prelim) Network Technology Mocktest BSIT 402

    (Prelim) Network Technology Mocktest BSIT 402

    68問 • 1年前
    Xai Alexandrei Delos Reyes

    (Prelim) Information Management Mocktest BSIT 402

    (Prelim) Information Management Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 45問 · 1年前

    (Prelim) Information Management Mocktest BSIT 402

    (Prelim) Information Management Mocktest BSIT 402

    45問 • 1年前
    Xai Alexandrei Delos Reyes

    (Pre-Finals) Quantitative Research Mocktest BSIT 402

    (Pre-Finals) Quantitative Research Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 28問 · 10ヶ月前

    (Pre-Finals) Quantitative Research Mocktest BSIT 402

    (Pre-Finals) Quantitative Research Mocktest BSIT 402

    28問 • 10ヶ月前
    Xai Alexandrei Delos Reyes

    (Finals) Information Management Mocktest

    (Finals) Information Management Mocktest

    Xai Alexandrei Delos Reyes · 64問 · 9ヶ月前

    (Finals) Information Management Mocktest

    (Finals) Information Management Mocktest

    64問 • 9ヶ月前
    Xai Alexandrei Delos Reyes

    (Finals) Philippine Popular Culture Mocktest

    (Finals) Philippine Popular Culture Mocktest

    Xai Alexandrei Delos Reyes · 46問 · 9ヶ月前

    (Finals) Philippine Popular Culture Mocktest

    (Finals) Philippine Popular Culture Mocktest

    46問 • 9ヶ月前
    Xai Alexandrei Delos Reyes

    (Finals) Integrative Programming Mocktest BSIT 402

    (Finals) Integrative Programming Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 24問 · 9ヶ月前

    (Finals) Integrative Programming Mocktest BSIT 402

    (Finals) Integrative Programming Mocktest BSIT 402

    24問 • 9ヶ月前
    Xai Alexandrei Delos Reyes

    (Finals) Network Technology Mocktest BSIT 402

    (Finals) Network Technology Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 37問 · 9ヶ月前

    (Finals) Network Technology Mocktest BSIT 402

    (Finals) Network Technology Mocktest BSIT 402

    37問 • 9ヶ月前
    Xai Alexandrei Delos Reyes

    (Finals) Quantitative Methods Mocktest BSIT 402

    (Finals) Quantitative Methods Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 18問 · 9ヶ月前

    (Finals) Quantitative Methods Mocktest BSIT 402

    (Finals) Quantitative Methods Mocktest BSIT 402

    18問 • 9ヶ月前
    Xai Alexandrei Delos Reyes

    Application Development Mocktest (Prelim) BSIT 505

    Application Development Mocktest (Prelim) BSIT 505

    Xai Alexandrei Delos Reyes · 72問 · 6ヶ月前

    Application Development Mocktest (Prelim) BSIT 505

    Application Development Mocktest (Prelim) BSIT 505

    72問 • 6ヶ月前
    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問 · 6ヶ月前

    Data and Digital Communication Mocktest (Prelim) BSIT 505

    Data and Digital Communication Mocktest (Prelim) BSIT 505

    60問 • 6ヶ月前
    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問 · 6ヶ月前

    (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問 • 6ヶ月前
    Xai Alexandrei Delos Reyes

    Enterprise Architecture Mocktest (Prelims) BSIT 505

    Enterprise Architecture Mocktest (Prelims) BSIT 505

    Xai Alexandrei Delos Reyes · 42問 · 6ヶ月前

    Enterprise Architecture Mocktest (Prelims) BSIT 505

    Enterprise Architecture Mocktest (Prelims) BSIT 505

    42問 • 6ヶ月前
    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問 · 6ヶ月前

    Professional Issues in Information Technology Mocktest (Prelims) BSIT 505

    Professional Issues in Information Technology Mocktest (Prelims) BSIT 505

    44問 • 6ヶ月前
    Xai Alexandrei Delos Reyes

    Application Development Mocktest (Midterm) BSIT 505

    Application Development Mocktest (Midterm) BSIT 505

    Xai Alexandrei Delos Reyes · 42問 · 6ヶ月前

    Application Development Mocktest (Midterm) BSIT 505

    Application Development Mocktest (Midterm) BSIT 505

    42問 • 6ヶ月前
    Xai Alexandrei Delos Reyes

    Event-Driven Programming Mocktest (Midterm) BSIT - 505

    Event-Driven Programming Mocktest (Midterm) BSIT - 505

    Xai Alexandrei Delos Reyes · 61問 · 6ヶ月前

    Event-Driven Programming Mocktest (Midterm) BSIT - 505

    Event-Driven Programming Mocktest (Midterm) BSIT - 505

    61問 • 6ヶ月前
    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問 · 6ヶ月前

    Data and Digital Communication Mocktest (Midterm) BSIT - 505

    Data and Digital Communication Mocktest (Midterm) BSIT - 505

    80問 • 6ヶ月前
    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問 · 5ヶ月前

    (Midterm) Advanced Systems and Integration Architecture BSIT - 505

    (Midterm) Advanced Systems and Integration Architecture BSIT - 505

    68問 • 5ヶ月前
    Xai Alexandrei Delos Reyes

    (Midterm) Advanced Database Systems Mocktest BSIT - 505

    (Midterm) Advanced Database Systems Mocktest BSIT - 505

    Xai Alexandrei Delos Reyes · 82問 · 5ヶ月前

    (Midterm) Advanced Database Systems Mocktest BSIT - 505

    (Midterm) Advanced Database Systems Mocktest BSIT - 505

    82問 • 5ヶ月前
    Xai Alexandrei Delos Reyes

    (Midterms) Enterprise Architecture Mocktest BSIT 505

    (Midterms) Enterprise Architecture Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 69問 · 5ヶ月前

    (Midterms) Enterprise Architecture Mocktest BSIT 505

    (Midterms) Enterprise Architecture Mocktest BSIT 505

    69問 • 5ヶ月前
    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問 · 5ヶ月前

    (Midterm) Professional Issues in Information Technology BSIT 505

    (Midterm) Professional Issues in Information Technology BSIT 505

    38問 • 5ヶ月前
    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問 · 4ヶ月前

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

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

    59問 • 4ヶ月前
    Xai Alexandrei Delos Reyes

    (Pre-finals) Application Development Mocktest BSIT 505

    (Pre-finals) Application Development Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 41問 · 4ヶ月前

    (Pre-finals) Application Development Mocktest BSIT 505

    (Pre-finals) Application Development Mocktest BSIT 505

    41問 • 4ヶ月前
    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問 · 4ヶ月前

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

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

    57問 • 4ヶ月前
    Xai Alexandrei Delos Reyes

    (Pre-Finals) ASIA Mocktest BSIT 505

    (Pre-Finals) ASIA Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 44問 · 4ヶ月前

    (Pre-Finals) ASIA Mocktest BSIT 505

    (Pre-Finals) ASIA Mocktest BSIT 505

    44問 • 4ヶ月前
    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問 · 4ヶ月前

    (Pre-Finals) Advanced Database Systems Mocktest BSIT 505

    (Pre-Finals) Advanced Database Systems Mocktest BSIT 505

    72問 • 4ヶ月前
    Xai Alexandrei Delos Reyes

    (Pre-Finals) Enterprise Architecture Mocktest BSIT 505

    (Pre-Finals) Enterprise Architecture Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 42問 · 4ヶ月前

    (Pre-Finals) Enterprise Architecture Mocktest BSIT 505

    (Pre-Finals) Enterprise Architecture Mocktest BSIT 505

    42問 • 4ヶ月前
    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問 · 4ヶ月前

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

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

    62問 • 4ヶ月前
    Xai Alexandrei Delos Reyes

    (Finals) Application Development Mocktest BSIT 505

    (Finals) Application Development Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 62問 · 3ヶ月前

    (Finals) Application Development Mocktest BSIT 505

    (Finals) Application Development Mocktest BSIT 505

    62問 • 3ヶ月前
    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問 · 3ヶ月前

    (Finals) Data and Digital Communication Mocktest BSIT - 505

    (Finals) Data and Digital Communication Mocktest BSIT - 505

    61問 • 3ヶ月前
    Xai Alexandrei Delos Reyes

    (Finals) Advanced Database Systems Mocktest BSIT 505

    (Finals) Advanced Database Systems Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 62問 · 3ヶ月前

    (Finals) Advanced Database Systems Mocktest BSIT 505

    (Finals) Advanced Database Systems Mocktest BSIT 505

    62問 • 3ヶ月前
    Xai Alexandrei Delos Reyes

    (Finals) Enterprise Architecture Mocktest BSIT 505

    (Finals) Enterprise Architecture Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 60問 · 3ヶ月前

    (Finals) Enterprise Architecture Mocktest BSIT 505

    (Finals) Enterprise Architecture Mocktest BSIT 505

    60問 • 3ヶ月前
    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問 · 3ヶ月前

    (Finals) Professional issues in Information Technology Mocktest BSIT 505

    (Finals) Professional issues in Information Technology Mocktest BSIT 505

    27問 • 3ヶ月前
    Xai Alexandrei Delos Reyes

    (Finals) Event-Driven Programming Mocktest BSIT 505

    (Finals) Event-Driven Programming Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 65問 · 4ヶ月前

    (Finals) Event-Driven Programming Mocktest BSIT 505

    (Finals) Event-Driven Programming Mocktest BSIT 505

    65問 • 4ヶ月前
    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回閲覧 · 42問 · 1ヶ月前

    (Prelims) Mobile Systems and Technologies Mocktest BSIT 604

    (Prelims) Mobile Systems and Technologies Mocktest BSIT 604

    41回閲覧 • 42問 • 1ヶ月前
    Xai Alexandrei Delos Reyes

    (Prelims) Great Books Mocktest BSIT 604

    (Prelims) Great Books Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 46回閲覧 · 75問 · 1ヶ月前

    (Prelims) Great Books Mocktest BSIT 604

    (Prelims) Great Books Mocktest BSIT 604

    46回閲覧 • 75問 • 1ヶ月前
    Xai Alexandrei Delos Reyes

    (Prelims) Management Information Systems Mocktest BSIT - 604

    (Prelims) Management Information Systems Mocktest BSIT - 604

    Xai Alexandrei Delos Reyes · 70回閲覧 · 94問 · 1ヶ月前

    (Prelims) Management Information Systems Mocktest BSIT - 604

    (Prelims) Management Information Systems Mocktest BSIT - 604

    70回閲覧 • 94問 • 1ヶ月前
    Xai Alexandrei Delos Reyes

    (Prelims) Programming Languages Mocktest BSIT 604

    (Prelims) Programming Languages Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 26回閲覧 · 79問 · 1ヶ月前

    (Prelims) Programming Languages Mocktest BSIT 604

    (Prelims) Programming Languages Mocktest BSIT 604

    26回閲覧 • 79問 • 1ヶ月前
    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回閲覧 · 99問 · 29日前

    (Prelims) Web Systems and Technologies Mocktest BSIT 604

    (Prelims) Web Systems and Technologies Mocktest BSIT 604

    33回閲覧 • 99問 • 29日前
    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回閲覧 · 92問 · 28日前

    (Prelims) Information Assurance and Security Mocktest BSIT 604

    (Prelims) Information Assurance and Security Mocktest BSIT 604

    33回閲覧 • 92問 • 28日前
    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問 · 17日前

    (Midterms) Mobile Systems and Technologies Mocktest BSIT 604

    (Midterms) Mobile Systems and Technologies Mocktest BSIT 604

    54問 • 17日前
    Xai Alexandrei Delos Reyes

    (Midterm) Great Books Mocktest BSIT 604

    (Midterm) Great Books Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 74問 · 11日前

    (Midterm) Great Books Mocktest BSIT 604

    (Midterm) Great Books Mocktest BSIT 604

    74問 • 11日前
    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問 · 4日前

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

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

    69問 • 4日前
    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問 · 4日前

    (Midterms) 06_Handout Management Information Systems Mocktest BSIT 604

    (Midterms) 06_Handout Management Information Systems Mocktest BSIT 604

    36問 • 4日前
    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問 · 4日前

    (Midterms) Information Assurance and Security Mocktest BSIT 604

    (Midterms) Information Assurance and Security Mocktest BSIT 604

    84問 • 4日前
    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問 · 3日前

    (Midterms) Web Systems an Technologies Mocktest BSIT 604

    (Midterms) Web Systems an Technologies Mocktest BSIT 604

    87問 • 3日前
    Xai Alexandrei Delos Reyes

    問題一覧

  • 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