Podcast
Questions and Answers
What cells secrete gastrin?
What cells secrete gastrin?
Cells G of the stomach
What is one action of gastrin?
What is one action of gastrin?
Secretion of gastric H+
What stimulates the secretion of secretin?
What stimulates the secretion of secretin?
H+ in the duodenum
Name one family of hormones related to gastrin.
Name one family of hormones related to gastrin.
What stimulates CCK secretion?
What stimulates CCK secretion?
What cells secrete secretin?
What cells secrete secretin?
What is GIP dependent on?
What is GIP dependent on?
What is the main action of CCK?
What is the main action of CCK?
What is one function of gastrointestinal regulating substances?
What is one function of gastrointestinal regulating substances?
Besides hormones, how else are gastrointestinal peptides classified?
Besides hormones, how else are gastrointestinal peptides classified?
What is the action of secretin on gastric acid?
What is the action of secretin on gastric acid?
What are paracrine substances secreted by?
What are paracrine substances secreted by?
What can gastrin stimulate in the stomach?
What can gastrin stimulate in the stomach?
What is the stimulus for secretin secretion in the duodenum?
What is the stimulus for secretin secretion in the duodenum?
What is one action of secretin on bicarbonate?
What is one action of secretin on bicarbonate?
What hormone is also part of the secretin-glucagon family?
What hormone is also part of the secretin-glucagon family?
What does GRP stand for?
What does GRP stand for?
What is secreted by endocrine cells?
What is secreted by endocrine cells?
What can gastrin promote the secretion of?
What can gastrin promote the secretion of?
What action does CCK have on the gallbladder?
What action does CCK have on the gallbladder?
Flashcards
Enteroendocrine cells
Enteroendocrine cells
Cells specialized in secreting hormones of the gastrointestinal tract, acting as signaling molecules.
Gastrointestinal peptides
Gastrointestinal peptides
Hormones or substances released from an endocrine cell or neuron that act on a target cell.
Gastrin
Gastrin
Hormone that promotes secretion of hydrochloric acid (H+) by parietal cells in the stomach.
Gastrin's Secretion Location
Gastrin's Secretion Location
Signup and view all the flashcards
Gastrin's Secretion Stimulus
Gastrin's Secretion Stimulus
Signup and view all the flashcards
Gastrin's effect
Gastrin's effect
Signup and view all the flashcards
Secretin
Secretin
Signup and view all the flashcards
Secretin's Secretion Stimulus
Secretin's Secretion Stimulus
Signup and view all the flashcards
Secretin's action
Secretin's action
Signup and view all the flashcards
Cholecystokinin (CCK)
Cholecystokinin (CCK)
Signup and view all the flashcards
Cholecystokinin (CCK)'s Secretion Stimulus
Cholecystokinin (CCK)'s Secretion Stimulus
Signup and view all the flashcards
Cholecystokinin (CCK)'s Action
Cholecystokinin (CCK)'s Action
Signup and view all the flashcards
GIP (Gastric Inhibitory Peptide)
GIP (Gastric Inhibitory Peptide)
Signup and view all the flashcards
GIP (Gastric Inhibitory Peptide)'s Secretion Stimulus
GIP (Gastric Inhibitory Peptide)'s Secretion Stimulus
Signup and view all the flashcards
Gastrointestinal Hormones
Gastrointestinal Hormones
Signup and view all the flashcards
Paracrine Substances
Paracrine Substances
Signup and view all the flashcards
Neurocrine Substances
Neurocrine Substances
Signup and view all the flashcards
Regulatory Functions of GI Peptides
Regulatory Functions of GI Peptides
Signup and view all the flashcards
Study Notes
Propositional Logic: Proofs - Review
- Propositional formulas are built from variables $p, q, r, \dots$ and constants $T$ and $F$.
- The connectives used are $\land, \lor, \neg, \rightarrow, \leftrightarrow$.
- Meaning is assigned via a truth assignment $\mathcal{A}$, mapping each propositional variable to a truth value ($\mathbf{T}$ or $\mathbf{F}$).
- Formula truth values are recursively determined by subformula values and connective truth tables.
- $\Gamma$ entails $\varphi$ ($\Gamma \vDash \varphi$) if, for every truth assignment $\mathcal{A}$, if $\mathcal{A} \vDash \psi$ for every $\psi \in \Gamma$, then $\mathcal{A} \vDash \varphi$.
- Two formulas $\varphi$ and $\psi$ are equivalent ($\varphi \equiv \psi$) if $\varphi \vDash \psi$ and $\psi \vDash \varphi$.
Proofs
- A proof establishes entailment algorithmically.
- A proof system includes axioms (assumed true) and inference rules (derive new formulas).
- A proof is a sequence of formulas, each an axiom or derived via an inference rule.
- The notation $\Gamma \vdash \varphi$ means there is a proof of $\varphi$ from $\Gamma$.
Natural Deduction - Inference Rules
Conjunction
- Introduction: $\frac{\varphi \quad \psi}{\varphi \land \psi} \land i$
- Elimination:
- $\frac{\varphi \land \psi}{\varphi} \land e_{1}$
- $\frac{\varphi \land \psi}{\psi} \land e_{2}$
Disjunction
- Introduction:
- $\frac{\varphi}{\varphi \lor \psi} \lor i_{1}$
- $\frac{\psi}{\varphi \lor \psi} \lor i_{2}$
- Elimination:
- $\begin{array}{ccc} & [\varphi] & [\psi] \ \varphi \lor \psi & \vdots & \vdots \ & \chi & \chi \ \hline \chi \end{array} \lor e$
Negation
- Introduction:
- $\begin{array}{c} [\varphi] \ \vdots \ \frac{\bot}{\neg \varphi} \end{array} \neg i$
- Elimination:
- $\frac{\varphi \quad \neg \varphi}{\bot} \neg e$
Implication
- Introduction:
- $\begin{array}{c} [\varphi] \ \vdots \ \frac{\psi}{\varphi \rightarrow \psi} \end{array} \rightarrow i$
- Elimination:
- $\frac{\varphi \quad \varphi \rightarrow \psi}{\psi} \rightarrow e \text{ (Modus Ponens)}$
Falsity
- Elimination:
- $\frac{\bot}{\varphi} \bot e$
Double Negation
- Introduction:
- $\frac{\varphi}{\neg \neg \varphi} \neg \neg i$
- Elimination:
- $\frac{\neg \neg \varphi}{\varphi} \neg \neg e$
Example Proof - $(p \land q) \rightarrow (q \land p)$
- $p \land q$ Assumption
- $p \qquad \land e_{1} 1$
- $q \qquad \land e_{2} 1$
- $q \land p \qquad \land i 3, 2$
- $(p \land q) \rightarrow (q \land p) \qquad \rightarrow i 1-4$
- $\land e_{1} 1$ applies the rule $\land e_{1}$ to line 1.
- $\rightarrow i 1-4$ applies the rule $\rightarrow i$ to the subproof from line 1 to line 4.
Soundness and Completeness
- A proof system is sound if $\Gamma \vdash \varphi$ implies $\Gamma \vDash \varphi$.
- A proof system is complete if $\Gamma \vDash \varphi$ implies $\Gamma \vdash \varphi$.
- Natural deduction is both sound and complete for propositional logic.
Data Structures and Algorithms – Assignment 2
Instructions
- Submit a zip file including:
- A PDF document with answers to all questions, including time complexity analysis.
- A folder with code for exercise 3 and a README file with instructions on how to run the code.
- Discussing with other students is allowed, but writing your own code and answers is a must.
- Deadline: November 15, 2023 at 23:59.
Questions
- Briefly describe:
- Data structure
- Abstract data type
- Algorithm
- Time complexity
- Asymptotic analysis
- Answer the following:
- What is the difference between an array and a linked list?
- What is the difference between a stack and a queue?
- What is the difference between a binary tree and a binary search tree?
- What is the difference between Dijkstra’s algorithm and Bellman-Ford algorithm?
- What is the difference between a depth-first search (DFS) and a breadth-first search (BFS)?
- Implement the following in Python:
- Given a graph $G = (V, E)$, implement the depth-first search (DFS) algorithm to find all connected components in the graph.
- Given a graph $G = (V, E)$, implement Dijkstra’s algorithm to find the shortest path from a source vertex to all other vertices in the graph.
- Given a graph $G = (V, E)$, implement the Floyd-Warshall algorithm to find the shortest path between all pairs of vertices in the graph. The implementation should be able to detect negative cycles.
- Give a brief explanation of the algorithm and its time complexity for each implementation.
- Provide a simple interface (command line) for the user to input the graph and the source vertex (for Dijkstra’s algorithm).
- Test the implementation on several graphs of different sizes and densities and compare the performance of the algorithms on these graphs.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.