Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does 'Language Construct' mean?

Tags:

terminology

I am learning C from 'Programming in C' by Stephen Kochan.

Though the author is careful from the beginning only not to confuse the students with jargon, but occasionally he has used few terms without explaining their meaning. I have figured out the meaning of many such terms with the help of internet.

However, I could not understand the exactly meaning of the phrase 'language construct', and unfortunately the web doesn't provide a good explanation.

Considering I am a beginner, what does 'language construct' mean?

like image 727
KawaiKx Avatar asked Apr 07 '12 19:04

KawaiKx


People also ask

What the language constructs actually do?

Language constructs are what makes up the language: things like "if" "for" "while" "function" and so on. The mentions in the PHP manual of things like "echo", "die" or "return" are there to make it clear that these are NOT functions and that they do not always behave like functions.

What is a language construct in Python?

Construct is a Python library for the construction and deconstruction of data structures in a declarative fashion. In this context, construction, or building, refers to the process of converting (serializing) a programmatic object into a binary representation.

What is a construct in language testing?

The knowledge, skills, abilities, and other characteristics that are the focus of an assessment are described in terms of a “construct.” A construct is an abstract, theoretical concept, such as “knowledge” or “proficiency,” that has to be explicitly described and specified in test design.

What is meant by construct in programming?

Programs are designed using common building blocks, known as programming constructs. These programming constructs form the basis for all programs. Computer Science. Computational thinking and problem solving.


1 Answers

First, you need to understand what a constructed language is. All programming languages are constructed languages (read the reference). You may then read a little bit about compiler construction, including this reference as well.

Going back to your question, consider this: The English language (a natural language) has tokens 'A-Z/0-9/,;"...' which we use to build "words" and we use languages rules to build sentences out of words. So, in the English language, a construct is what we build out of tokens.

Consider this brick-and-mortar example: Imagine if you set out to build a house, the basic materials you might use are: sand, iron, wood, cement, water (just five for simplicity). Anything you build out of these 4 or 5+ items would be a "construct", which in turn helps you build your house.

I have intentionally omitted details to further simplify the answer; hope this is helpful.

like image 121
sakhunzai Avatar answered Sep 19 '22 14:09

sakhunzai