About: Block (programming)     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : yago:WikicatProgrammingConstructs, within Data Space : dbpedia.demo.openlinksw.com associated with source document(s)
QRcode icon
http://dbpedia.demo.openlinksw.com/describe/?url=http%3A%2F%2Fdbpedia.org%2Fresource%2FBlock_%28programming%29&invfp=IFP_OFF&sas=SAME_AS_OFF

In computer programming, a block or code block or block of code is a lexical structure of source code which is grouped together. Blocks consist of one or more declarations and statements. A programming language that permits the creation of blocks, including blocks nested within other blocks, is called a block-structured programming language. Blocks are fundamental to structured programming, where control structures are formed from blocks.

AttributesValues
rdf:type
rdfs:label
  • Blok (programování) (cs)
  • Blockstruktur (de)
  • Bloko (programlingva) (eo)
  • Block (programming) (en)
  • Bloque de código (es)
  • 블록 (프로그래밍) (ko)
  • ブロック (プログラミング) (ja)
  • Blok (informatica) (nl)
  • Instrukcja blokowa (pl)
  • Блок (програмування) (uk)
  • 块 (编程) (zh)
rdfs:comment
  • Bloková struktura je v informatice označení pro zdrojový kód programu, který je rozčleněn do samostatných bloků (úseků) používaných ve strukturovaném programování. Bloky rozčleňují kód na souvislé logické části (řídící struktury pro podmínku if, cyklus while-do, cyklus for a podobně) nebo samostatné funkční části u funkcí a procedur. Strukturované programování umožňuje vzájemné zanořování bloků, což umožňuje používat lokální proměnné a funkce. (cs)
  • 프로그램 코드에서 블록(영어: Block)은 어떠한 동작을 수행할 때 필요한 코드를 묶어놓은 것이다. 대부분의 프로그래밍 언어에서는 이를 중괄호나 들여쓰기로 구분한다. (ko)
  • Een blok (Engels: block) is in de informatica een verzameling statements en declaraties. Blokken kunnen worden genest, dat wil zeggen dat een blok een ander blok kan bevatten. Een aantal statements en declaraties kan daardoor worden behandeld alsof het een enkel statement was. Blokken vormen een essentieel onderdeel van gestructureerd programmeren, waar iteraties en conditionele statements met behulp van blokken worden gedefinieerd.Blokken worden in C, C++ en Java weergegeven met behulp van accolades ("{" en "}"), Pascal gebruikt de keywords "begin" en "end" en Python gebruikt ingesprongen regels. (nl)
  • ブロック (英: block) とは、プログラミング言語におけるコードのまとまり(コードブロック)のことである。 ブロック状のパーツを組み合わせてプログラミングを行うScratchなどの「ブロック」とは異なる。 (ja)
  • Instrukcja blokowa – (instrukcja złożona) jako instrukcja strukturalna jest elementem składni języków programowania strukturalnego, wydzielona część kodu źródłowego programu komputerowego, stosowane np. do grupowania sekwencji instrukcji składowych (prostych lub złożonych), ujmując je w nawiasy zdaniowe. Instrukcja blokowa wyróżniona jest przez odpowiednie symbole składniowe (nawiasy zdaniowe), np. w językach C, C++, Java symbolami takimi są nawiasy klamrowe { }, w Algolu i Pascalu słowa kluczowe begin end. Instrukcja blokowa jest traktowana na takich samych zasadach jak pojedyncza instrukcja. (pl)
  • 在计算机编程中,块(block)或代码块是将源代码组织在一起的词法结构。块构成自一个或多个声明和语句。编程语言允许创建块,包括嵌入其他块之内的块,就叫做块结构编程语言。块和子程序是结构化编程的基础,结构化所强调的控制结构是用块来形成的。 在编程中块的功能是确使成组的语句被当作如同就是一个语句,限定在一个块中声明的对象如变量、过程和函数的词法作用域,使得它们不冲突于在其他地方用到的同名者。在块结构编程语言中,在块外部的对象名字在块内部是可见的,除非它们被声明了相同名字的对象所遮掩。 (zh)
  • Die Blockstruktur (oder kurz der Block) ist ein Charakteristikum von Programmiersprachen. Ein Programm ist dabei aus Anweisungsblöcken aufgebaut. Diese dürfen im Allgemeinen auch ineinandergeschachtelt sein; das ganze Programm kann als ein großer, umfassender Block verstanden werden. Ein Block ist ein aus Anweisungen bestehender zusammengehöriger Abschnitt. Je nach Programmiersprache wird ein Block durch Schlüsselwörter wie begin und end eingeschlossen, durch geschweifte Klammern { } oder durch gemeinsame Einrückung des Programmtextes gekennzeichnet. Beispiele: (de)
  • In computer programming, a block or code block or block of code is a lexical structure of source code which is grouped together. Blocks consist of one or more declarations and statements. A programming language that permits the creation of blocks, including blocks nested within other blocks, is called a block-structured programming language. Blocks are fundamental to structured programming, where control structures are formed from blocks. (en)
  • En programlingvoj, bloko estas malsimpla ordono, kiu konsistas el vico da deklaroj kaj ordonoj. Samkiel parenteza ordono, bloko ebligas trakti vicon da ordonoj kiel unu ordonon. Por fari tion oni same pakas la komponantojn en la ordonajn «krampojn» <b>starto</b> ...<b>fino</b> (en la Paskala pseŭdokodo), aŭ <b>begin</b> ...<b>end</b> (en Algolo, en Pascal), aŭ <b>{</b> ...<b>}</b> (C). (eo)
  • El bloque de código es un usuario o sección de código con una o más declaraciones y sentencias. Un lenguaje de programación que permite bloques, incluyendo bloques anidados dentro de otros bloques es llamado un lenguaje de programación estructurado por bloques. En un en bloque, los nombres de las variables y otros objetos, como los procedimientos que son declarados en bloques externos son visibles dentro de otros bloques internos, a menos que sean sombreado por un objeto del mismo nombre. (es)
  • Блок в програмуванні (англ. block) — замкнена складова частина програми, яка являє собою сукупність інструкцій, які утворюють сферу дії деяких ідентифікаторів (імен). Блоки є одним з головних елементів структурного програмування. Поняття «блок» відповідає поняттю «підзадача» або «підалгоритм». Використовуючи блоки, можна розділити задачу на частини, які допускають автономне програмування. Кожен блок вводить новий рівень позначень шляхом описання ідентифікаторів і міток. В блоці може міститись як оператор інший блок. (uk)
