Notes, summaries, assignments, exams, and problems for Other courses

Sort by
Subject
Level

Core Concepts in Compiler Design and Language Runtime

Classified in Computers

Written on in English with a size of 10.45 KB

Core Concepts in Compiler Design

Compiler

Compiler: Translates entire source code to target code before execution. It requires a full parse and upfront error checking, then executes the generated target code.

Interpreter

Interpreter: Executes source code incrementally (line-by-line or statement-by-statement). It translates and executes on the fly, and may partially execute ill-formed programs until an error is encountered.

LVar vs. x86 Architecture

LVar: Features nested expressions, implicit control flow (represented by an Abstract Syntax Tree - AST), and an unlimited number of logical variables.

x86: Characterized by flat instructions, atomic operands (registers/memory), explicit control flow (jumps), and a limited set of registers. Compilation passes... Continue reading "Core Concepts in Compiler Design and Language Runtime" »

BPSK and QPSK Modulation Techniques with Python

Classified in Computers

Written on in English with a size of 4.97 KB

BPSK Signal Generation

This section demonstrates the generation of a Binary Phase Shift Keying (BPSK) signal using Python.

import numpy as np
import matplotlib.pyplot as plt

def bpsk_detect(modulated_signal, carrier):
    return np.sign(modulated_signal * carrier)

message_frequency = 10
carrier_frequency = 20
sampling_frequency = 30 * carrier_frequency
t = np.arange(0, 4/carrier_frequency, 1/sampling_frequency)
message = np.sign(np.cos(2 * np.pi * message_frequency * t) + np.random.normal(scale = 0.01, size = len(t)))
carrier = np.cos(2 * np.pi * sampling_frequency/carrier_frequency * t)
modulated_signal = carrier * message
detected_message = bpsk_detect(modulated_signal, carrier)

