Question: 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
fast please Q1: Code written using language A Line 1: x=3 Line

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!