程序代写代做代考 graph Java database CS157A: Introduction to Database Management Systems

CS157A: Introduction to Database Management Systems
Chapter 12: XQuery Suneuy Kim
1

XQuery
• A standard for high-level querying of databases containing data in XML form.
• Uses the same data model for XPath. That is, all values produced by XQuery are sequence of items.
2

XQuery: Sequences
• Sequences are created using parenthesis with strings inside quotes or double quotes and numbers as such. XML elements can also be used as the items of a sequence.
• A sequence is ordered; their items have ordinal position, starting at 1, and may include duplicates.
3

Example: Sequences
• You can use single or double quotes, but for most character strings a single quote is used.
(‘a’, ‘b’, ‘c’, ‘d’, ‘e’, ‘f’)
(“apple”, ‘banana’, “carrot”, ‘dog’, “egg”, ‘fig’)
• You can also intermix data types.
(‘a’, ‘b’, ‘c’, 1, 2, 3)
• You can also store XML elements in a sequence.
(‘apple’, , , , car)
4

XQuery Basic Syntax Rules (from w3schools.com)
• XQuery is case-sensitive
• XQuery elements, attributes, and variables must
follow the XML naming rules.
• An XQuery string value can be in single or double quotes
• An XQuery variable is defined with a $ followed by a name, e.g. $bookstore
• XQuery comments are delimited by (: and :), e.g. (: XQuery Comment 🙂
5

XQuery: FLWR
1. Acombinationofatleastonefororlet 2. Optionalwhereclause
(Note: where clause works together with for, not with let.)
3. Exactly one return clause
6

FLWR: for clause for $x in xquery expression
• At each iteration, the variable is assigned to each item in the sequence denoted by the expression.
• What follows for clause will be executed once for each value of the variable.
7

FLWR: let clause
• let variable := expression
–The sequence of items defined by the expression becomes the value of the variable.
–Example
let $stars:=doc(“stars.xml”)
8

FLWR: where clause
• where clause works together with for, not with let.
• At each iteration of the nested loops, evaluate where clause if any.
• If the where clause returns TRUE, invoke the return clause, and append its value to the output.
9

FLWR: return clause
• The sequence of items produced by the expression is appended to the sequence of items produced so far.
• Do not be confused with return statement in Java.
• It is illegal to return an attribute. Do return data(attribute).
10

Example:StarMovieData.xml


Carrie Fisher

123 Maple St.Holly wood
5 Locust Ln. Malibu



Mark Hamil 456 Oak Rd. Brentwood


Star Wars1977


11

Example
declare base-uri “file:///Users/skim/xquery/”;
let $smd := doc(“StarMovieData.xml”)
for $s in $smd/StarMovieData/Star
where $s/(data(@starID)= “mh”)
return $s/Name
Output:
Mark Hamil
12

Replacement of variables by their values
declare base-uri ” file:///Users/skim/xquery/”;
let $movies := doc(“movies.xml”)
for $m in $movies/Movies/Movie
return $m/Version/Star
What would be the output ?
$m/Version/Star $m/Version/Star Why ?
13

Replacement of variables by their values
let $movies := doc(“/Users/skim/xquery/movies.xml”)
for $m in $movies/Movies/Movie
return {$m/Version/Star}
With curly braces, $m/@title and $m/Version/Star are interpreted as XPath expressions, not literals.
Result:

Jeff Bridges Jessica Lange Carrie Fisher Carrie Fisher


Kevin Bacon John Lithgow Sarah Jessica Parker


F. Murray Abraham

14

Replacement of variables by their values
let $starSeq := (
let $movies := doc(“Users/skim/xquery/movies.xml”)
for $m in $movies/Movies/Movie
return $m/Version/Star )
return {$starSeq}

Jeff Bridges Jessica Lange Carrie Fisher Carrie Fisher
Kevin Bacon John Lithgow Sarah Jessica Parker F. Murray Abraham

15

Comparisons in XQuery
• Comparisons imply “there exists” sense.
• A xml element comes with an identity so that you can make an
movies. xml
identity comparison.
a
let $movies := doc(“/Users/skim/xquery/movies.xml”) return {$movies}/* = $movies
true (contents are compared.)
let $movies := doc(“/Users/skim/xquery/movies.xml”) return {$movies}/* is $movies
false (identities are compared.)
• Sequences resulting from the same xquery expression are identical let $movies1 := doc(“/Users/skim/xquery/movies.xml”)/Movies let $movies2 := doc(“/Users/skim/xquery/movies.xml”)/Movies return $movies1 is $movies2
true
• Element whose value is a string is coerced to that string test = “test” à will be true
16

Comparisons in XQuery • Comparing values

§ =, !=, <, <=, >, >= implied existential semantics
§ eq, ne, lt, le, gt, ge compares single atomic values
Comparing nodes (sequences or XML elements) § is compare two nodes based on identity
§ << compare two nodes based on document order § deep-equal if they have all the same attributes and have children in the same order (structure) 17 =, !=, <, <=, >, >=
• Existential comparison: They compare values of two sequences and return true if any pair of elements from the two sequences satisfy the relation.
(1,2,3) = (3,4)àtrue (1,2,3) >= (3,4)àtrue
• The string comparisons will be done lexicographically.
18

eq, ne, lt, le, gt, ge
• To compare single values or sequences of single or no
items.
• Fail if either operand is a sequence of multiple items.
• String does not promote to a number type automatically. If you want to compare values as numbers, you must convert it to number.
e.g.)
for $i in (“1″,”3″,”5”), $j in (2,4,6) where xs:integer($i) lt $j
return {$i},{$j} 19

Example: Existential nature of comparison
To find the name(s) of Star(s) who live at 123 Maple St., Malibu from Stars.xml.
declare option saxon:output
“indent=yes”;
let $stars := doc(“/Users/skim/xquery/stars.xm l”)
for $s in $stars/Stars/Star
where $s/Address/Street = “123
Maple St.” and $s/Address/City =
“Malibu”
return $s/Name
Carrie Fisherßwrong ! Tom Hanks

Carrie Fisher


123 Maple St.
Hollywood


5 Locust Ln. Malibu



Tom Hanks

123 Maple St.
Malibu


20

Another attempt
declare option saxon:output “indent=yes”;
let $stars :=
doc(“/Users/skim/xquery/stars.xml”)
for $s in $stars/Stars/Star
where $s/Address/Street eq “123 Maple St.”
and $s/Address/City eq “Malibu”
return $s/Name
Runtime error !
21

Example: = vs. eq
Suppose $s/Address/Street produces a sequence “123 Maple St.” and “5 Locust Ln.”,
• $s/Address/Street = “123 Maple St.” is true (however, based on the existential comparison)
• $s/Address/Street eq “123 Maple St.” is error !
22

Axis Example
Axis
results
self
5
ancestor
1,2
ancestor-or-self
1,2,5
parent
2
child
10,11
descendant
10,11,20,21,22, 23
descendant-or-self
5,10,11,20,21,22,23
following
3,6,7,12,13,14,15,24,25
preceding
4,8,9,16,17,18,19
following-sibling
6,7
preceding-sibling
4
23











XML data corresponding to the tree structure of the data in pp.82.
24

A solution using axis
Find the star(s) who lives at 123 Maple St., Malibu from Stars.xml.
declare option saxon:output “indent=yes”; let $stars := doc(“/Users/skim/xquery/stars.xml”)
for $star in $stars/Stars/Star
for $street in $star//Street
where ($street = “123 Maple St.” and $street/following- sibling::City =”Malibu”)
return {$star/Name}
25

Node Comparison: is
• To compare single node for identity let $a:= test
let $b:= test
return $a is $b à false
vs.
let $a:= test let $b:= $a
return $a is $bàtrue
26

Node comparison: deep-equal
• Totraversethetreestructureofnodes(XML elements or sequences) to see if they are identical in structure and value.
Examples returning false:
deep-equal ((1,2), (2,1))
deep-equal(z, z)
Examples returning true: deep-equal(doc(‘movies.xml’),doc(‘movies.xml’)) deep-equal(123,123) deep-equal(z, z)
27

Order Comparison Operators
To compare the positions of two XML elements in an XML document
• op1 << op2 returns true if op1 precedes op2 in a document order. • op1 >> op2 returns true if op1 follows op2 in a document order.
28

Produce a XML document that contains every combination of two students from grades.xml, in which the order does not matter.

Example: Order Comparison
declare option saxon:output “indent=yes”; let $g:= doc(“/Users/skim/xquery/grades.xml”)/Grades for $s1 in $g/Student, $s2 in $g/Student where $s1 << $s2 return {($s1/Name,$s2/Name)} Ming Scout
99
79


John Lee
50
69


29

Finding ordinal positions in Sequence
Within a FLWR expression, the for clause has a mechanism to track the ordinal position of currently iterated item using the at- clause.
declare option saxon:output “indent=yes”;

{for $fruit at $index in(“apple”, “banana”, “grape”)
return {$fruit}
}


apple banana grape

30

Example
Find all students who scored below 70 in any exam. Show their names, the scores, and which exam it is.
declare option saxon:output”indent=yes”;
let $roster := doc(“/Users/skim/xquery/grades.xml”)/Grades for $s in $roster/Student
for $exam at $index in $s/Exams/Exam
where xs:integer($exam)lt 70 return
{data($s/Name)} {$index} {data($exam)}

31

Nested loop in XQuery
• Doubly nested loop
for
$s1 in $movies/Movies/Movie/Version/Star, $s2 in $stars/Stars/Star
=
for $s1 in $movies/Movies/Movie/Version/Star for $s2 in $stars/Stars/Star
32

Joins: Example
declare option saxon:output “indent=yes”;
let
$movies :=
doc(“/Users/skim/xquery/movies.xml”),
$stars :=
doc(“/Users/skim/xquery/stars.xml”)
for $s1 in $movies/Movies/Movie/Version/Star,
$s2 in $stars/Stars/Star
where data($s1) = data($s2/Name)
return $s1
33

Elimination of Duplicates
• Thedistinct-values($args)functionreturnsa
sequence of unique atomic values from $arg.
• The$argsequencecancontainatomicvaluesor
nodes, or a combination of the two
• Thenodesinthesequencehavetheirtypedvalues extracted. This means that only the contents of the nodes are compared, not their names.
• Example:
distinct-values( ( “apple”, apple, (“apple”,”apple”) ) ) à apple
34

distinct-values:Example
declare option saxon:output “indent=yes”; let $starSeq := distinct-values (
let $movies := doc(“/Users/skim/xquery/movies.xml”)
for $m in $movies/Movies/Movie
return $m/Version/Star
)
return {$starSeq}
Note: A space counts in comparison.
Without distict-values(), Carry Fisher appears 2 times.
35

Exercise
Write a XQuery program that produces unique stars from movies.xml in the format of


….


36

Universal Quantifier: every
declare option saxon:output “indent=yes”;
let $stars := doc(“/Users/skim/xquery/stars1.xml”)
for $s in $stars/Stars/Star
where every $c in $s/Address/City satisfies $c = “Hollywood”
return $s/Name [Q1] $s//City
[Q2] What if a star’s resident consists of Street and City without Address? every $c in () is always true.
37

Existential Quantifier: some declare option saxon:output “indent=yes”;
let $stars := doc(“/Users/skim/xquery/stars1.xml”) for $s in $stars/Stars/Star
where some $c in $s/Address/City satisfies $c = “Hollywood”
return $s/Name
The where cause is Identical to
where $s/Address/City = “Hollywood”
38

Aggregations: sum, count, max/min Find the sum, count, average, and max of the first exams.
declare option saxon:output “indent=yes”;
let $roster :=
doc(“/Users/skim/xquery/grades.xml”)/Grades
let $ex1:=
$roster/Student/Exams/Exam[1]
return ({sum($ex1)},
{count($ex1)},
{avg($ex1)},
{max($ex1)})
39

Effective Boolean Value
The EBV of an expression is:
1. The actual value if the expression is of type boolean.
2. FALSE if the expression evaluates to 0, “” [the empty string], or () [the empty sequence].
3. TRUE otherwise.
Example:
• @year =”1976″ is true if the value of year attribute is 1976.
• /Movies/Movie/Version[@year =”1976″] is true if some move version is made at 1976.
40

Boolean Operators
• and, or, not
• Take boolean values of the expressions first e.g.) not (3 eq 5 or 0) is true
• Functions true()/false() returns true/false
41

if then else
• if (E1) then E2 else E3 is evaluated by:
– Compute the EBV of E1.
– If true, the result is E2; else the result is E3.
42

Example: if-then-else
• Find the students who scored below 70 on exam2. Show their names and scores.
declare option saxon:output “indent=yes”;
let $g:= doc(“/Users/skim/xquery/grades.xml”)/Grades
for $s in $g/Student
let $ex2 := $s/Exams/Exam[2]
return
if (data($ex2) < 70) then (data($s/Name), data($ex2)) else () 43 Example: if-then-else • Find the names and scores of all students who scored higher on exam 2 than on exam 1. let $g:= doc("/Users/skim/xquery/grades.xml")/Grades for $s in $g/Student let $ex1:= $s/Exams/Exam[1] let $ex2:= $s/Exams/Exam[2] return if (data($ex2) > data($ex1)) then
{$s/Name}{$ex1}{$ex2} else ()
44

FLOWR: order by
• The optional order by clause is used in FLOWR expression to specify the sort order of the result.
• It takes expressions that specify the sorting properties.
• The default order is ascending, and the explicit use of keyword descending will reverses the order.
45

Example: order by
Consider all versions of all movies, order them
by year, and produce a sequence of Movie
elements with the title and year as attributes.
let $movies :=
doc(“/Users/skim/xquery/movies.xml”)
for $m in $movies/Movies/Movie, $v in
$m/Version
order by $v/@year, $m/@title
return

46

Example: order by
Find the average score on the exams for each student. Produce a sequence of students consisting of name and average score. Sort the sequence by descending order of average score
for $s in doc(“/Users/skim/xquery/grades.xml”)/Grades/Student
let $avg := avg($s/Exams/Exam)
order by $avg descending
return

{$s/Name}
{$avg}

47

Example: Match Pattern
pattern
meaning
match=”section//title”
Matches any elements contained within </p> <section> elements.<br /> match=”section/title[@short- name]”<br /> Matches <title> elements that are children of </p> <section> elements, and that have a short-name attribute.<br /> match=”appendix//section[@typ e=’reference’]/title”<br /> Matches <title> elements that are children of </p> <section> elements. The section must also have a type attribute with the value “reference”, and have an <appendix> ancestor.<br /> match=”appendix[.//section[@ty pe=’reference’]/title]”<br /> Matches <appendix> elements that contain </p> <section> descendants. These </p> <section> elements, in turn, must have both a type attribute with the value “reference” and a <title> child.<br /> 48</p> </div><!-- .entry-content .clear --> </div> </article><!-- #post-## --> <nav class="navigation post-navigation" aria-label="Post navigation"> <span class="screen-reader-text">Post navigation</span> <div class="nav-links"><div class="nav-previous"><a title="程序代写代做代考 graph database clock CS157A: Introduction to Database Management Systems" href="https://powcoder.com/2020/12/06/%e7%a8%8b%e5%ba%8f%e4%bb%a3%e5%86%99%e4%bb%a3%e5%81%9a%e4%bb%a3%e8%80%83-graph-database-clock-cs157a-introduction-to-database-management-systems/" rel="prev"><span class="ast-left-arrow">←</span> Previous Post</a></div><div class="nav-next"><a title="程序代写代做代考 graph algorithm chain data structure TOPICS" href="https://powcoder.com/2020/12/06/%e7%a8%8b%e5%ba%8f%e4%bb%a3%e5%86%99%e4%bb%a3%e5%81%9a%e4%bb%a3%e8%80%83-graph-algorithm-chain-data-structure-topics/" rel="next">Next Post <span class="ast-right-arrow">→</span></a></div></div> </nav><div class="ast-single-related-posts-container ast-container--fallback"><div class="ast-related-posts-title-section"> <h2 class="ast-related-posts-title"> Related Posts </h2> </div><div class="ast-related-posts-wrapper"> <article class="ast-related-post post-38 post type-post status-publish format-standard hentry category-uncategorized tag-matlab tag-simulation"> <div class="ast-related-posts-inner-section"> <div class="ast-related-post-content"> <div class="ast-related-post-featured-section ast-no-thumb"></div> <header class="entry-header related-entry-header"> <h3 class="ast-related-post-title entry-title"> <a href="https://powcoder.com/2016/06/21/matlab-simulation/" target="_self" rel="bookmark noopener noreferrer">matlab simulation</a> </h3> <div class="entry-meta ast-related-cat-style--none ast-related-tag-style--none"><span class="ast-taxonomy-container cat-links default"><a href="https://powcoder.com/category/uncategorized/" rel="category tag">程序代写 CS代考</a></span> / <span class="ast-taxonomy-container tags-links default"><a href="https://powcoder.com/tag/matlab/" rel="tag">matlab代写代考</a>, <a href="https://powcoder.com/tag/simulation/" rel="tag">simulation</a></span></div> </header> <div class="entry-content clear"> </div> </div> </div> </article> <article class="ast-related-post post-39 post type-post status-publish format-standard hentry category-uncategorized tag-c"> <div class="ast-related-posts-inner-section"> <div class="ast-related-post-content"> <div class="ast-related-post-featured-section ast-no-thumb"></div> <header class="entry-header related-entry-header"> <h3 class="ast-related-post-title entry-title"> <a href="https://powcoder.com/2016/06/21/ab202-assignment-1-arkapong/" target="_self" rel="bookmark noopener noreferrer">AB202 Assignment 1: Arkapong</a> </h3> <div class="entry-meta ast-related-cat-style--none ast-related-tag-style--none"><span class="ast-taxonomy-container cat-links default"><a href="https://powcoder.com/category/uncategorized/" rel="category tag">程序代写 CS代考</a></span> / <span class="ast-taxonomy-container tags-links default"><a href="https://powcoder.com/tag/c/" rel="tag">c++代做</a></span></div> </header> <div class="entry-content clear"> </div> </div> </div> </article> <article class="ast-related-post post-40 post type-post status-publish format-standard hentry category-uncategorized tag-c"> <div class="ast-related-posts-inner-section"> <div class="ast-related-post-content"> <div class="ast-related-post-featured-section ast-no-thumb"></div> <header class="entry-header related-entry-header"> <h3 class="ast-related-post-title entry-title"> <a href="https://powcoder.com/2016/06/21/msc-c-programming/" target="_self" rel="bookmark noopener noreferrer">MSc C++ Programming</a> </h3> <div class="entry-meta ast-related-cat-style--none ast-related-tag-style--none"><span class="ast-taxonomy-container cat-links default"><a href="https://powcoder.com/category/uncategorized/" rel="category tag">程序代写 CS代考</a></span> / <span class="ast-taxonomy-container tags-links default"><a href="https://powcoder.com/tag/c/" rel="tag">c++代做</a></span></div> </header> <div class="entry-content clear"> </div> </div> </div> </article> <article class="ast-related-post post-41 post type-post status-publish format-standard hentry category-uncategorized tag-prolog"> <div class="ast-related-posts-inner-section"> <div class="ast-related-post-content"> <div class="ast-related-post-featured-section ast-no-thumb"></div> <header class="entry-header related-entry-header"> <h3 class="ast-related-post-title entry-title"> <a href="https://powcoder.com/2016/06/21/msc-assessed-prolog-lab-exercise-2/" target="_self" rel="bookmark noopener noreferrer">MSc Assessed Prolog Lab Exercise 2</a> </h3> <div class="entry-meta ast-related-cat-style--none ast-related-tag-style--none"><span class="ast-taxonomy-container cat-links default"><a href="https://powcoder.com/category/uncategorized/" rel="category tag">程序代写 CS代考</a></span> / <span class="ast-taxonomy-container tags-links default"><a href="https://powcoder.com/tag/prolog/" rel="tag">Prolog代写代考</a></span></div> </header> <div class="entry-content clear"> </div> </div> </div> </article> <article class="ast-related-post post-49 post type-post status-publish format-standard hentry category-uncategorized tag-c tag-uml"> <div class="ast-related-posts-inner-section"> <div class="ast-related-post-content"> <div class="ast-related-post-featured-section ast-no-thumb"></div> <header class="entry-header related-entry-header"> <h3 class="ast-related-post-title entry-title"> <a href="https://powcoder.com/2016/06/21/spring-session2015assignment-1/" target="_self" rel="bookmark noopener noreferrer">Spring Session:2015:Assignment 1</a> </h3> <div class="entry-meta ast-related-cat-style--none ast-related-tag-style--none"><span class="ast-taxonomy-container cat-links default"><a href="https://powcoder.com/category/uncategorized/" rel="category tag">程序代写 CS代考</a></span> / <span class="ast-taxonomy-container tags-links default"><a href="https://powcoder.com/tag/c/" rel="tag">c++代做</a>, <a href="https://powcoder.com/tag/uml/" rel="tag">UML</a></span></div> </header> <div class="entry-content clear"> </div> </div> </div> </article> <article class="ast-related-post post-51 post type-post status-publish format-standard hentry category-uncategorized tag-uml"> <div class="ast-related-posts-inner-section"> <div class="ast-related-post-content"> <div class="ast-related-post-featured-section ast-no-thumb"></div> <header class="entry-header related-entry-header"> <h3 class="ast-related-post-title entry-title"> <a href="https://powcoder.com/2016/06/21/assignment-2-inception-and-elaboration/" target="_self" rel="bookmark noopener noreferrer">Assignment 2: "Inception and Elaboration"</a> </h3> <div class="entry-meta ast-related-cat-style--none ast-related-tag-style--none"><span class="ast-taxonomy-container cat-links default"><a href="https://powcoder.com/category/uncategorized/" rel="category tag">程序代写 CS代考</a></span> / <span class="ast-taxonomy-container tags-links default"><a href="https://powcoder.com/tag/uml/" rel="tag">UML</a></span></div> </header> <div class="entry-content clear"> </div> </div> </div> </article> <article class="ast-related-post post-55 post type-post status-publish format-standard hentry category-uncategorized tag-android tag-java"> <div class="ast-related-posts-inner-section"> <div class="ast-related-post-content"> <div class="ast-related-post-featured-section ast-no-thumb"></div> <header class="entry-header related-entry-header"> <h3 class="ast-related-post-title entry-title"> <a href="https://powcoder.com/2016/06/21/android-app/" target="_self" rel="bookmark noopener noreferrer">android app</a> </h3> <div class="entry-meta ast-related-cat-style--none ast-related-tag-style--none"><span class="ast-taxonomy-container cat-links default"><a href="https://powcoder.com/category/uncategorized/" rel="category tag">程序代写 CS代考</a></span> / <span class="ast-taxonomy-container tags-links default"><a href="https://powcoder.com/tag/android/" rel="tag">android</a>, <a href="https://powcoder.com/tag/java/" rel="tag">Java代写代考</a></span></div> </header> <div class="entry-content clear"> </div> </div> </div> </article> <article class="ast-related-post post-57 post type-post status-publish format-standard hentry category-uncategorized tag-java tag-junit"> <div class="ast-related-posts-inner-section"> <div class="ast-related-post-content"> <div class="ast-related-post-featured-section ast-no-thumb"></div> <header class="entry-header related-entry-header"> <h3 class="ast-related-post-title entry-title"> <a href="https://powcoder.com/2016/06/21/comp220-software-development-tools/" target="_self" rel="bookmark noopener noreferrer">COMP220: Software Development Tools</a> </h3> <div class="entry-meta ast-related-cat-style--none ast-related-tag-style--none"><span class="ast-taxonomy-container cat-links default"><a href="https://powcoder.com/category/uncategorized/" rel="category tag">程序代写 CS代考</a></span> / <span class="ast-taxonomy-container tags-links default"><a href="https://powcoder.com/tag/java/" rel="tag">Java代写代考</a>, <a href="https://powcoder.com/tag/junit/" rel="tag">junit</a></span></div> </header> <div class="entry-content clear"> </div> </div> </div> </article> </div> </div> </main><!-- #main --> </div><!-- #primary --> <div class="widget-area secondary" id="secondary" itemtype="https://schema.org/WPSideBar" itemscope="itemscope"> <div class="sidebar-main" > <aside id="custom_html-2" class="widget_text widget widget_custom_html"><h2 class="widget-title">Contact</h2><div class="textwidget custom-html-widget"><ul> <li><strong>QQ: 1823890830</strong></li> <li><strong>微信号(WeChat): powcoder</strong></li> <li><img data-recalc-dims="1" class="alignnone wp-image-366" src="https://i0.wp.com/powcoder.com/wp-content/uploads/2021/01/powcoder.jpg?resize=133%2C133&ssl=1" alt="myweixin" width="133" height="133"/></li> <li><strong>Email: <a href="mailto:powcoder@163.com">powcoder@163.com</a></strong></li> </ul> <ul> <li><strong>请加微信或QQ发要求</strong></li> <li><strong>Contact me through WeChat</strong></li> </ul> </div></aside><aside id="categories-2" class="widget widget_categories"><h2 class="widget-title">Categories</h2><nav aria-label="Categories"> <ul> <li class="cat-item cat-item-245"><a href="https://powcoder.com/category/machine-learning/">机器学习代写代考 machine learning</a> </li> <li class="cat-item cat-item-242"><a href="https://powcoder.com/category/database-db-sql/">数据库代写代考 DB Database SQL</a> </li> <li class="cat-item cat-item-244"><a href="https://powcoder.com/category/data-structure-algorithm/">数据结构算法代写代考 data structure algorithm</a> </li> <li class="cat-item cat-item-239"><a href="https://powcoder.com/category/%e4%ba%ba%e5%b7%a5%e6%99%ba%e8%83%bd-ai-artificial-intelligence/">人工智能 AI Artificial Intelligence</a> </li> <li class="cat-item cat-item-247"><a href="https://powcoder.com/category/compiler/">编译器原理 Compiler</a> </li> <li class="cat-item cat-item-254"><a href="https://powcoder.com/category/network-socket/">计算机网络 套接字编程 computer network socket programming</a> </li> <li class="cat-item cat-item-240"><a href="https://powcoder.com/category/hadoop-map-reduce-spark-hbase/">大数据 Hadoop Map Reduce Spark HBase</a> </li> <li class="cat-item cat-item-241"><a href="https://powcoder.com/category/%e6%93%8d%e4%bd%9c%e7%b3%bb%e7%bb%9fosoperating-system/">操作系统OS代写代考 (Operating System)</a> </li> <li class="cat-item cat-item-250"><a href="https://powcoder.com/category/computer-architecture/">计算机体系结构代写代考 Computer Architecture</a> </li> <li class="cat-item cat-item-251"><a href="https://powcoder.com/category/computer-graphics-opengl-webgl/">计算机图形学 Computer Graphics opengl webgl</a> </li> <li class="cat-item cat-item-249"><a href="https://powcoder.com/category/nlp/">自然语言处理 NLP natural language processing</a> </li> <li class="cat-item cat-item-383"><a href="https://powcoder.com/category/%e5%b9%b6%e8%a1%8c%e8%ae%a1%e7%ae%97/">并行计算</a> </li> <li class="cat-item cat-item-253"><a href="https://powcoder.com/category/computation-theory/">计算理论 Theory of Computation</a> </li> <li class="cat-item cat-item-252"><a href="https://powcoder.com/category/computer-security/">计算机安全密码学computer security cryptography</a> </li> <li class="cat-item cat-item-246"><a href="https://powcoder.com/category/sys-programming/">系统编程 System programming</a> </li> <li class="cat-item cat-item-367"><a href="https://powcoder.com/category/%e6%95%b0%e5%80%bc%e7%a7%91%e5%ad%a6%e8%ae%a1%e7%ae%97/">数值科学计算</a> </li> <li class="cat-item cat-item-255"><a href="https://powcoder.com/category/%e8%ae%a1%e7%ae%97%e6%9c%ba%e8%a7%86%e8%a7%89compute-vision/">计算机视觉代写代考(Compute Vision)</a> </li> <li class="cat-item cat-item-248"><a href="https://powcoder.com/category/web/">网页应用 Web Application</a> </li> <li class="cat-item cat-item-401"><a href="https://powcoder.com/category/%e5%88%86%e5%b8%83%e5%bc%8f%e7%b3%bb%e7%bb%9f/">分布式系统</a> </li> <li class="cat-item cat-item-640"><a href="https://powcoder.com/category/%e7%ac%94%e8%af%95%e9%9d%a2%e8%af%95/">笔试面试</a> </li> <li class="cat-item cat-item-403"><a href="https://powcoder.com/category/%e5%87%bd%e6%95%b0%e5%bc%8f%e7%bc%96%e7%a8%8b/">函数式编程</a> </li> <li class="cat-item cat-item-243"><a href="https://powcoder.com/category/%e6%95%b0%e6%8d%ae%e6%8c%96%e6%8e%98-data-mining/">数据挖掘 Data Mining</a> </li> <li class="cat-item cat-item-364"><a href="https://powcoder.com/category/%e7%a6%bb%e6%95%a3%e6%95%b0%e5%ad%a6/">离散数学代写代考 (Discrete mathematics)</a> </li> <li class="cat-item cat-item-384"><a href="https://powcoder.com/category/%e8%bd%af%e4%bb%b6%e5%b7%a5%e7%a8%8b/">软件工程</a> </li> <li class="cat-item cat-item-551"><a href="https://powcoder.com/category/%e7%bc%96%e7%a8%8b%e8%af%ad%e8%a8%80-programming-language/">编程语言 Programming Language</a> </li> <li class="cat-item cat-item-594"><a href="https://powcoder.com/category/%e7%bb%9f%e8%ae%a1%e4%bb%a3%e5%86%99%e4%bb%a3%e8%80%83/">统计代写代考</a> </li> <li class="cat-item cat-item-574"><a href="https://powcoder.com/category/%e8%bf%90%e7%ad%b9%e5%ad%a6-operation-research/">运筹学 Operation Research</a> </li> </ul> </nav></aside><aside id="tag_cloud-3" class="widget widget_tag_cloud"><h2 class="widget-title">Tag</h2><nav aria-label="Tag"><div class="tagcloud"><a href="https://powcoder.com/tag/algorithm/" class="tag-cloud-link tag-link-469 tag-link-position-1" style="font-size: 18px;" aria-label="Algorithm算法代写代考 (15,143 items)">Algorithm算法代写代考</a><a href="https://powcoder.com/tag/java/" class="tag-cloud-link tag-link-298 tag-link-position-2" style="font-size: 16.91156462585px;" aria-label="Java代写代考 (7,271 items)">Java代写代考</a><a href="https://powcoder.com/tag/database/" class="tag-cloud-link tag-link-414 tag-link-position-3" style="font-size: 16.503401360544px;" aria-label="database (5,442 items)">database</a><a href="https://powcoder.com/tag/data-structure/" class="tag-cloud-link tag-link-501 tag-link-position-4" style="font-size: 16.401360544218px;" aria-label="data structure (5,185 items)">data structure</a><a href="https://powcoder.com/tag/python/" class="tag-cloud-link tag-link-331 tag-link-position-5" style="font-size: 16.299319727891px;" aria-label="Python代写代考 (4,810 items)">Python代写代考</a><a href="https://powcoder.com/tag/compiler/" class="tag-cloud-link tag-link-472 tag-link-position-6" style="font-size: 16.027210884354px;" aria-label="compiler (4,000 items)">compiler</a><a href="https://powcoder.com/tag/scheme/" class="tag-cloud-link tag-link-338 tag-link-position-7" style="font-size: 15.823129251701px;" aria-label="Scheme代写代考 (3,502 items)">Scheme代写代考</a><a href="https://powcoder.com/tag/c-4/" class="tag-cloud-link tag-link-499 tag-link-position-8" style="font-size: 15.823129251701px;" aria-label="C语言代写 (3,489 items)">C语言代写</a><a href="https://powcoder.com/tag/ai/" class="tag-cloud-link tag-link-369 tag-link-position-9" style="font-size: 15.176870748299px;" aria-label="AI代写 (2,216 items)">AI代写</a><a href="https://powcoder.com/tag/c-3/" class="tag-cloud-link tag-link-491 tag-link-position-10" style="font-size: 14.700680272109px;" aria-label="c++代写 (1,633 items)">c++代写</a><a href="https://powcoder.com/tag/sql/" class="tag-cloud-link tag-link-395 tag-link-position-11" style="font-size: 14.530612244898px;" aria-label="SQL代写代考 (1,457 items)">SQL代写代考</a><a href="https://powcoder.com/tag/haskell/" class="tag-cloud-link tag-link-291 tag-link-position-12" style="font-size: 14.530612244898px;" aria-label="Haskell代写代考 (1,453 items)">Haskell代写代考</a><a href="https://powcoder.com/tag/javascript/" class="tag-cloud-link tag-link-299 tag-link-position-13" style="font-size: 14.462585034014px;" aria-label="javascript (1,395 items)">javascript</a><a href="https://powcoder.com/tag/concurrency/" class="tag-cloud-link tag-link-503 tag-link-position-14" style="font-size: 14.428571428571px;" aria-label="concurrency (1,355 items)">concurrency</a><a href="https://powcoder.com/tag/matlab/" class="tag-cloud-link tag-link-309 tag-link-position-15" style="font-size: 14.360544217687px;" aria-label="matlab代写代考 (1,281 items)">matlab代写代考</a><a href="https://powcoder.com/tag/finance/" class="tag-cloud-link tag-link-282 tag-link-position-16" style="font-size: 14.292517006803px;" aria-label="finance (1,221 items)">finance</a><a href="https://powcoder.com/tag/interpreter/" class="tag-cloud-link tag-link-297 tag-link-position-17" style="font-size: 14.190476190476px;" aria-label="interpreter (1,144 items)">interpreter</a><a href="https://powcoder.com/tag/mips/" class="tag-cloud-link tag-link-313 tag-link-position-18" style="font-size: 14.156462585034px;" aria-label="MIPS汇编代写代考 (1,134 items)">MIPS汇编代写代考</a><a href="https://powcoder.com/tag/data-mining/" class="tag-cloud-link tag-link-271 tag-link-position-19" style="font-size: 13.986394557823px;" aria-label="data mining (991 items)">data mining</a><a href="https://powcoder.com/tag/decision-tree/" class="tag-cloud-link tag-link-273 tag-link-position-20" style="font-size: 13.952380952381px;" aria-label="decision tree (982 items)">decision tree</a><a href="https://powcoder.com/tag/deep-learning/" class="tag-cloud-link tag-link-274 tag-link-position-21" style="font-size: 13.952380952381px;" aria-label="deep learning深度学习代写代考 (980 items)">deep learning深度学习代写代考</a><a href="https://powcoder.com/tag/prolog/" class="tag-cloud-link tag-link-329 tag-link-position-22" style="font-size: 13.918367346939px;" aria-label="Prolog代写代考 (957 items)">Prolog代写代考</a><a href="https://powcoder.com/tag/file-system/" class="tag-cloud-link tag-link-281 tag-link-position-23" style="font-size: 13.850340136054px;" aria-label="file system (902 items)">file system</a><a href="https://powcoder.com/tag/c/" class="tag-cloud-link tag-link-265 tag-link-position-24" style="font-size: 13.578231292517px;" aria-label="c++代做 (764 items)">c++代做</a><a href="https://powcoder.com/tag/computer-architecture/" class="tag-cloud-link tag-link-507 tag-link-position-25" style="font-size: 13.47619047619px;" aria-label="computer architecture (712 items)">computer architecture</a><a href="https://powcoder.com/tag/er/" class="tag-cloud-link tag-link-433 tag-link-position-26" style="font-size: 13.47619047619px;" aria-label="ER (711 items)">ER</a><a href="https://powcoder.com/tag/gui/" class="tag-cloud-link tag-link-290 tag-link-position-27" style="font-size: 13.47619047619px;" aria-label="gui (711 items)">gui</a><a href="https://powcoder.com/tag/gpu/" class="tag-cloud-link tag-link-396 tag-link-position-28" style="font-size: 13.272108843537px;" aria-label="GPU (620 items)">GPU</a><a href="https://powcoder.com/tag/data-science/" class="tag-cloud-link tag-link-272 tag-link-position-29" style="font-size: 13.272108843537px;" aria-label="data science (615 items)">data science</a><a href="https://powcoder.com/tag/x86%e6%b1%87%e7%bc%96/" class="tag-cloud-link tag-link-514 tag-link-position-30" style="font-size: 13.238095238095px;" aria-label="x86汇编代写代考 (606 items)">x86汇编代写代考</a><a href="https://powcoder.com/tag/case-study/" class="tag-cloud-link tag-link-468 tag-link-position-31" style="font-size: 13.204081632653px;" aria-label="case study (586 items)">case study</a><a href="https://powcoder.com/tag/distributed-system/" class="tag-cloud-link tag-link-277 tag-link-position-32" style="font-size: 13.170068027211px;" aria-label="distributed system (576 items)">distributed system</a><a href="https://powcoder.com/tag/android/" class="tag-cloud-link tag-link-256 tag-link-position-33" style="font-size: 13.034013605442px;" aria-label="android (527 items)">android</a><a href="https://powcoder.com/tag/kernel/" class="tag-cloud-link tag-link-470 tag-link-position-34" style="font-size: 13.034013605442px;" aria-label="kernel (520 items)">kernel</a><a href="https://powcoder.com/tag/arm/" class="tag-cloud-link tag-link-483 tag-link-position-35" style="font-size: 13px;" aria-label="ARM汇编代写代考 (514 items)">ARM汇编代写代考</a></div> </nav></aside><aside id="block-4" class="widget widget_block"> <div class="wp-block-group is-layout-flow wp-block-group-is-layout-flow"><div class="wp-block-group__inner-container"><ul class="wp-block-latest-posts__list wp-block-latest-posts"><li><a class="wp-block-latest-posts__post-title" href="https://powcoder.com/2024/11/17/%e7%95%99%e5%ad%a6%e7%94%9f%e4%bd%9c%e4%b8%9a%e4%bb%a3%e5%86%99-comp9313-project-3/">留学生作业代写 COMP9313 Project 3</a></li> <li><a class="wp-block-latest-posts__post-title" href="https://powcoder.com/2024/10/12/%e7%a8%8b%e5%ba%8f%e4%bb%a3%e5%86%99-comp2521-24t3-assignment-1-2/">程序代写 COMP2521 24T3 – Assignment 1</a></li> <li><a class="wp-block-latest-posts__post-title" href="https://powcoder.com/2024/10/12/%e4%bb%a3%e5%86%99%e4%bb%a3%e8%80%83-compsys-705-formal-methods-for-safety-critical-software-test-17-october-20/">代写代考 COMPSYS 705 Formal Methods for Safety Critical Software Test, 17 October 20</a></li> <li><a class="wp-block-latest-posts__post-title" href="https://powcoder.com/2024/10/07/%e7%a8%8b%e5%ba%8f%e4%bb%a3%e5%86%99-comp2521-24t3-assignment-1/">程序代写 COMP2521 24T3 – Assignment 1</a></li> <li><a class="wp-block-latest-posts__post-title" href="https://powcoder.com/2024/09/30/%e7%a8%8b%e5%ba%8f%e4%bb%a3%e5%86%99-comp4500-7500-2/">程序代写 COMP4500/7500</a></li> </ul></div></div> </aside> </div><!-- .sidebar-main --> </div><!-- #secondary --> </div> <!-- ast-container --> </div><!-- #content --> <footer class="site-footer" id="colophon" itemtype="https://schema.org/WPFooter" itemscope="itemscope" itemid="#colophon"> <div class="site-below-footer-wrap ast-builder-grid-row-container site-footer-focus-item ast-builder-grid-row-full ast-builder-grid-row-tablet-full ast-builder-grid-row-mobile-full ast-footer-row-stack ast-footer-row-tablet-stack ast-footer-row-mobile-stack" data-section="section-below-footer-builder"> <div class="ast-builder-grid-row-container-inner"> <div class="ast-builder-footer-grid-columns site-below-footer-inner-wrap ast-builder-grid-row"> <div class="site-footer-below-section-1 site-footer-section site-footer-section-1"> <div class="ast-builder-layout-element ast-flex site-footer-focus-item ast-footer-copyright" data-section="section-footer-builder"> <div class="ast-footer-copyright"><p>Copyright © 2024 PowCoder代写 | Powered by <a href="https://wpastra.com/" rel="nofollow noopener" target="_blank">Astra WordPress Theme</a></p> </div> </div> </div> </div> </div> </div> </footer><!-- #colophon --> </div><!-- #page --> <link rel="stylesheet" href="https://powcoder.com/wp-content/cache/minify/12163.css" media="all" /> <script id="astra-theme-js-js-extra"> var astra = {"break_point":"921","isRtl":"","is_scroll_to_id":"","is_scroll_to_top":"","is_header_footer_builder_active":"1","responsive_cart_click":"flyout"}; </script> <script src="https://powcoder.com/wp-content/cache/minify/75800.js"></script> <script src="https://stats.wp.com/e-202447.js" id="jetpack-stats-js" data-wp-strategy="defer"></script> <script id="jetpack-stats-js-after"> _stq = window._stq || []; _stq.push([ "view", JSON.parse("{\"v\":\"ext\",\"blog\":\"132118579\",\"post\":\"30375\",\"tz\":\"8\",\"srv\":\"powcoder.com\",\"j\":\"1:14.0\"}") ]); _stq.push([ "clickTrackerInit", "132118579", "30375" ]); </script> <script> /(trident|msie)/i.test(navigator.userAgent)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var t,e=location.hash.substring(1);/^[A-z0-9_-]+$/.test(e)&&(t=document.getElementById(e))&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())},!1); </script> </body> </html> <!-- Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/ Object Caching 276/337 objects using Disk Page Caching using Disk: Enhanced Content Delivery Network via N/A Minified using Disk Served from: powcoder.com @ 2024-11-24 06:40:50 by W3 Total Cache -->