Structured programming

Structured programming is a programming paradigm aimed at improving the clarity, quality, and development time of a computer program by making extensive use of the structured control flow constructs of selection (if/then/else) and repetition (while and for), block structures, and subroutines.

It emerged in the late 1950s with the appearance of the ALGOL 58 and ALGOL 60 programming languages,[1] with the latter including support for block structures. Contributing factors to its popularity and widespread acceptance, at first in academia and later among practitioners, include the discovery of what is now known as the structured program theorem in 1966,[2] and the publication of the influential "Go To Statement Considered Harmful" open letter in 1968 by Dutch computer scientist Edsger W. Dijkstra, who coined the term "structured programming".[3]

Structured programming is most frequently used with deviations that allow for clearer programs in some particular cases, such as when exception handling has to be performed.

Elements

Control structures

Following the structured program theorem, all programs are seen as composed of three control structures:

  • "Sequence"; ordered statements or subroutines executed in sequence.
  • "Selection"; one of a number of statements is executed depending on the state of the program. This is usually expressed with keywords such as if..then..else..endif. The conditional statement should have at least one true condition and each condition should have one exit point at max.
  • "Iteration"; a statement or block is executed until the program reaches a certain state, or operations have been applied to every element of a collection. This is usually expressed with keywords such as while, repeat, for or do..until. Often it is recommended that each loop should only have one entry point (and in the original structural programming, also only one exit point, and a few languages enforce this).
Graphical representation of the three basic patterns — sequence, selection, and repetition — using NS diagrams (blue) and flow charts (green).

Subroutines

Subroutines; callable units such as procedures, functions, methods, or subprograms are used to allow a sequence to be referred to by a single statement.

Blocks

Blocks are used to enable groups of statements to be treated as if they were one statement. Block-structured languages have a syntax for enclosing structures in some formal way, such as an if-statement bracketed by if..fi as in ALGOL 68, or a code section bracketed by BEGIN..END, as in PL/I and Pascal, whitespace indentation as in Python, or the curly braces {...} of C and many later languages.

Structured programming languages

It is possible to do structured programming in any programming language, though it is preferable to use something like a procedural programming language.[4][5] Some of the languages initially used for structured programming include: ALGOL, Pascal, PL/I, Ada and RPL but most new procedural programming languages since that time have included features to encourage structured programming, and sometimes deliberately left out features – notably GOTO – in an effort to make unstructured programming more difficult.

Structured programming (sometimes known as modular programming[4]) enforces a logical structure on the program being written to make it more efficient and easier to understand and modify.

History

Theoretical foundation

The structured program theorem provides the theoretical basis of structured programming. It states that three ways of combining programs—sequencing, selection, and iteration—are sufficient to express any computable function. This observation did not originate with the structured programming movement; these structures are sufficient to describe the instruction cycle of a central processing unit, as well as the operation of a Turing machine. Therefore, a processor is always executing a "structured program" in this sense, even if the instructions it reads from memory are not part of a structured program. However, authors usually credit the result to a 1966 paper by Böhm and Jacopini, possibly because Dijkstra cited this paper himself.[6] The structured program theorem does not address how to write and analyze a usefully structured program. These issues were addressed during the late 1960s and early 1970s, with major contributions by Dijkstra, Robert W. Floyd, Tony Hoare, Ole-Johan Dahl, and David Gries.

Debate

P. J. Plauger, an early adopter of structured programming, described his reaction to the structured program theorem:

Us converts waved this interesting bit of news under the noses of the unreconstructed assembly-language programmers who kept trotting forth twisty bits of logic and saying, 'I betcha can't structure this.' Neither the proof by Böhm and Jacopini nor our repeated successes at writing structured code brought them around one day sooner than they were ready to convince themselves.[7]

Donald Knuth accepted the principle that programs must be written with provability in mind, but he disagreed with abolishing the GOTO statement, and as of 2018 has continued to use it in his programs.[8] In his 1974 paper, "Structured Programming with Goto Statements",[9] he gave examples where he believed that a direct jump leads to clearer and more efficient code without sacrificing provability. Knuth proposed a looser structural constraint: It should be possible to draw a program's flow chart with all forward branches on the left, all backward branches on the right, and no branches crossing each other. Many of those knowledgeable in compilers and graph theory have advocated allowing only reducible flow graphs.[when defined as?][who?]

Structured programming theorists gained a major ally in the 1970s after IBM researcher Harlan Mills applied his interpretation of structured programming theory to the development of an indexing system for The New York Times research file. The project was a great engineering success, and managers at other companies cited it in support of adopting structured programming, although Dijkstra criticized the ways that Mills's interpretation differed from the published work.[10]

As late as 1987 it was still possible to raise the question of structured programming in a computer science journal. Frank Rubin did so in that year with an open letter titled "'GOTO Considered Harmful' Considered Harmful".[11] Numerous objections followed, including a response from Dijkstra that sharply criticized both Rubin and the concessions other writers made when responding to him.

Outcome

By the end of the 20th century, nearly all computer scientists were convinced that it is useful to learn and apply the concepts of structured programming. High-level programming languages that originally lacked programming structures, such as FORTRAN, COBOL, and BASIC, now have them.

Common deviations

While goto has now largely been replaced by the structured constructs of selection (if/then/else) and repetition (while and for), few languages are purely structured. The most common deviation, found in many languages, is the use of a return statement for early exit from a subroutine. This results in multiple exit points, instead of the single exit point required by structured programming. There are other constructions to handle cases that are awkward in purely structured programming.

Early exit

The most common deviation from structured programming is early exit from a function or loop. At the level of functions, this is a return statement. At the level of loops, this is a break statement (terminate the loop) or continue statement (terminate the current iteration, proceed with next iteration). In structured programming, these can be replicated by adding additional branches or tests, but for returns from nested code this can add significant complexity. C is an early and prominent example of these constructs. Some newer languages also have "labeled breaks", which allow breaking out of more than just the innermost loop. Exceptions also allow early exit, but have further consequences, and thus are treated below.

Multiple exits can arise for a variety of reasons, most often either that the subroutine has no more work to do (if returning a value, it has completed the calculation), or has encountered "exceptional" circumstances that prevent it from continuing, hence needing exception handling.

The most common problem in early exit is that cleanup or final statements are not executed – for example, allocated memory is not deallocated, or open files are not closed, causing memory leaks or resource leaks. These must be done at each return site, which is brittle and can easily result in bugs. For instance, in later development, a return statement could be overlooked by a developer, and an action that should be performed at the end of a subroutine (e.g., a trace statement) might not be performed in all cases. Languages without a return statement, such as standard Pascal and Seed7, do not have this problem.

Most modern languages provide language-level support to prevent such leaks;[12] see detailed discussion at resource management. Most commonly this is done via unwind protection, which ensures that certain code is guaranteed to be run when execution exits a block; this is a structured alternative to having a cleanup block and a goto. This is most often known as try...finally, and considered a part of exception handling. In case of multiple return statements introducing try...finally, without exceptions might look strange. Various techniques exist to encapsulate resource management. An alternative approach, found primarily in C++, is Resource Acquisition Is Initialization, which uses normal stack unwinding (variable deallocation) at function exit to call destructors on local variables to deallocate resources.

Kent Beck, Martin Fowler and co-authors have argued in their refactoring books that nested conditionals may be harder to understand than a certain type of flatter structure using multiple exits predicated by guard clauses. Their 2009 book flatly states that "one exit point is really not a useful rule. Clarity is the key principle: If the method is clearer with one exit point, use one exit point; otherwise don’t". They offer a cookbook solution for transforming a function consisting only of nested conditionals into a sequence of guarded return (or throw) statements, followed by a single unguarded block, which is intended to contain the code for the common case, while the guarded statements are supposed to deal with the less common ones (or with errors).[13] Herb Sutter and Andrei Alexandrescu also argue in their 2004 C++ tips book that the single-exit point is an obsolete requirement.[14]

