beijanm / tri2.

Apache License 2.0
0 stars 0 forks source link

Binary Review Ticket #7

Open TimoA35 opened 9 months ago

TimoA35 commented 9 months ago

What I did

Python Code Execution: I executed a Python script that included functions for binary operations. These functions were multiply, add, and is_even_or_odd. The multiply function used bitwise operations to multiply two numbers, while the add function performed addition using bitwise operations. The is_even_or_odd function determined whether a number was even or odd using a bitwise operation. I then used these functions to calculate and print the product, sum, and even/odd status of two numbers. HTML and JavaScript Code Review: I reviewed two HTML documents, each containing JavaScript code for binary operations and conversions. The first HTML document featured a web page for performing various binary operations like binary to decimal conversion, bitwise operations (AND, OR, XOR, NOT), and bit shifting (left and right). The second HTML document contained a binary numeral hex converter, which converted each numeral in a user-entered number to its binary representation.

What I Learned:

Bitwise Operations in Python: The use of bitwise operations (&, |, ^, ~, <<, >>) in Python to perform basic arithmetic operations like addition and multiplication. JavaScript for Web Interaction: How JavaScript can be used in a web context to interact with user input, perform calculations, and display results dynamically. Binary and Decimal Conversions: The process of converting binary numbers to decimal and vice versa, as well as understanding different bitwise operations and their impact in both Python and JavaScript. User Interface with HTML and JavaScript: The integration of HTML and JavaScript to create interactive web pages that respond to user input and display results.

What I Could Have Done with More Time:

Expand Python Functions: I could have extended the Python script to include more complex binary operations or optimizations for efficiency. Enhance Web Applications: For the HTML and JavaScript code, I could have added more features, such as error handling, user interface improvements, and support for additional numerical systems like hexadecimal. Interactive Demonstrations: I might have created an interactive web page or a GUI application to demonstrate these binary operations in a more user-friendly manner. In-depth Explanation: Providing a more detailed explanation or tutorial on how these bitwise operations work and their practical applications in computer science and programming.

Key Commits

Video

ninaadkiran commented 9 months ago

Individual Review "My name" grading "Their name"

Individuals Video, Issue(s), Commits(s)

Per check. 0.55 not attempted/no check 0.7 attempted, incomplete, but some runtime 0.8 mastery and runtime 0.9 above and beyond.

Freeform comment. I think you have done really well and contributed a good chunk of code. I think it shows your understanding of the learning that took place with regards to binary.