Search Header Logo

Quiz 1 CSC305

Authored by PUTERA AFFLIQ AFFIZAL

Computers

University

Used 61+ times

Quiz 1 CSC305
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is NOT a criteria that is taken into consideration when selecting a programming paradigm or language to develop an application?

The domain for which the application is developed

The availability of compilers or interpreters for the language

The degree of human interactivity required for the application

The history of the programming paradigm

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A compilation process involves 3 different types of analyzer. Select the correct order of analyzer used in translating source code to intermediate code.

lexical analyzer - semantic analyzer -syntax analyzer

lexical analyzer - syntax analyzer - semantic analyzer

syntax analyzer - semantic analyzer - lexical analyzer

semantic analyzer - lexical analyzer - syntax analyzer

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The followings are the goals of syntax analyzer EXCEPT

to construct hierarchical structures

to detect syntax errors

to ignore comment

to produce a parse tree

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The code generator translates the optimized intermediate code version of the program into an equivalent __________.

assembly language

machine language

programming language

source language

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The first high level programming language was designed in 1954 by IBM specifically for scientific programming and it was known as ___________.

C++

ADA

Fortran

Cobol

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Listed below are key concepts of programming languages EXCEPT __________.

computation

human-readability

machine-readability

security

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The earliest functional language is ________ which was developed by John McArthy at MIT in the late 1950s and was based on lambda calculus.

LISP

COBOL

Pascal

C

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?