Question: Q1. Python - define two complex numbers, and perform the following operations: addition, subtraction, multiplication, and division. Q2. 2s complement: represent the following integer numbers

Q1. Python - define two complex numbers, and perform the following operations: addition, subtraction, multiplication, and division. Q2. 2s complement: represent the following integer numbers by their 2-complement: -6 and +10. Assume that the storage space of each number is 4 bytes. G3. C++ - define 2 c-style strings (e.g, strl and str2) and perform the following operations: copy str2 to str, concatenate strl and strl into one string, and find the length of str2. Q4. repeat the operations in Q3 by the definitions and operations available for C++ string class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