differentFrom
dcterms:subject
Wikipage page ID
Wikipage revision ID
Link from a Wikipage to another Wikipage
sameAs
dbp:wikiPageUsesTemplate
has abstract
  • Bloková struktura je v informatice označení pro zdrojový kód programu, který je rozčleněn do samostatných bloků (úseků) používaných ve strukturovaném programování. Bloky rozčleňují kód na souvislé logické části (řídící struktury pro podmínku if, cyklus while-do, cyklus for a podobně) nebo samostatné funkční části u funkcí a procedur. Strukturované programování umožňuje vzájemné zanořování bloků, což umožňuje používat lokální proměnné a funkce. (cs)
  • Die Blockstruktur (oder kurz der Block) ist ein Charakteristikum von Programmiersprachen. Ein Programm ist dabei aus Anweisungsblöcken aufgebaut. Diese dürfen im Allgemeinen auch ineinandergeschachtelt sein; das ganze Programm kann als ein großer, umfassender Block verstanden werden. Ein Block ist ein aus Anweisungen bestehender zusammengehöriger Abschnitt. Je nach Programmiersprache wird ein Block durch Schlüsselwörter wie begin und end eingeschlossen, durch geschweifte Klammern { } oder durch gemeinsame Einrückung des Programmtextes gekennzeichnet. Beispiele: { Algol 60, Pascal }if a > 0 then begin b := b + 5; c := c - 2; endelse b := c - 1; //end if/* C, C++, Java */if (a > 0) { b += 5; c -= 2;} else b = c - 1;// end if Ein ganzer Anweisungsblock wird oft selbst als eine einzige Anweisung gesehen, was die Beschreibung der Programmiersprache vereinfacht. Die if-Klauseln im Beispiel müssen dabei lediglich so beschrieben sein, dass sie im Ja- (bzw. Nein-)Fall nur eine Anweisung beinhalten – statt dieser kann ein Anweisungsblock stehen, was nun beliebig lange Abfolgen von Anweisungen im jeweiligen Fall ermöglicht. Viele Programmiersprachen, zuerst wohl Algol 60, führten das Prinzip der Blockstruktur noch einen Schritt weiter, indem zu Anfang jedes solchen Blocks auch neue Deklarationen von Variablen oder sogar lokalen Prozeduren/Unterprogrammen erlaubt wurden. Dabei beschreiben die Anweisungsblöcke einen Geltungsbereich („Lebensdauer“) für diese Variablen (oder Unterprogramme). Diese dürfen dann sogar gleichnamige, „außen“ vorhandene Variablen überdecken. (de)
  • In computer programming, a block or code block or block of code is a lexical structure of source code which is grouped together. Blocks consist of one or more declarations and statements. A programming language that permits the creation of blocks, including blocks nested within other blocks, is called a block-structured programming language. Blocks are fundamental to structured programming, where control structures are formed from blocks. Blocks have two functions: to group statements so that they can be treated as one statement, and to define scopes for names to distinguish them from the same name used elsewhere. In a block-structured programming language, the objects named in outer blocks are visible inside inner blocks, unless they are masked by an object declared with the same name. (en)
  • En programlingvoj, bloko estas malsimpla ordono, kiu konsistas el vico da deklaroj kaj ordonoj. Samkiel parenteza ordono, bloko ebligas trakti vicon da ordonoj kiel unu ordonon. Por fari tion oni same pakas la komponantojn en la ordonajn «krampojn» <b>starto</b> ...<b>fino</b> (en la Paskala pseŭdokodo), aŭ <b>begin</b> ...<b>end</b> (en Algolo, en Pascal), aŭ <b>{</b> ...<b>}</b> (C). La ĉefa diferenco inter bloko kaj parenteza ordono konsistas en tio, ke bloko estas la regiono por ĉiuj siaj deklaroj, t.e. por ĉiuj nomoj en ĝi deklaritaj. Tial en Algolo-60 marko markanta ordonon ene de parenteza ordono estas videbla el la ekstero en la bloko entenanta ĉi tiun parentezan ordonon, kaj eblas salti en la parentezan ordonon el ekstere. Tio maleblas por bloko. (eo)
Faceted Search & Find service v1.17_git139 as of Feb 29 2024


Alternative Linked Data Documents: ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3330 as of Mar 19 2024, on Linux (x86_64-generic-linux-glibc212), Single-Server Edition (378 GB total memory, 58 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software