In his 2004 textbook, David Watt writes that "single-entry multi-exit control flows are often desirable". Using Tennent's framework notion of sequencer, Watt uniformly describes the control flow constructs found in contemporary programming languages and attempts to explain why certain types of sequencers are preferable to others in the context of multi-exit control flows. Watt writes that unrestricted gotos (jump sequencers) are bad because the destination of the jump is not self-explanatory to the reader of a program until the reader finds and examines the actual label or address that is the target of the jump. In contrast, Watt argues that the conceptual intent of a return sequencer is clear from its own context, without having to examine its destination. Watt writes that a class of sequencers known as escape sequencers, defined as a "sequencer that terminates execution of a textually enclosing command or procedure", encompasses both breaks from loops (including multi-level breaks) and return statements. Watt also notes that while jump sequencers (gotos) have been somewhat restricted in languages like C, where the target must be an inside the local block or an encompassing outer block, that restriction alone is not sufficient to make the intent of gotos in C self-describing and so they can still produce "spaghetti code". Watt also examines how exception sequencers differ from escape and jump sequencers; this is explained in the next section of this article.[15]

In contrast to the above, Bertrand Meyer wrote in his 2009 textbook that instructions like break and continue "are just the old goto in sheep's clothing" and strongly advised against their use.[16]

Exception handling

Based on the coding error from the Ariane 501 disaster, software developer Jim Bonang argues that any exceptions thrown from a function violate the single-exit paradigm, and proposes that all inter-procedural exceptions should be forbidden. Bonang proposes that all single-exit conforming C++ should be written along the lines of:

bool MyCheck1() throw() {
  bool success = false;
  try {
    // Do something that may throw exceptions.
    if (!MyCheck2()) {
      throw SomeInternalException();
    }
    // Other code similar to the above.
    success = true;
  } catch (...) {
    // All exceptions caught and logged.
  }
  return success;
}

Peter Ritchie also notes that, in principle, even a single throw right before the return in a function constitutes a violation of the single-exit principle, but argues that Dijkstra's rules were written in a time before exception handling became a paradigm in programming languages, so he proposes to allow any number of throw points in addition to a single return point. He notes that solutions that wrap exceptions for the sake of creating a single-exit have higher nesting depth and thus are more difficult to comprehend, and even accuses those who propose to apply such solutions to programming languages that support exceptions of engaging in cargo cult thinking.[17]

David Watt also analyzes exception handling in the framework of sequencers (introduced in this article in the previous section on early exits.) Watt notes that an abnormal situation (generally exemplified with arithmetic overflows or input/output failures like file not found) is a kind of error that "is detected in some low-level program unit, but [for which] a handler is more naturally located in a high-level program unit". For example, a program might contain several calls to read files, but the action to perform when a file is not found depends on the meaning (purpose) of the file in question to the program and thus a handling routine for this abnormal situation cannot be located in low-level system code. Watts further notes that introducing status flags testing in the caller, as single-exit structured programming or even (multi-exit) return sequencers would entail, results in a situation where "the application code tends to get cluttered by tests of status flags" and that "the programmer might forgetfully or lazily omit to test a status flag. In fact, abnormal situations represented by status flags are by default ignored!" He notes that in contrast to status flags testing, exceptions have the opposite default behavior, causing the program to terminate unless the programmer explicitly deals with the exception in some way, possibly by adding code to willfully ignore it. Based on these arguments, Watt concludes that jump sequencers or escape sequencers (discussed in the previous section) are not as suitable as a dedicated exception sequencer with the semantics discussed above.[18]

The textbook by Louden and Lambert emphasizes that exception handling differs from structured programming constructs like while loops because the transfer of control "is set up at a different point in the program than that where the actual transfer takes place. At the point where the transfer actually occurs, there may be no syntactic indication that control will in fact be transferred."[19] Computer science professor Arvind Kumar Bansal also notes that in languages which implement exception handling, even control structures like for, which have the single-exit property in absence of exceptions, no longer have it in presence of exceptions, because an exception can prematurely cause an early exit in any part of the control structure; for instance if init() throws an exception in for (init(); check(); increm()), then the usual exit point after check() is not reached.[20] Citing multiple prior studies by others (1999–2004) and their own results, Westley Weimer and George Necula wrote that a significant problem with exceptions is that they "create hidden control-flow paths that are difficult for programmers to reason about".[21]