plt.figure(figsize=(12, 8))
plt.subplot(4, 1, 1)
plt.plot(t,
... Continue reading "BPSK and QPSK Modulation Techniques with Python" »

Common Benign Oral Pathologies and Their Features

Classified in Biology

Written on in English with a size of 9.96 KB

Common Oral Benign Lesions and Tumors

6. Peripheral Giant Cell Granuloma (PGCG)

Reactive lesion.

Key Features:

  • Prevalence: More common in females and older individuals.
  • Site: Exclusively on the gingiva or alveolar mucosa.
  • Etiology: Local irritation or trauma.

Clinical Characteristics:

  • Color: Dark red.
  • Surface: Often hemorrhagic and may be ulcerated.
  • Appearance: Sessile or pedunculated mass.

Radiographic Features (X-ray):

  • May show superficial bone resorption, sometimes described as "saucerization" or a "cupping effect".
  • Can appear as an ill-defined radiolucent (RL) area if bone is involved.

Histopathology:

Characterized by three zones:

  1. Zone of Hyperplastic Stratified Squamous Epithelium: Often shows acanthosis and hyperkeratosis.
  2. Giant Cell-Free Zone: A band
... Continue reading "Common Benign Oral Pathologies and Their Features" »

Indifference Curves and Consumer Preferences in Economics

Classified in Economy

Written on in English with a size of 3.42 KB

Representation of Preferences by Indifference Curves

An indifference curve shows the consumption baskets that yield the same level of satisfaction to the consumer. The consumer is indifferent between various combinations within the indifference curve. The slope at any point on an indifference curve is equal to the rate at which consumers are willing to substitute one good for another. This relationship is called the marginal rate of substitution (MRS). The rate at which a consumer is willing to trade Pepsi for pizza depends on who has more hunger or thirst, which depends in turn on how much pizza and Pepsi they have.

As a consumer prefers a larger quantity of goods, they prefer higher indifference curves to lower ones.

Four Properties of Indifference

... Continue reading "Indifference Curves and Consumer Preferences in Economics" »

Statistical Relationships: Scatter, Correlation, Regression

Posted by Anonymous and classified in Mathematics

Written on in English with a size of 127.86 KB

What is a Scatter Diagram?

Definition

A scatter diagram (or scatter plot) is a graphical representation of two variables where each point represents an observation consisting of paired values from two datasets. The horizontal axis (X-axis) represents one variable, and the vertical axis (Y-axis) represents the other.

Construction

Each point (x_i, y_i) is plotted on the graph for the corresponding values of the two variables.

Utility in Correlation Analysis

Scatter diagrams are essential for:

  • Visualizing relationships: Helps identify if a linear or non-linear relationship exists.
  • Direction of correlation:
    • Positive correlation: As X increases, Y increases (points slope upwards).
    • Negative correlation: As X increases, Y decreases (points slope downwards).
... Continue reading "Statistical Relationships: Scatter, Correlation, Regression" »

Essential English Sentences for Daily Communication

Classified in English

Written on in English with a size of 1.25 KB

This collection presents a variety of common English sentences, perfect for language learners and those looking to improve their everyday communication skills. Each sentence demonstrates practical usage in different contexts.

Diverse English Sentence Examples

  1. The documents will be posted to you on Monday morning.

  2. If I hadn’t broken my leg last week, I would be in the dance competition tonight.

  3. I haven’t had a puncture for two years.

  4. Tom asked who had been using his computer.

  5. The dress Mark’s wife was wearing last night was beautiful.

  6. My secretary might know his address.

  7. Her parents told Lydia to get her coat.

  8. His parents got angry with him because he hadn’t behaved himself.

  9. Ann was tired and needed a rest because she had been working all day.

... Continue reading "Essential English Sentences for Daily Communication" »

Advanced 3D Design for Architectural Visualization

Classified in Electronics

Written on in English with a size of 2.6 KB

Study Aim

This report investigates the effectiveness of cutting-edge 3D digital design methodologies in generating photorealistic architectural visualizations. It emphasizes the modeling of complex facades and explores the integration of virtual reality (VR) as a means to enhance user engagement and design comprehension.

Background

In contemporary architecture, 3D digital design plays a crucial role in improving geometric precision, material realism, and lighting simulation. Recent advancements in both software capabilities and hardware performance have enabled the creation of highly realistic visual representations. Previous research highlights the benefits of parametric modeling for intricate design development (Jones et al., 2020), the efficiency... Continue reading "Advanced 3D Design for Architectural Visualization" »

Formal Complaint Letters: Addressing Service & Product Issues

Classified in English

Written on in English with a size of 5.04 KB

Hotel Stay Dissatisfaction: Room & Service Issues

To whom it may concern,

I am writing to express my strong dissatisfaction regarding my stay at your hotel last weekend. I had specifically booked a room with a sea view, but was instead assigned a room with no view whatsoever. Furthermore, the room was noticeably dirty; there was visible dust on the floor and hair in the bathroom. The air conditioning also functioned poorly, making the room very hot and significantly hindering my ability to sleep.

I reported these issues to the receptionist, but unfortunately, no assistance was provided, nor was an alternative room offered. Given the significant amount I paid for this room, I expected a much higher standard of service. I am extremely unhappy... Continue reading "Formal Complaint Letters: Addressing Service & Product Issues" »

Effective Club Communication: Member Feedback & Engagement

Classified in Greek

Written on in English with a size of 3.75 KB

Understanding Club Communication & Feedback

We've all been there: receiving an email from a club or organization that sparks an immediate reaction. This document explores different ways members might react and how to effectively communicate feedback, from initial thoughts to formal correspondence.

Immediate Member Reactions to Club News

Sometimes, the first reaction to club news can be a mix of emotions, even contradictory ones. Here's an example of an immediate, unfiltered response:

"I just received an email from the club. I can’t believe it! I just signed up, and I thought it was formal. If I had known, I would have chosen a different club. I don't understand why they didn't tell us earlier!"

"On the other hand, I’m so excited! I just

... Continue reading "Effective Club Communication: Member Feedback & Engagement" »

Unforgettable Journeys: Nuremberg History & Ronda Views

Classified in English

Written on in English with a size of 2.33 KB

Memorable Trip to Nuremberg, Germany

Last summer, my boyfriend and I traveled to Germany with another couple. We visited Nuremberg, a beautiful city with a lot of history. We were very excited because it was our first time in Germany.

First Impressions and Nuremberg Castle

When we arrived, the weather was nice, and the sun was shining. We walked around the old town and saw the famous Nuremberg Castle. It was amazing! While exploring the castle, our friends took lots of pictures. My boyfriend and I discussed how impressive the architecture was.

Local Flavors and Market Square

In the afternoon, we were hungry, so we went to a traditional German restaurant. We ate sausages and drank beer while chatting and laughing. The food was delicious! After lunch,... Continue reading "Unforgettable Journeys: Nuremberg History & Ronda Views" »