HamroCSIT Logo
HAMRO CSIT
  • Course New
  • Entrance
    • Take Free Test
    • MCQ Questions
    • Colleges
    • Entrance Class
    • Entrance Books
    • Free Entrance Video Course
  • Semester
    • First Semester
    • Second Semester
    • Third Semester
    • Fourth Semester
    • Fifth Semester
    • Sixth Semester
    • Seventh Semester
    • Eight Semester
  • Questions
  • Subscription Automated
  • Notices
  • Articles
  • More
    • Ask Question
    • College Ambassadors
    • Financial Support Program
    • Contribute
    • Contact Us
Login Register
Hamro CSIT User Account
  • Sign In
  • Create Account




Shape | Hamro CSIT Shape | Hamro CSIT Shape | Hamro CSIT Shape | Hamro CSIT

Questions

  • Ask Any Question From TU CSIT Syllabus?
Search
Semester
Subject
Answer
Order
HamroCSIT User
Describe any three types of malicious logic.
Not Answered Cryptography Asked on 2082 Exam
HamroCSIT User
Decrypt the ciphertext “HI” using Hill Cipher where the key is [5/4 3/3].
Not Answered Cryptography Asked on 2082 Exam
HamroCSIT User
Given the key “HELLOWORLD”, encrypt the plaintext “TURINGTEST” using Play fair cipher.
Not Answered Cryptography Asked on 2082 Exam
HamroCSIT User
Distinguish between dynamic programming and memoization. Parenthesize the matrices A(30 × 1), B(1 × 40), C(40 × 10) and D(10 × 15), for computing matrix multiplication using dynamic programming.
Not Answered Design and Analysis of Algorithms
HamroCSIT User
What is order statistics? Write and analyze the algorithm for randomized quick sort.
Not Answered Design and Analysis of Algorithms
HamroCSIT User
How do you define optimal solution? Does greedy algorithm always guarantee optimal solution? Given the string “SUPER_DUPER_CSIT”, use a Greedy algorithm to build a Huffman tree.
Not Answered Compiler Design and Construction
HamroCSIT User
Explain the role of lexical analyzer in compiler design. What is input buffering? Describe the buffer-pair scheme with sentinels and explain why it is efficient.

Design a lexical analyzer using transition diagram that recognizes:

  • Identifiers (letter followed by letters/digits)
  • Integer constants
  • Operators: +, -, *, /, <, <=, >, >=, ==, =
  • Keywords: if, then, else, while

Show the transition diagram and write pseudocode for the nextToken() function.

Not Answered Compiler Design and Construction
HamroCSIT User
Write short notes on:

a) Type checking: Static vs Dynamic type checking with examples
b) Synthesized vs Inherited attributes with expression evaluation example

Not Answered Compiler Design and Construction
HamroCSIT User
Construct the flow graph for the following code and identify all basic blocks:

  1. read x
  2. i = 1
  3. sum = 0
  4. prod = 1
  5. if i > x goto 13
  6. square = i * i
  7. sum = sum + square  
  8. prod = prod * i
  9. i = i + 1
  10. if i <= x goto 6
  11. write sum
  12. write prod
  13. halt

Identify loop invariant code that can be moved out of the loop, if any.

Not Answered Compiler Design and Construction
HamroCSIT User
What is peephole optimization? Explain the following peephole optimization techniques with examples:

  • Redundant load/store elimination
  • Constant folding
  • Strength reduction
  • Use of machine idioms

Apply these optimizations to the following assembly code:

MOV R0, a

MOV b, R0

MOV R0, b

ADD R0, R0, #0

MUL R0, R0, #2

MOV R1, #10

ADD R1, R1, #5

MOV R2, #0

ADD R2, R2, R1

Not Answered Compiler Design and Construction
Page navigation
  • «
  • « First
  • Page 22
  • Page 23
  • Current Page 24
  • Page 25
  • Page 26
  • Last »
  • »
Question's Answer
Solution Video
Solution
Share

Share this link via

Or copy link

logoHAMROCSIT

Hamro CSIT is a comprehensive web and mobile platform that provides B.Sc. CSIT students with resources like notes, syllabi, question banks, solved past papers, practical files, and free entrance preparation materials — all in one place.

  • [email protected]
Semester
  • First Semester
  • Second Semester
  • Third Semester
  • Fourth Semester
  • Fifth Semester
  • Sixth Semester
  • Seventh Semester
  • Eighth Semester
Links
  • About Us
  • FAQs
  • Sitemap
  • Privacy Policy
  • Terms and Conditions
  • College Ambassadors
  • Financial Support Program
Hits Counter
20074544
Google Play App Store
Follow Us

Copyright 2026 | HAMROCSIT | All Right Reserved

Official Payment Partner Esewa Logo
HAMROCSIT.COM

Copyright 2024 | HAMROCSIT.COM | All Right Reserved - Nymna Technology