The necessity to limit code to single-exit points appears in some contemporary programming environments focused on parallel computing, such as OpenMP. The various parallel constructs from OpenMP, like parallel do, do not allow early exits from inside to the outside of the parallel construct; this restriction includes all manner of exits, from break to C++ exceptions, but all of these are permitted inside the parallel construct if the jump target is also inside it.[22]

Multiple entry

More rarely, subprograms allow multiple entry. This is most commonly only re-entry into a coroutine (or generator/semicoroutine), where a subprogram yields control (and possibly a value), but can then be resumed where it left off. There are a number of common uses of such programming, notably for streams (particularly input/output), state machines, and concurrency. From a code execution point of view, yielding from a coroutine is closer to structured programming than returning from a subroutine, as the subprogram has not actually terminated, and will continue when called again – it is not an early exit. However, coroutines mean that multiple subprograms have execution state – rather than a single call stack of subroutines – and thus introduce a different form of complexity.

It is very rare for subprograms to allow entry to an arbitrary position in the subprogram, as in this case the program state (such as variable values) is uninitialized or ambiguous, and this is very similar to a goto.

State machines

Some programs, particularly parsers and communications protocols, have a number of states that follow each other in a way that is not easily reduced to the basic structures, and some programmers implement the state-changes with a jump to the new state. This type of state-switching is often used in the Linux kernel.[citation needed]

However, it is possible to structure these systems by making each state-change a separate subprogram and using a variable to indicate the active state (see trampoline). Alternatively, these can be implemented via coroutines, which dispense with the trampoline.

See also

References

Citations

  1. ^ Clark, Leslie B. Wilson, Robert G.; Robert, Clark (2000). Comparative programming languages (3rd ed.). Harlow, England: Addison-Wesley. p. 20. ISBN 9780201710120. Archived from the original on 26 November 2015. Retrieved 25 November 2015.{{cite book}}: CS1 maint: multiple names: authors list (link)
  2. ^ Böhm & Jacopini 1966.
  3. ^ Dijkstra 1968, p. 147, "The unbridled use of the go to statement has as an immediate consequence that it becomes terribly hard to find a meaningful set of coordinates in which to describe the process progress. ... The go to statement as it stands is just too primitive, it is too much an invitation to make a mess of one's program."
  4. ^ a b "What is Structured Programming?". Software Quality. Retrieved 2024-04-09.
  5. ^ "Reading: Structured Programming | ITE 115 Introduction to Computer Applications and Concepts". courses.lumenlearning.com. Retrieved 2024-04-09.
  6. ^ Dijkstra 1968.
  7. ^ Plauger, P. J. (February 12, 1993). Programming on Purpose, Essays on Software Design (1st ed.). Prentice-Hall. p. 25. ISBN 978-0-13-721374-0.
  8. ^ DLS • Donald Knuth • All Questions Answered. YouTube. University of Waterloo. 15 Nov 2018. 48 minutes in. Retrieved 24 July 2022.
  9. ^ Donald E. Knuth (December 1974). "Structured programming with go to statements" (PDF). Computing Surveys. 6 (4): 261–301. doi:10.1145/356635.356640. S2CID 207630080. Archived from the original (PDF) on 2013-10-23.
  10. ^ In EWD1308, "What led to "Notes on Structured Programming""., dated 10 June 2001, Dijkstra writes, "Apparently, IBM did not like the popularity of my text; it stole the term "Structured Programming" and under its auspices Harlan D. Mills trivialized the original concept to the abolishment of the goto statement."
  11. ^ Frank Rubin (March 1987). ""GOTO Considered Harmful" Considered Harmful" (PDF). Communications of the ACM. 30 (3): 195–196. doi:10.1145/214748.315722. S2CID 6853038. Archived from the original (PDF) on 2009-03-20.
  12. ^ Elder, Matt; Jackson, Steve; Liblit, Ben (October 2008). Code Sandwiches (PDF) (Technical report). University of Wisconsin–Madison. 1647.
  13. ^ Jay Fields; Shane Harvie; Martin Fowler; Kent Beck (2009). Refactoring: Ruby Edition. Pearson Education. pp. 274–279. ISBN 978-0-321-60350-0.
  14. ^ Herb Sutter; Andrei Alexandrescu (2004). C++ Coding Standards: 101 Rules, Guidelines, and Best Practices. Pearson Education. ISBN 978-0-13-265442-5. Example 4: Single entry, single exit ("SESE"). Historically, some coding standards have required that each function have exactly one exit, meaning one return statement. Such a requirement is obsolete in languages that support exceptions and destructors, where functions typically have numerous implicit exits.
  15. ^ Watt & Findlay 2004, pp. 215–221.
  16. ^ Bertrand Meyer (2009). Touch of Class: Learning to Program Well with Objects and Contracts. Springer Science & Business Media. p. 189. ISBN 978-3-540-92144-8.
  17. ^ "Single-Entry, Single-Exit, Should It Still be Applicable in Object-oriented Languages?". Peter Ritchie's MVP Blog. 7 March 2008. Archived from the original on 2012-11-14. Retrieved 2014-07-15.
  18. ^ Watt & Findlay 2004, pp. 221–222.
  19. ^ Kenneth C. Louden; Kenneth A. Lambert (2011). Programming Languages: Principles and Practices (3rd ed.). Cengage Learning. p. 423. ISBN 978-1-111-52941-3.
  20. ^ Arvind Kumar Bansal (2013). Introduction to Programming Languages. CRC Press. p. 135. ISBN 978-1-4665-6514-2.
  21. ^ Weimer, W. & Necula, G.C. (2008). "Exceptional Situations and Program Reliability" (PDF). ACM Transactions on Programming Languages and Systems. 30 (2). 8:27. doi:10.1145/1330017.1330019. S2CID 3136431. Archived from the original (PDF) on 2015-09-23.
  22. ^ Rohit Chandra (2001). Parallel Programming in OpenMP. Morgan Kaufmann. p. 45. ISBN 978-1-55860-671-5.

