Win a copy of Hands On Software Engineering with Python this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

Are calculators allowed on the exam?  RSS feed

 
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was just working thru some practice problems that involved shifters and some binary operators (|,~,^,&) on some pretty large numbers ie: 0x80000000
Are you expected to be able to perform those calculations by hand or will most of the questions have small enough numbers?
And if calculators are allowed, just it matter what kind?
 
Ranch Hand
Posts: 355
Chrome Java Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think, NO.
 
Jay Dilla
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
wow so if there is a problem such as

int x = 0x80000000;
x = x >>> 2;
system.out.println(x);


i'm expected to know the base 2 numbers that high?
 
Ranch Hand
Posts: 304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you would know how to crack those the concepts you learn will be more stronger however it is NOT required if you aim to pass the exam. I dont think they expect something like thsi from you. This is my personal opinion.
 
Ranch Hand
Posts: 2410
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is extremely simple to convert a hex number to binary. That only requires you remembering what 0 - F mean.
 
author
Posts: 8991
19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On the 5.0 exam you don't need to worry about this stuff at all.

On the 1.4 exam understanding bit repesentations is a minor topic, and mostly you need to understand two-s complement and binary representaions in general, so that you know a big number, or a small number, or a negative number, when you see one. You don't have to be able to calculate 2^N where N is say bigger than maybe 4
 
Jay Dilla
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks bert bates.
Keith my problem is not with conversion, but the scale on which I will be converting, lol.
The converting from one number type to the other is easy, but I'm worried about having to figure out the binary of 7654325634654 on paper. It will be too time consuming imo.
 
Keith Lynn
Ranch Hand
Posts: 2410
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think you would ever get a number like that. What I was referring to was a number like 0x80000000, where its easy to get the bit representation.
 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No at all
 
It will give me the powers of the gods. Not bad for a tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!