Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

fast please Q1: Code written using language A Line 1: x=3 Line 2: func1 {print x; } Line 3: func2({ Line 4: int x=9; Line

fast please
image text in transcribed
Q1: Code written using language A Line 1: x=3 Line 2: func1 {print "x"; } Line 3: func2({ Line 4: int x=9; Line 4: funci; Line 5: x=4.5) Line 4: func1 Line 5: func2 Line 6: funci Output: No compilation errors. Running: 3 9 4.5 Code written using language B Line 1: X3 Line 2: func1 0 {print "x"; } Line 3: func2 0 { Line 4: int x=9; Line 4: func1; Line 5: x=4.5) Line 4: funci Line 5: func2 Line 6: funci Output: Running: 3 3 Error x is int and assigned a float value Compare between language A and language B in terms of being 1) compiled vs. interpreted Inter Peter 2) imperative vs, declarative compiler 3) object-oriented vs. non-object-oriented and 4) weakly typed vs strongly typed 5) statically scoped vs. dynamically scoped * (12 pt)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases New Opportunities For Connected Data

Authors: Ian Robinson, Jim Webber, Emil Eifrem

2nd Edition

1491930896, 978-1491930892

Students also viewed these Databases questions

Question

Provide examples of Dimensional Tables.

Answered: 1 week ago