Sources

  • BPStruct - A tool to structure concurrent systems (programs, process models)
  • J. Darlinton; M. Ghanem; H. W. To (1993), "Structured Parallel Programming", In Programming Models for Massively Parallel Computers. IEEE Computer Society Press. 1993: 160–169, CiteSeerX 10.1.1.37.4610

Read other articles:

Estádio Urbano CaldeiraVila BelmiroLokasiRua Princesa Isabel,Vila Belmiro,Santos, BrasilKoordinat23°57′4″S 46°20′20″W / 23.95111°S 46.33889°W / -23.95111; -46.33889Koordinat: 23°57′4″S 46°20′20″W / 23.95111°S 46.33889°W / -23.95111; -46.33889PemilikSantos FCOperatorSantos FCKapasitas16,068[1]Rekor kehadiran31.662 (Santos vs Palmeiras, 15 Februari 1976)[2]Ukuran lapangan105 × 80 m (114.8 × 87.5...

Willard Van Orman Quine Willard Van Orman Quine, 1980.Född25 juni 1908[1][2][3]Akron, USADöd25 december 2000[1][2][3] (92 år)Boston[4]Begravdkremering[5]Medborgare iUSAUtbildad vidHarvard University, 1932[6]Oberlin College, 1930[6] SysselsättningMatematiker, universitetslärare, filosof, logiker, vetenskapsfilosof, språkfilosof, epistemolog, analytisk filosof, språkvetareArbetsgivareHarvard University (1933–1978)[7][6]USA:s flotta (1942–1945)[6]Wesleyan University (1964

This article's lead section may be too short to adequately summarize the key points. Please consider expanding the lead to provide an accessible overview of all important aspects of the article. (June 2023) The Seven Men of Knoydart was the name given, by the press at the time, to a group of land raiders who tried to appropriate land at Knoydart in 1948.[1] The name evoked the memory of the Seven Men of Moidart, the seven Jacobites who accompanied the Young Pretender on his voyage to ...

Private liberal arts college in Indiana, U.S. This article may rely excessively on sources too closely associated with the subject, potentially preventing the article from being verifiable and neutral. Please help improve it by replacing them with more appropriate citations to reliable, independent, third-party sources. (April 2017) (Learn how and when to remove this template message) Goshen CollegeThe Seal of Goshen CollegeFormer namesElkhart Institute of Science, Industry and the Arts (1894...

نزة  -  قرية مصرية -  تقسيم إداري البلد  مصر المحافظة محافظة سوهاج المركز جهينة المسؤولون السكان التعداد السكاني 10398 نسمة (إحصاء 2006) معلومات أخرى التوقيت ت ع م+02:00  تعديل مصدري - تعديل   قرية نزة هي إحدى القرى التابعة لمركز جهينة بمحافظة سوهاج في جمهورية مصر الع

この項目では、アメリカ合衆国大統領について説明しています。その他の用法については「トーマス・ジェファーソン (曖昧さ回避)」をご覧ください。 トーマス・ジェファソンThomas Jefferson アメリカ合衆国第3代 大統領 任期 1801年3月4日 – 1809年3月4日 副大統領 アーロン・バー(1801年 - 1805年)ジョージ・クリントン(1805年 - 1809年) アメリカ合衆国第2代 副大統領 任...

У Вікіпедії є статті про інших людей із прізвищем Публій Корнелій Сципіон. Публій Корнелій СципіонНародився 1 століттяПомер невідомоКраїна Стародавній РимДіяльність політик, військовослужбовецьСуспільний стан патрицій[d]Посада консул і давньоримський сенат...

Patriarchaalkruis Het patriarchaalkruis, centraal in de bovenkapel van de schatkamer Kunstenaar meester Ulrich Peters Jaar ca. 1490 Ontstaanslocatie Maastricht, Maasland Huidige locatie schatkamer van de Sint-Servaasbasiliek, Maastricht Stroming laatgotische edelsmeedkunst Materiaal verguld zilver Breedte 41 cm Hoogte 73,3 cm Portaal    Kunst & Cultuur Christendom Maastricht Het patriarchaalkruis van de Sint-Servaasbasiliek in Maastricht, ook wel dubbelkruis of reliekenkruis gen...

Верства — термін, який має кілька значень. Ця сторінка значень містить посилання на статті про кожне з них.Якщо ви потрапили сюди за внутрішнім посиланням, будь ласка, поверніться та виправте його так, щоб воно вказувало безпосередньо на потрібну статтю.@ пошук посилань са

Audi R8Audi R8 V10 Plus (Type 4S)InformasiProdusenAudi (Audi Sport GmbH)[1]Masa produksi2006–sekarangBodi & rangkaKelasMobil sport (S)Bentuk kerangka2-pintu coupé2-pintu convertible (spyder)Tata letakLongitudinal tengah Audi R8 adalah mobil sport mesin tengah, 2-kursi, yang menggunakan sistem penggerak all-wheel drive permanen quattro merek dagang Audi. Itu diperkenalkan oleh produsen mobil Jerman Audi AG pada tahun 2006. Mobil ini dirancang, dikembangkan, dan diproduksi s...

This article is about a former Marvel Comics imprint. For the Marvel Studios record label that publishes its film soundtracks, see Marvel Music (record label). Marvel MusicParent companyMarvel ComicsStatusDiscontinuedPredecessorMarvel Music Groups[1][2](1981–1989)Founded1994 (1994)Defunct1995 SuccessorMarvel Music (record label) (through Hollywood Records)Country of originUnited StatesHeadquarters locationNew York CityKey peopleMort Todd (Editor)Karl Bollers(assist...

Pour les articles homonymes, voir Siège de Gibraltar. Siège de Gibraltar Veüe du d'Estroit de Gibraltar et des Environs, avec les tranchées du Siège mis en 1704, par Louis Boudan (1704) Informations générales Date septembre 1704 - mai 1705 Lieu Gibraltar Issue Échec du siège. Les Confédérés gardent le contrôle de Gibraltar. Belligérants Forces Bourbon : Royaume d'Espagne Royaume de France Forces confédérées : Royaume d'Angleterre Provinces-Unies Archiduch...

  لمعانٍ أخرى، طالع المشبة (توضيح). قرية المشبة  - قرية -  تقسيم إداري البلد  اليمن المحافظة محافظة المحويت المديرية مديرية ملحان العزلة عزلة العسوس السكان التعداد السكاني 2004 السكان 852   • الذكور 415   • الإناث 437   • عدد الأسر 94   • عدد المساكن 87 معلو...

Historic district in Oklahoma, United States United States historic placeOil Capital Historic DistrictU.S. National Register of Historic PlacesU.S. Historic district Oil Capital Historic District in Tulsa, looking East along 5th Street from Main Street intersectionLocationTulsa, OklahomaBuilt1910–1967ArchitectmultipleArchitectural stylemultipleNRHP reference No.10001013Added to NRHPDecember 13, 2010 The Oil Capital Historic District (OCHD) is an area in downtown Tulsa, Ok...

2010 single by Justin Bieber featuring UsherSomebody to LoveRemix singleSingle by Justin Bieber featuring Usherfrom the album My World 2.0, Never Say Never: The Remixes and Versus A-sideNever Say NeverReleasedJune 28, 2010Recorded2009StudioShort Bus Studios(North Hollywood, California)Genre Pop dance Length3:40 (My World 2.0 version)3:44 (remix featuring Usher)3:28 (Versus version)3:34 (J-Stax remix)LabelIsland, RBMGSongwriter(s) Justin Bieber Heather Bright Jonathan Yip, Ray Romulus, Jeremy ...

For the men's team, see Angola men's national under-16 and under-17 basketball team. Angola2017 FIBA Under-16 Women's African ChampionshipFIBA ranking34 Joined FIBA1979FIBA zoneFIBA AfricaNational federationFAB Portuguese: Federação Angolana de BasquetebolCoachElisa PiresFIBA Africa Under-16 Championship for WomenAppearances4Medals (1) 2017 (3) 2009, 2011, 2015 Away The Angola women's national basketball team Under-16 represents Angola in international basketball competitions and is control...

This article does not cite any sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: God of Gamblers 3: The Early Stage – news · newspapers · books · scholar · JSTOR (June 2019) (Learn how and when to remove this template message) 1996 filmGod of Gamblers 3: The Early StageDirected byWong JingWritten byWong JingProduced byWong JingStarringLeon LaiAnita YuenJorda...

Science fiction film by James Cameron James Cameron's Avatar redirects here. For the media franchise that began with this film, see Avatar (franchise). Avatar 1 redirects here. For the first season of Avatar: The Last Airbender, see Avatar: The Last Airbender (season 1). AvatarTheatrical release posterDirected byJames CameronWritten byJames CameronProduced by James Cameron Jon Landau Starring Sam Worthington Zoe Saldana Stephen Lang Michelle Rodriguez Sigourney Weaver CinematographyMauro Fior...

Stasiun Kertapati K01 Gedung Stasiun Kertapati (2019)LokasiJalan Kemang KertapatiKemas Rindo, Kertapati, Palembang, Sumatera Selatan 30258IndonesiaKetinggian+2 mOperatorKereta Api IndonesiaDivisi Regional III PalembangLetak dari pangkalkm 400+102 lintas Panjang–Tanjungkarang–Prabumulih–Kertapati[1]Jumlah peronTiga peron teluk dengan satu peron sisi dan dua peron pulau yang sama-sama cukup tinggiJumlah jalur14 (jalur 7 dan 11: jalur lurus) jalur 1-6: terminus untuk KA batu bara j...

1714 battle of the Great Northern War Battle of Hanko redirects here. For the World War II battle, see Battle of Hanko (1941). Battle of GangutPart of Great Northern WarDate7 August 1714LocationHanko Peninsula, southern FinlandResult Russian victoryBelligerents Swedish Empire Tsardom of RussiaCommanders and leaders Gustaf Wattrang Nils Ehrenskiöld Peter I Fyodor Apraksin Matija ZmajevićStrength 1 pram6 galleys2 skerry boats941 men[1] 98 galleys,[2]: 118  of w...