CIS2750 Week 8 Questions and Correct
Answers/ Latest Update / Already Graded
software components are often written in different languages because
Ans: different languages have their own pros and cons
why is making two software components written in different languages
work together so tricky?
Ans: code with the same functionality might compile to
completely different CPU instructions because different
languages support different run-time features
why is types an issue between different languages?
Ans: • An int in Language A could be 4 bytes, while in
Language B its 8
• Some languages only have signed ints
• Some languages do not have any access to pointers at all
• Complex types - e.g. advanced data structures, classes, etc. -
may have completely different layouts
examples of high-performance languages include
Ans: C and C++
All rights reserved © 2025/ 2026 |
, Page |2
examples of high productivity languages include
Ans: Python and other scripting languages
what do typical APIs do in a multi-lingual scenario
Ans: - they write the performance sensitive parts in C
- they write the interface and main logic in Python or some
other high-productivity language
cTypes
Ans: A foreign function library for Python that provides C
compatible data types and allows calling functions in DLLs or
shared libraries
programming is
Ans: data processing
how is programming data processing?
Ans: - users want easy access to information that helps them
make real-world decisions
All rights reserved © 2025/ 2026 |