Programming Languages Flashcards

1
Q

What’s the difference between an Interpreter and Compiler?

A
  • An interpreter is a tool that translates code into machine code line by line to be executed.
  • Compiler is a tool that translates entire source code into machine code to be executed by computer. Doesn’t translate line by line . E.g: C, C++, Java, Go.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a Scripting Language? Provide a few examples.

A
  • Are programming languages that creates scripts (small programs that are able to automate tasks on a computer).
  • Common exampels are Python, Powershell, Javascript, R, Ruby.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the difference between HTML and XML? What is a markup language?

A
  • HTML is a Markup language that uses tags on certain text files that are used within the development of a website.
  • XML is also a Markup language that exchanges the structural data between systems; stores and transports data.
  • Markup language is a system of tags that structure a document.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is an assembly language?

A

Is a programming language where executed code works directly with hardware.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a Query Language?

A

Is a specialised language that is able to extract or modify data within a database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly