Google for Education presents: Google RISE Awards!        

Google for Education just opened applications for the Google RISE Awards, a $10-25k USD grant given to nonprofit organizations globally that give girls and underrepresented students access to computer science through extracurricular outreach programs. In 2015, 37 organizations from 17 countries received RISE Awards for projects ranging from programming clubs in Johannesburg to workshops on CS and music production in San Francisco. 

chromebooks.JPG
Learning about CS promotes valuable problem solving skills that students can apply to any field of study. Unfortunately, many students have a negative perception of what CS is and who it’s for. By partnering with nonprofits that are providing students with access and exposure to CS, we hope to change this perception and encourage more students to pursue CS. We’ve been inspired by the creativity and passion we’ve seen from our past RISE awardees, and this year we’re excited to expand the reach of the RISE awards by opening two rounds of funding applications for nonprofit organizations. 

The RISE Awards are now accepting applications through February 19, and more information on the application process is listed on our website. Visit g.co/csedu to learn more about Google’s other CS resources, including our CS teacher professional development awards, Computer Science for High School (CS4HS), which is also currently accepting applications for the 2016 year.


          It’s So Hard To Say Good-Bye: TV Series Finales        
As I mentioned last week in my May Finale Blues blog, the culmination of May sweeps is a hard time for me. But, my end of May malaise is not just due to the sudden withholding of my regularly scheduled programming. I also grieve for the loss of a few beloved shows that have finished … Continue reading
          Nielsen Acquires AI-Powered Sports Marketing Startup VBrand        
vBrand has developed a machine learning-enabled platform to measure brand exposure and impact in sports programming. The acquisition of ...
          Post Shuwit Shuwit Nyampah - Hahaha~        
bila tengok gambar ni, terus rasa "pandai aku jaga... mengembang dengan helokkk"
hahahahahaha


10 tahun dah.. 
banyak sangat ups and downs yang kitorang dah lalui
dari zaman freehair pakai cap, sampai la *ehem*ayu*ehem* macam ni.. hahaahaha


teringat lagi, nak mengorat ambik nombor phone depan depan takut
ye lah, wanie jenis ignorance sikit - not too friendly dengan orang tak kenal
pergi kelas, balik kelas ... petang nye atau malam pegi gym training Taekwondo
weekend? 
membuta je ... takpun jejalan pegi Times Square / Jusco / Midvalley sesorang
last-last?
buat-buat pinjam buku Java Programming
sebab dapat tau yang semua buku-buku wanie, ada nombor phone (time tu buku mahal, takde nak download-download) so kalau wanie misplaced buku tu, hopefully ada orang call lah.. hahaha


awal-awal dulu, SMS "Hi" je... 
nak ngorat tapi tak reti
lama-lama, sebab se"utara" , jadi rapat - kalau nak balik kampung, naik bas sekali 
ada chemistry sebab sama-sama agak skema
port dating dulu-dulu haruzzzlahh Lowyat kan
paham-paham je lah interest sama.. 
further study pun sesama lagi, course sama
cuma result dia lah lagi excellent 
walaupun dalam kelas, keja membuta.. notes pun ambik kat kita yang macam nak putus jari mencatat itu ini


tak sangka
2 bulan lagi bakal disatukan jadi husband and wife
dalam masa bertunang ni
dua-dua cuba lebih memahami dan lebih mengenali 
Alhamdulillah... 
takde dugaan yang berat berat
cuma masing-masing terlampau sibuk dengan kerja, sampai rasa kena abandon 
tapi cepat-cepat kami "fix" balik loophole tu


dalam hubungan perlu ada
give and take
trust
understanding
loyal
jealousy
loving
caring
be yourself

know-how-to-annoy-your-partner
contohnya 
nyanyi kuat-kuat dalam keta walaupun suara kelautt
kutuk-kutuk each other
contohnya
gumuknyeee... but i still love u! 
haaagitteww..
- padahal, kita pun dah start mengembang dengan marvelous ni -


harapannya
#kejannah uolzzz..
hahaha~


- wanie
- 09:58 | 1/22/2017 -
- Hewlett-Packard -

p/s : ye, kena keja weekend. sebab takde user ni yang boleh blogging!

          The Following        
  • Media Blog Project.
  • Topic #2: TV as a cultural mirror.

     I watched The Following episode 2 "Chapter Two", which aired on FOX Monday, January 28th at 9:00 pm.  The Following is a drama and suspenseful TV show that stars Kevin Bacon who is a former FBI agent that has been asked to come back for a very large case involving a murderer that he put away for life who has amassed a "cult following" to do his dirty work for him now.  In this particular episode, Dr. Joe Carroll (James Purefoy), who Ryan Hardy (Kevin Bacon) has put in jail previously, has had his "followers" kidnap his his son from his ex-wife and Hardy and the FBI agents and police officers he is consulting with are looking for him.  Hardy discovers the house where the "followers" meet and they reconfirm that all of Carrolls symbolism and antics are based off Edgar Allen Poe's writings.  In that house, Hardy was attacked by a man wearing a Poe mask and later at the end of the episode we see a masked Poe man light a man on the street on fire and run away.
     The ads that aired during this episode are pretty much the stereotypical ads that you would expect.  There were ads for cars and car dealerships; including Honda, Kia, Chevrolet, Ford, Subaru, and Buick.  There were also ads for different foods like Lean Cuisine, Campbell's, and Weight Watchers meal plans.  In the category of online dating, notable services were Christian Mingle, Match.com, and eHarmony.  Major commercials that were most prominent and were aired multiple times included Ford, Honda, Chevrolet, Comcast, Direct TV, Kiefer Kia, John and Phil's, Guaranty in Junction City, beer brands like Coors, Heineken, and Budweiser, and of course there is always the Fox News ads that feature their anchors for around 15 seconds each time a commercial ends to continue with the program.  These commercials all fit the demographic that the TV show is trying to reach.  Younger adults through mid-life adults.  These are all people who have cars or will by buying new cars in the future, they may be insecure about their weights or just want some food that is not only tasty but healthy or a viewer who is single and wants to find somebody.  The commercials are definitely spot on for their target audiences as far as I am concerned. 
     The Following is meant for more mature audiences and was rated TV 14 for language, images, sexual situations and the like.  The actors and actresses were dressed appropriate for our time period and the authority figures has appropriate looking uniforms.  Most of the men who were FBI agents wore suits and the women wore suits as well.  Compared to other shows like this one, I would say that dress and mannerisms are identical and what you expect and would want to see for a drama/suspenseful TV show.  The main thing, for me, that makes this show different than others is the fact that the whole show is based around an ex FBI agent and the man he put away years before and the this guys "followers" and how they are operating.  I have never seen a show like this one in terms of that.
     A major stereotype that occurred in this particular episode was about police officers.  There were several cuts to them just standing around and drinking coffee around the house they were supposed to be guarding.  Same thing happened when they were shown at the scene of the murders in the sorority house after they had come in and done the initial reports on the situations.  The other stereotype that I noticed, and probably the most prominent, is that the wife of Carroll, who is an attractive woman, had an affair with Hardy who was the main FBI agent that was there when her husbands case was first taking place.  This refers to her being maybe a weak and needy woman who has lost who she thought was her best friend and trusted lover and in walked tough, strong, independent agent Hardy who was not married.  These kinds of relationships always happen in TV shows and movies and aren't always the reality of true real life.  Other than these two outstanding stereotypes, I think the directors and producers have done a pretty good job at trying to be new and different in the ways of how the TV show operates within the story lines and isn't too predictable.  If I were a viewer from another country, I would not think much of the shows Americans watch because I am sure there are many good dramas that air in other country's.  In fact, The Following actually airs in the U.S. plus another 17 countries.  If I were not from here, based on the commercials, I would say that there is a problem with people being overweight and single and everybody is buying new cars.
    I do not watch many crime/drama/suspense TV shows but I would say that this one, as of now (it's only aired two episodes total so far) is a TV show that I am expecting to be kept on FOX and be aired for at least several seasons or until the story is wrapped up and concluded.  What really keeps me interested in this show is that it's not as predictable as other similar shows.  Usually I am able to predict what can happen in a TV show after 15 minutes or so.  I am not so accurate with this one.
    I would tend to agree with the 7.5 stars that IMDB gave them.  If I never watched it I wouldn't feel like a part of my life was missing but if I just stopped watching I would be very curious as to what happened in each episode.  My girlfriend watches the this show with me and what she likes most about The Following is all the plot twists.  I definitely agree.  It's a very engaging TV show.  One thing that all TV shows like this one do is end with a cliff hanger.  That cliff hanger keeps you wondering all week what is going to happen in the next show and that brings back viewers from previous weeks.
    I have seen every single episode The Following! Wait, that's only two episodes.  But still, it is one that I am going to have to add to my list of shows that I try to keep up on.  I am not a user of social media so I don't follow the show on Twitter or on Facebook but I have visited the shows page on FOX and the opening sentence on their page paragraph about the show is very interesting.  "The FBI estimates there are currently up to 300 active serial killers in the United States."  This is a very bold statement and scary statistic.  One thing that the average viewer may not know is that Hardy wrote a book sharing the details of his previous investigation and other factoids about his case regarding Carroll.  If a book like this came out or is already out here in real life, that would be a very interesting and possibly quite controversial book.
    Overall, I would recommend The Following to most normal people who enjoy good TV shows that keep the viewers eyes glued to their TV.  Upon further examination, one could come to the conclusion that TV programs, the ads run, and the particular channel or station that is airing all have very close relation and share the same views and interests. 
          Field Museum Educational Investments in Pembroke        
Environment & Conservation

 

The Field Museum Keller Science Action Center’s Youth Conservation Action (YCA) Team partnered with Lorenzo R. Smith Sustainability and Technology Academy (LRSSTA) for the 2016-2017 academic year. The team is working with teachers to provide Mighty Acorns (3rd – 5th grade) and Earth Force (6th – 8th grade) programming to educate students about nature and stewardship in the Pembroke-Hopkins Park community. Students participate in field trips and in-class activities that allow them to make connections to nature in their backyard, such as The Pembroke Savanna Nature Preserve (Ball Hill). Field Museum is excited to be collaborating with The Nature Conservancy and local landowners to get LRSSTA students outdoors.  

After a successful year at the Pembroke Public Library, LRSSTA is the new home of Rooted! The Richness of Land & Culture, an exhibit co-developed by Field Museum and PHP residents that highlights the significance of this ecosystem and local human history. We encourage members of the community to enjoy this exhibit.


          NVIDIA R382.88 Graphics Driver for Developers: OpenGL 4.6 + Vulkan 1.0.56        
Yesterday, NVIDIA has published a graphics driver for developers that packs latest features in the field of graphics programming: the support of the new OpenGL 4.6 and the latest version 1.0.56 of...

          Papers we Scrutinize: How to critically read papers        

As someone who enjoys being at the intersection of the academic world and the world of industry, I'm very happy to see any attempts at bridging this harmful gap. For this reason, it is great to see that more people are interested in reading academic papers and that initiatives like Papers We Love are there to help.

There is one caveat with academic papers though. It is very easy to see academic papers as containing eternal and unquestionable truths, rather than as something that the reader should actively interact with. I recently remarked about this saying that "reading papers" is too passive. I also mentioned one way of doing more than just "reading", which is to write "critical reviews" – something that we recently tried to do at the Salon des Refusés workshop. In this post, I would like to expand my remark.

First of all, it is very easy to miss the context in which papers are written. The life of an academic paper is not complete after it is published. Instead, it continues living its own life – people refer to it in various contexts, give different meanings to entities that appear in the paper and may "love" different parts of the paper than the author. This also means that there are different ways of reading papers. You can try to reconstruct the original historical context, read it according to the current main-stream interpretation or see it as an inspiration for your own ideas.

I suspect that many people, both in academia and outside, read papers without worrying about how they are reading them. You can certainly "do science" or "read papers" without reflecting on the process. That said, I think the philosophical reflection is important if we do not want to get stuck in local maxima.


          The mythology of programming language ideas        

If you read a about the history of science, you will no doubt be astonished by some of the amazing theories that people used to believe. I recently finished reading The Invention of Science by David Wootton, which documents many of them (and is well worth reading, not just because of this!) For example, did you know that if you put garlic on a magnet, the magnet will stop working? Fortunately, you can recover the magnet by smearing goats blood on it. Giambattista della Porta tested this and concluded that it was false, but Alexander Ross argued that our garlic is perhaps not so vigorous as those of ancient Greeks.

You can just laugh at these stories, but they can serve as interesting lessons for any scientist. The lesson, however, is not the obvious one. Academics will sometimes read those stories and use them to argue against something they do not consider scientific - arguing that it is like believing that garlic break magnets.

This is not how the analogy works. What is amazing about the old stories is that the conclusions that now seem funny often had very solid reasoning behind them. If you believed in the basic assumption of the time, then you could reach the same conclusions by following fairly sound reasoning principles. In other words, the amazing theories were scientific and entirely reasonable. The lesson is that what seems a completely reasonable idea now, may turn out to be wrong and quite hilarious in retrospect.

In this article, I will look at a couple of amazing theories that people believed in the past and I will explain why they were reasonable given the way of thinking of the time. Along the way, I will explore some of the ways of thinking that we use today about programming and computer science and why they might appear silly in the future.


          Thinking the unthinkable: What we cannot think in programming        

This blog post is an edited and more accessible version of an article Thinking the unthinkable that I recently presented at the PPIG 2016 conference. The original article (PDF) has proper references and more details; the minimalistic talk slides give a quick summary of the article.

If you find this interesting, you might also be interested in a workshop we are planning. To keep in touch leave a comment on GitHub, ping me at @tomaspetricek or email tomas@tomasp.net!

Our thinking is shaped by basic assumptions that we rarely question. These assumptions exist at different scales. Foucault's episteme describes basic assumptions of an epoch (such as Renaissance); Kuhn's research paradigms determine how scientists of a given discipline approach problems and Lakatos' research programmes provide undisputable assumptions followed by a group of scientists.

In this article, I try to discover some of the hidden assumptions in the area of programming language research. What are assumptions that we never question and that determine how programming languages are designed? And what might the world look like if we based our design method on different basic principles?


          Can programming be liberated from function abstraction?        

When you start working in the programming language theory business, you'll soon find out that lambda abstraction and functions break many nice ideas or, at least, make your life very hard. For example, type inference is easy if you only have var x = ..., but it gets hard once you want to infer type of x in something like fun x -> ... because we do not know what is assigned to x. Distributed programming is another example - sending around data is easy, but once you start sending around function values, things become hard.

Every programming language researcher soon learns this trick. When someone tells you about a nice idea, you reply "Interesting... but how does this interact with lambda abstraction?" and the other person replies "Whoa, hmm, let me think more about this." Then they go back and either give up, because it does not work, or produce something that works, in theory, well with lambda abstraction, but is otherwise quite unusable.

When working on The Gamma project and the little scripting language it runs, I recently went through a similar thinking process. Instead of letting lambda abstraction spoil the party again, I think we need to think about different ways of code reuse.


          The Gamma — Visualizing Olympic Medalists        

Olympic Games are perfect opportunity to do a fun data visualization project - just like New Year, you can easily predict when they will happen and you can get something interesting ready in advance. I used this year's Games in Rio as a motivation to resume working on The Gamma project. If you did not read my previous article, the idea is to build tooling for open, reproducible and interactive data-driven storytelling. When you see a visualization, not only you should be able to see how it has been created (what data it uses & how), but you should also be able to modify it, without much programming experience, and look at other interesting aspects of the data.

The first version of The Gamma project tries to do some of this, using historical and current data on Olympic medals as a sample dataset. You can play with the project at The Gamma web site:

Without further ado, here are the most important links if you want to explore how it all works on your own. However, continue reading and I'll describe the most important parts!

The project is still in early stages and the code needs more documentation (and ReadMe files, I know!) However, if you would be interested in using it for something or you have some interesting data to visualize, do not hesitate to ping me at @tomaspetricek. Also, thanks to the DNI Innovation Fund for funding the project and to the Alan Turing Institute for providing a place to work on this over the coming months!


          The Gamma and Digital News Innovation Fund        

Last year, I wrote a bit about my interest in building programming tools for data journalism. Data journalism might sound like a niche field, but that is not the case if we talk about data-driven storytelling more generally,

In programming, your outcome is typically some application that does stuff. In data science, your outcome is very often a report or a story that aims to influence people's behavior or company decisions. No matter whether you are a journalist writing an article about government spending or an analyst producing internal sales reports, you are telling stories with data.

Being able to tell stories with data (but also verify and assess other people's stories that can be backed by data) is becoming a vital skill in the modern world, which is partly why I find this topic extremely important and interesting. But to do this currently, you need to be a skilled programmer, great designer and good storyteller, all at the same time!

I have not written about this topic much over the last year (mainly because I was busy with Coeffects, fsharpConf, FsLab and fsharpWorks), but this will be changing - I'm very happy to announce that my data-journalism related project The Gamma has been awarded funding from the DNI Innovation Fund and I'll be working on it over the next year at the Alan Turing Institute in London.


          Upcoming F# events - learn Suave, FsLab & more!        

Some people in the F# community have reputation for traveling too much. I do not know how that is possible, but as it happens, I will be visiting a couple of places in June and doing a number of talks, workshops and courses. So, if you are thinking about getting into F#, web development with F# using the amazing Suave library, playing with the new trendy F# to JavaScript compiler called Fable, or learning about the recent features in FsLab and Ionide, then continue reading!

The map includes all my travels, but not all of the pins are for F# events. I'm visiting Prague just to see my family (even though there is a new awesome F# meetup there) and my stop in Paris is attending Symposium for the History and Philosophy of Programming (although we might still do something with the local F# group too).


          Philosophical questions about programming        

Combining philosophy and computer science might appear a bit odd. The disciplines have very little overlap. Both philosophers and computer scientists get taught formal logic at some point in their undergraduate courses, but that's probably as close as they get.

But the fact that the disciplines do not overlap much might very well be the reason why putting them together is interesting. In an article about Design and Science, Joichi Ito (from MIT Media Lab), describes the term antidisciplinary and nicely summarizes why looking at such unusual combinations is worthwhile:

Interdisciplinary work is when people from different disciplines work together. But antidisciplinary is something very different; it's about working in spaces that simply do not fit into any existing academic discipline.

[When focusing on disciplines, it] takes more and more effort and resources to make a unique contribution. While the space between and beyond the disciplines can be academically risky, it (...) requires fewer resources to try promising, unorthodox approaches; and provides the potential to have tremendous impact (...).

As you can see from some of my earlier blog posts, I think the space between philosophy and computer science is an interesting area. In this article, I'll explain why. Unlike some of the previous posts (about miscomputation, types and philosophy of science), this post is quite broad and does not go into much detail.

At the danger of sounding like a collection of random rants, I look at a number of questions that arise when you look at computer science from the philosophical perspective, but I won't attempt to answer them. You can see this article as a research proposal too - and I hope to write more about some of the questions in the future. I wish antidisciplinary work was more common and I believe looking into such questions could have the tremendous impact that Joichi Ito mentioned.


          Coeffects playground: Interactive essay based on my PhD thesis        

In my PhD thesis, I worked on integrating contextual information into a type system of functional programming languages. For example, say your mobile application accesses something from the environment such as GPS sensor or your Facebook friends. With coeffects, this could be a part of the type. Rather than having type string -> Person, the type of a function would also include resources and would be string -{ gps, fb }-> Person. I wrote longer introduction to coeffects on this blog before.

As one might expect, the PhD thesis is more theoretical and it looks at other kinds of contextual information (e.g. past values in stream-based data-flow programming) and it identifies abstract coeffect algebra that captures the essence of contextual information that can be nicely tracked in a functional language.

I always thought that the most interesting thing about the thesis is that it gives people a nice way to think about context in a unified way. Sadly, the very theoretical presentation in the thesis makes this quite hard for those who are not doing programming language theory.

To make it a bit easier to explore the ideas behind coeffects, I wrote a coeffect playground that runs in a web browser and lets you learn about coeffects, play with two example context-aware languages, run a couple of demos and learn more about how the theory works. Go check it out now or continue below to learn more about some interesting internals!


          Philosophy of science books every computer scientist should read        

When I tell my fellow computer scientists or software developers that I'm interested in philosophy of science, they first look a bit confused, then we have a really interesting discussion about it and then they ask me for some interesting books they could read about it. Given that Christmas is just around the corner and some of the readers might still be looking for a good present to get, I thought that now is the perfect time to turn my answer into a blog post!

So, what is philosophy of science about? In summary, it is about trying to better understand science. I'll keep using the word science here, but I think engineering would work equally well. As someone who recently spent a couple of years doing a PhD on programming language theory, I find this extremely important for computer science (and programming). How can we make better programming languages if we do not know what better means? And what do we mean when we talk about very basic concepts like types or programming errors?

Reading about philosophy of science inspired me to write a couple of essays on some of the topics above including What can programming language research learn from the philosophy of science? and two essays that discuss the nature of types in programming languages and also the nature of errors and miscomputations. This blog post lists some of the interesting books that I've read and that influenced my thinking (not just) when writing the aforementioned essays.


          F# + ML |> MVP Summit: Talk recordings, slides and source code        

I was fortunate enough to make it to the Microsoft MVP summit this year. I didn't learn anything secret (and even if I did, I wouldn't tell you!) but one thing I did learn is that there is a lot of interest in data science and machine learning both inside Microsoft and in the MVP community. What was less expected and more exciting was that there was also a lot of interest in F#, which is a perfect fit for both of these topics!

When I visited Microsoft back in May to talk about Scalable Machine Learning and Data Science with F# at an internal event, I ended up chatting with the organizer about F# and we agreed that it would be nice to do more on F#, which is how we ended up organizing the F# + ML |> MVP Summit 2015 mini-conference on the Friday after the summit.


          The Gamma: Simple code behind interactive articles        

There are huge amounts of data around us that we could use to better understand the world. Every company collects large amounts of data about their sales or customers. Governments and international organizations increasingly release interesting data sets to the public through various open government data initiatives (data.gov or data.gov.uk). But raw data does not tell you much.

An interesting recent development is data journalism. Data journalists tell stories using data. A data driven article is based on an interesting observation from the data, it includes (interactive) visualizations that illustrate the point and it often allows the reader to get the raw data.

Adding a chart produced in, say, Excel to an article is easy, but building good interactive visualization is much harder. Ideally, the data driven article should not be just text with static pictures, but a program that links the original data source to the visualization. This lets readers explore how the data is used, update the content when new data is available and change parameters of the visualization if they need to understand different aspect of the topic.

This is in short what I'm trying to build with The Gamma project. If you're interested in building better reports or data driven articles, continue reading!

I did a talk about The Gamma project at the fantastic Future Programming workshop at the StrangeLoop conference last week (thanks for inviting me!) and there is a recording of my 40 minute talk on YouTube, so if you prefer to watch videos, check it out!

Are you a data journalist or data analyst? We're looking for early partners! I joined the EF programme to work on this and if the project sounds like something you'd like to see happen, please get in touch or share your contact details on The Gamma page!


          Creating web sites with Suave: How to contribute to F# Snippets        

The core of many web sites and web APIs is very simple. Given an HTTP request, produce a HTTP response. In F#, we can represent this as a function with type Request -> Response. To make our server scalable, we should make the function asynchronous to avoid unnecessary blocking of threads. In F#, this can be captured as Request -> Async<Response>. Sounds pretty simple, right? So why are there so many evil frameworks that make simple web programming difficult?

Fortunately, there is a nice F# library called Suave.io that is based exactly on the above idea:

Suave is a simple web development F# library providing a lightweight web server and a set of combinators to manipulate route flow and task composition.

I recently decided to start a new version of the F# Snippets web site and I wanted to keep the implementation functional, simple, cross-platform and easy to contrbute to. I wrote a first prototype of the implementation using Suave and already received a few contributions via pull requests! In this blog post, I'll share a few interesting aspects of the implementation and I'll give you some good pointers where you can learn more about Suave. There is no excuse for not contributing to F# Snippets v2 after reading this blog post!


          In the age of the web: Typed functional-first programming revisited        

Most programming languages were designed before the age of web. This matters because the web changes many assumptions that typed functional language designers tak for granted. For example, programs do not run in a closed world, but must instead interact with (changing and likely unreliable) services and data sources, communication is often asynchronous or event-driven, and programs need to interoperate with untyped environments like JavaScript libraries.

How can statically-typed programming languages adapt to the modern world? In this article, I look at one possible answer that is inspired by the F# language and various F# libraries. In F#, we use type providers for integration with external information sources and for integration with untyped programming environments. We use lightweight meta-programming for targeting JavaScript and computation expressions for writing asynchronous code.

This blog post is a shorter version of a ML workshop paper that I co-authored earlier this year and you should see this more as a position statement. I'm not sure if F# and the solutions shown here are the best ones, but I think they highlight very important questions in programming language design that I very much see as unsolved.

The article has two sections. First, I'll go through a simple case study showing how F# can be used to build a client-side web widget. Then, I'll discuss some of the implications for programming language design based on the example.


          Special 320: MicrosoftEDU        

TWiT Live Specials (Video-HD)

At their Microsoft EDU even, Microsoft announced the new 13.5" Surface Laptop running the new Windows 10 S operating system. The company also made several announcements geared toward the Education market, including Office 365 for Education, View Mixed Reality, and Code Builder for Minecraft: Education Edition. Code Builder will let kids use programming languages like Tinker and Scratch to affect their creations in Minecraft.

Host: Leo Laporte

Guest: Ed Bott

Download or subscribe to this show at https://twit.tv/shows/twit-live-specials.

Thanks to CacheFly for the bandwidth for this special presentation.


          Improving GHC’s constraint solving        
So I’ve been here at MSR Cambridge for almost two weeks now (!), working in the Programming Principles and Tools Group with Simon Peyton-Jones and Dimitrios Vytiniotis — and also collaborating with Stephanie Weirich and Steve Zdancewic, who are also … Continue reading
          Wake Forest Baptist to Provide Athletic Training Services at All 12 Winston Salem Forsyth County High Schools        
The Winston-Salem/Forsyth County Board of Education agreed Tuesday to collaborate with Wake Forest Baptist Medical Center to provide certified athletic trainers at public high schools in the Winston-Salem/Forsyth County Schools (WS/FCS) system. The Board has long looked to develop a sports medicine and athletic trainer program for its high schools in an effort to prevent injuries and minimize the risk of injuries to student athletes. To achieve uniformity in programming, care, standards, and protocols provided to student athletes throughout the WS/FCS, the Board saw Wake Forest Baptist as best to provide a certified athletic trainer (ATC) program.
          Facebook Inc still pursuing dream of spying on users through their webcams and via their touch screens or mobile phones        

The Daily Dot, 8 June 2017:

Your worst internet nightmare could be on its way to becoming a reality.
newly discovered patent application shows Facebook has come up with plans to potentially spy on its users through their phone or laptop cameras—even when they’re not turned on. This could allow it to send tailored advertisements to its nearly two billion members. The application, filed in 2014, says Facebook has thought of using â€œimaging components,” like a camera, to read the emotions of its users and send them catered content, like videos, photos, and ads.

“Computing devices such as laptops, mobile phones, and tablets increasingly include at least one, and often more than one, imaging component, such as a digital camera. Some devices may include a front-facing camera that is positioned on the same side of the device as a display. Thus, during normal operation, a user may be looking towards the imaging component. However, current content delivery systems typically do not utilize passive imaging information. Thus, a need exists for a content delivery solution that takes advantage of available passive imaging data to provide content to a user with improved relevancy.”

This is the US patent application to which the article is referring.

United States Patent Application 20150242679
Kind Code:
A1
Techniques for emotion detection and content delivery are described. In one embodiment, for example, an emotion detection component may identify at least one type of emotion associated with at least one detected emotion characteristic. A storage component may store the identified emotion type. An application programming interface (API) component may receive a request from one or more applications for emotion type and, in response to the request, return the identified emotion type. The one or more applications may identify content for display based upon the identified emotion type. The identification of content for display by the one or more applications based upon the identified emotion type may include searching among a plurality of content items, each content item being associated with one or more emotion type. Other embodiments are described and claimed.

Publication number
US20150242679 A1
Publication type
Application
Application number
US 14/189,467
Publication date
Aug 27, 2015
Filing date
Feb 25, 2014
Priority date
Feb 25, 2014
Also published as
Inventors
Original Assignee
Export Citation
External Links: USPTOUSPTO AssignmentEspacenet

Facebook Inc appears to have been granted this related patent, Techniques for emotion detection and content delivery (US 9681166 B2- Publication date 13 June 2017):

ABSTRACT
Techniques for emotion detection and content delivery are described. In one embodiment, for example, an emotion detection component may identify at least one type of emotion associated with at least one detected emotion characteristic. A storage component may store the identified emotion type. An application programming interface (API) component may receive a request from one or more applications for emotion type and, in response to the request, return the identified emotion type. The one or more applications may identify content for display based upon the identified emotion type. The identification of content for display by the one or more applications based upon the identified emotion type may include searching among a plurality of content items, each content item being associated with one or more emotion type. Other embodiments are described and claimed.

BACKGROUND
Users of computing devices spend increasing amounts of time browsing streams of posts on social networks, news articles, video, audio, or other digital content. The amount of information available to users is also increasing. Thus, a need exists for delivering content a user that may be of current interest to them. For example, a user's interests may be determined based upon their current emotional state. Computing devices such as laptops, mobile phones, and tablets increasingly include at least one, and often more than one, imaging component, such as a digital camera. Some devices may include a front-facing camera that is positioned on the same side of the device as a display. Thus, during normal operation, a user may be looking towards the imaging component. However, current content delivery systems typically do not utilize passive imaging information. Thus, a need exists for a content delivery solution that takes advantage of available passive imaging data to provide content to a user with improved relevancy.

Facebook also appears to have been granted a US patent in May this year for Augmenting Text Messages With Emotion Information (US 20170147202 A1).

According to CBINSIGHTS this patent would; automatically add emotional information to text messages, predicting the user’s emotion based on methods of keyboard input. The visual format of the text message would adapt in real time based on the user’s predicted emotion. As the patent notes (and as many people have likely experienced), it can be hard to convey mood and intended meaning in a text-only message; this system would aim to reduce misunderstandings.
The system could pick up data from the keyboard, mouse, touch pad, touch screen, or other input devices, and the patent mentions predicting emotion based on relative typing speed, how hard the keys are pressed, movement (using the phone’s accelerometer), location, and other factors.


          Support the Prison Reform and Redemption Act, H.R. 3356        

On behalf of FreedomWorks activists nationwide, I urge you to contact your representative and encourage him or her to cosponsor the Prison Reform and Redemption Act, H.R. 3356, introduced by Rep. Doug Collins (R-Ga.). This bill would require the Attorney General to develop an offender risk and needs assessment system and incentivizes offenders to lower their risk of recidivism.

On a fiscal level, this bill simply makes sense. Right now, taxpayers are not getting a return on their investment. In 2005, the Bureau of Justice Statistics an office of the Department of Justice tracked over 400,000 offenders in over 30 states after their release from prison. The study found that within three years 67.8 percent reoffended and in five years 76.6 percent reoffended. This failure rate is unacceptable, and Congress must change the direction by utilizing evidenced-based practices to reduce recidivism.

Thankfully, the states – the laboratories of policy innovation – have shown that rehabilitative programming in state prisons reduces recidivism and enhances public safety. In 2007, for example, Texas began the first phase of its justice reinvestment initiative, using a data-driven approach to corrections to reduce recidivism. Crime in the Lone Star State is now at its lowest rate 1968. More than 30 states, including Georgia and South Carolina, have adopted similar justice reinvestment initiatives.

The Prison Reform and Redemption Act would require the Attorney General to develop a post-sentencing risk and needs assessment. All prisoners in the federal prison system will be assigned recidivism reduction programming. The Bureau of Prisons would be responsible for the implementation of the risk and needs assessments for each prisoner and development of recidivism reduction programming.

Each offender will be assessed for risk on an individual level to develop a comprehensive plan based on his or her need and probability of reoffending. Utilizing private public partnerships in this capacity would allow non-profit organizations, educational institutions, and private sector entities to build relationships and community for the most vulnerable citizens in our society. The bill would incentivize prisoners to reduce their risk of recidivism. For every 30 days of successfully completed recidivism reduction programming, prisoners will ten days of time credits. Prisoners can earn an additional five days, for a total of 15 days, after two successful risk assessment periods. Those prisoners who have are considered low or no risk of recidivism can earn an additional five days, for a total of 15, provided that their risk of recidivism doesn’t increase over two risk assessment periods.

Certain categories offenders – including violent offenders, sex offenders, and terrorists – would not be eligible to earn time credits.

The Prison Reform and Redemption Act would allow for great access to visitation and phone privileges, create a pilot program to address the heroin and opioid epidemic, and prohibit the use restraints of pregnant offenders unless the offender poses a serious threat. The bill would require the Bureau of Prisons to collect statistical and demographic information to be provided to Congress on an annual basis.

Congress has fallen behind the states on this important issue. While other policy changes – such as sentencing reforms and reentry reforms – are needed, this bill would bring a key component of state-level success to the federal prison system, offering prisoners an opportunity for restorative justice while enhancing public safety. For these reasons, I urge you to contact your representative and encourage him or her to cosponsor the Prison Reform and Redemption Act, H.R. 3356.

Sincerely,

Adam Brandon, President, FreedomWorks


          Holland America Line Reaches Milestone $5 Million Donated to Cancer Support Through ‘On Deck’ Programming        
February 3, 2017 — In honor of World Cancer Day tomorrow, February 4, Holland America Line is proud to announce that to date, the guests and employees of the company have raised more than $5 million for cancer support through “On Deck” programming that began in 2006. Currently the On Deck for a Cause program […]
          The White Theatre at The J Announces 2017-2018 Season;        

Excitement is in the air as The Jewish Community Center of Greater Kansas City announces its 2017-2018 season of arts and cultural offerings at the White Theatre.

The 13th season of the White Theatre, produced by The J's Arts + Culture Department, includes something for everyone, including a new partnership with the Coterie Theatre that will co-produce the regional theatrical premier of Disney's Tony Award-winning musical, Newsies, during July 2018.

The White Theatre season also includes concerts to visual arts, comedic plays to thought-provoking dramas as well as dance and literature presentations. The inspirational season includes four locally produced shows, several musical concerts, a choreography showcase and a new artist-in-residence offering with the Kinnor Philharmonic.

The season includes:

  • November 4-19, 2017: Mel Brooks' comedic musical, Young Frankenstein (local production), directed by Missy Koonce.

  • December 2 & 3, 2017: The Sarah Play produced by the In[Heir]itance Project.

  • January 1, 2018: Kinnor Philharmonic, The J's artists-in-residence, perform first of two concerts; the second concert is June 10, 2018.

  • January 6, 2018: YidLife Crisis-Live! starring Jamie Elman & Eli Batalion, the creators and stars of the award-winning Yiddish comedy web series YidLife Crisis.

  • February 3-18, 2018: Tony Award-winning musical, The 25th Annual Putnam County Spelling Bee (local production), directed by Steven Eubank.

  • March 17-25, 2018: The Tony-Award winning play, The Miracle Worker (local production) directed by Bill Christie.

  • April 8: Kansas City's professional dance showcase, Open Stage at The J.

  • April 11-14: Wiesenthal, the riveting true story of Simon Wiesenthal, nicknamed the "Jewish James Bond".

  • July 7-29, 2018: Disney's Newsies (in collaboration with The Coterie Theatre), the captivating story of a band of underdogs who become unlikely heroes.

(Full descriptions for each event are available at TheWhiteTheatre.org. Auditions for various productions will be held throughout the year.)

ABOUT THE SHOWS

Young Frankenstein is a hilarious musical based on the classic Frankenstein story, with a Mel Brooks comedic twist. The musical is an adaptation of Brooks legendary film. With a book by Brooks and Thomas Meehan and music and lyrics by Brooks, audiences will roar with laughter as they follow Frederick Frankenstein, the grandson of the infamous Victor Frankenstein. The younger Frankenstein travels to Transylvania to inherit his family estate and zaniness ensues, complete with a tap-dancing monster.

The Sarah Play is in the creative stages of The In[Heir]itance Project as part of a national series. Playwright Jon Adam Ross presents the story of the biblical matriarch, Sarah, in conversation with contemporary realities in Kansas City. Developed during workshops with local clergy, artists and community members as well as interfaith groups, The Sarah Play reflects local perspectives on sacred texts.

YidLife Crisis Live! starring Jamie Elman & Eli Batalion, the creators and stars of the award-winning Yiddish comedy web series YidLife Crisis present a night of shtick, schmoozing and inspiration. This duo of seasoned performers mix skits, discussion, screenings and use the "trojan horse" of comedy to bring Yiddish and yiddishkayt to the forefront and engage the topic of Jewish identity for all.

The 25th Annual Putnam Spelling Bee is a riotous musical ride complete with audience participation and comedic genius. This Tony and Drama Desk Award-winning musical features an eclectic group of 6 awkward tweens as they vie for the spelling championship of a lifetime. While candidly disclosing hilarious and touching stories from their home lives, the tweens spell their way through a series of (potentially made-up) words, hoping never to hear the soul-crushing, pout-inducing, life un-affirming "ding" of the bell that signals a spelling mistake.

The Miracle Worker, the Tony-Award winning play by William Gibson, takes the audience through the daily struggles of Helen Keller, who is blind, deaf and mute. With the help of her devoted and sometimes defiant teacher Annie Sullivan, Helen is finally awakened from the darkness in this emotional story. (Special school performances are available.)

Wiesenthal focuses on the story of one man, Simon Wiesenthal, who devoted his life to bringing 1,100 Nazi war criminals to justice. Wiesenthal's dedication to this one purpose - seeking justice for the six million Jews murdered during the Holocaust - is the focus of the play. This production focuses on this courageous man's wit and wisdom, tenacity and dedication to help repair the world.

Disney's Newsies marks The Coterie and the White Theatre's first partnership, as well as the Kansas City region's first locally produced production of the Tony Award winning musical. Disney's Newsies, based on the 1992 motion picture, features a high energy, explosive song and dance score by eight-time Academy Award winner Alan Menken (Beauty and the Beast, Aladdin, Sister Act) and Jack Feldman and a book by four-time Tony Award winner Harvey Fierstein (La Cage aux Folles, Torch Song Trilogy). It will be co-directed by Coterie Producing Artistic Director, Jeff Church, and Jerry Jay Cranford, who will also serve as choreographer, with musical direction by Pam Williamson, veteran of 10 musicals at the White Theatre. Disney's Newsies will feature a cast of all-local professional and non-professional adult and youth actors. Auditions for Disney's Newsies are set for December 17 at 2 p.m. at the White Theatre. More information on auditions for the entire 2017/18 season can be found at TheWhiteTheatre.org.

The White Theatre's season tickets are available now. Season ticket holders enjoy many perks including preferred seating, free ticket exchange, friends and family discounts and more! The new Flex Five pass option allows the season ticket holder to design their own package with five tickets to use at their discretion. Performances for the Kinnor Philharmonic are an "add on event" to the regular season ticket.

In addition to season tickets, the Arts + Culture Patron program has been enhanced to provide additional "perks" at every level including complimentary tickets, seatback surprises on select show nights, tax deduction or your support and more. For a complete list of patron benefits visit TheWhiteTheatre.org.

Individual tickets for the 2017-2018 season go on sale September 1. Tickets may be ordered online at TheWhiteTheatre.org, by phone at (913) 327-8054 or in person at the White Theatre's Box Office.

In its effort to expand its offerings, additional Arts + Culture events will include the Kansas City Jewish Film Festival in April and May, literary salons and the Midwest Jewish Artists Lab.

Discover The J's White Theatre at 5801 West 115th, Overland Park, Kansas 66211, conveniently located at 115th & Nall. Contact our box office at (913) 327-8054 or by email at boxoffice@thejkc.org. The White Theatre box office is open Monday through Friday 10 a.m. to 2 p.m. For more information on everything Arts + Culture at The J and the White Theatre check out our website at TheWhiteTheatre.org.

About "The J"

Established more than 100 years ago, the Jewish Community Center of Greater Kansas City-The J, provides a warm welcome to families of all backgrounds. The J's all-in-one hub for health, learning and well-being elevates the lives of the community and its members with programs of excellence in fitness, sports, theatre, arts + culture, senior adult programming and youth services including summer camps and child development. Everyone can "live up" at The J, located in Overland Park, Kansas, and at thejkc.org.


          Summer Youth Theatre Ensemble Program Culminates with An Original Production Fully Created by Students        

As a part of their expanding education outreach, KCRep launched its first Youth Summer Theatre Ensemble program this summer which falls under the umbrella of the EnrichKC programming with KC Metro schools and community-based organizations.

EnrichKC: Summer Youth Theatre Ensemble, or SYTE, is a four-week program open to young artists ages 13-18 in the Kansas City area from July 5th-July 29th at Spencer Theatre on the UMKC Campus. Best of all, thanks to the support of generous donors, the program is completely free for every student.

In preparation for the program, several workshops were executed in area schools. KCRep teaching artists guide students through an interactive four-week rehearsal process packed full of games, ensemble-building activities, playwriting exercises, and more. From this process, they worked together to write and produce their own original theatre piece that will be performed on the Spencer stage in the Olson Performing Arts Center on the UMKC campus on Friday July 28th at 7:00pm and Saturday July 29th at 3:00pm.

According to Melinda McCrary, the Director of Education at KCRep, "The Summer Youth Theatre Ensemble will be an opportunity for students to examine their role as artists and storytellers in our community. We will connect youth from all over KC in a way that is exceedingly fun, provokes thought and expression and enhances their sense of themselves and their place in the world through the stories they have to share."

Featuring 36 cast members from 25 local schools, the student's play, To Be Human explores a hero's journey from the origin story, through life's challenges, and onto the discovery that to be a superhero is to be a super human.

"No previous theatre experience is required to participate, reinforces Assistant Director of Education Lydia Fuqua, "the Summer Youth Theatre Ensemble is a space for students to express, learn, grow, take risks, think about the world around them, and make new connections. It is a place where they can totally be themselves!"

Seating for the two performances of To Be Human is General Admission, but patrons can reserve their seats by visiting http://ticketing.kcrep.org/single/PSDetail.aspx?psn=8576


          SOMETHING ROTTEN Rolls Into Starlight 7/25-30        

The completely original new musical Something Rotten! brings its rib-tickling North American tour to Starlight Theatre for six performances July 25-30.

A love letter to theatre-goers, this hilarious new Broadway hit is directed and choreographed by Tony Award winner Casey Nicholaw (The Book of Mormon, Aladdin), with music and lyrics by Grammy Award winner and Tony nominee Wayne Kirkpatrick and Golden Globe Award and Tony nominee Karey Kirkpatrick, and a book by Tony nominees Karey Kirkpatrick and best-selling author John O'Farrell.

Nominated for 10 Tony Awards, including Best Musical, Something Rotten! makes its Kansas City premiere with three principal cast members direct from Broadway: Rob McClure as Nick Bottom, Adam Pascal as Shakespeare and Josh Grisetti as Nigel Bottom. The touring cast also features Maggie Lakis as Bea, Blake Hammond as Nostradamus, Autumn Hurlbert as Portia, Scott Cote as Brother Jeremiah and Jeff Brooks as Shylock.

From the director of Aladdin and co-director of The Book of Mormon and the producer of Rent, Avenue Q and In The Heights, the irreverent Something Rotten! tells the story of brothers Nick and Nigel Bottom, two playwrights stuck in the shadow of that Renaissance rock star Will Shakespeare. When a soothsayer foretells the next big thing in theatre involves singing, dancing and acting at the same time, the Bottom brothers set out to write the world's very first MUSICAL!

With its heart on its ruffled sleeve and sequins in its soul, Something Rotten! is an uproarious dose of pure Broadway fun and an irresistible ode to musicals - those dazzling creations that entertain us, inspire us, and remind us that everything's better with an exclamation point!

"Something Rotten! says fun from the very start, and, as the show progresses, it only gets livelier," said Rich Baker, Starlight President and CEO. "The plot is smart; it offers something for everyone, and I think it's just what audiences need right now. I invite Kansas Citians to come to Starlight, check their worries at the door and get ready to laugh for 2½ hours straight!"

The show's award-winning design team of Broadway veterans includes Scott Pask (scenic design), Gregg Barnes (costume design), Jeff Croiter (lighting design), Peter Hylenski (sound design), Josh Marquette (hair design), Phil Reno (music direction/conductor), Glen Kelly (arrangements), Larry Hochman (orchestrations) and Steve Bebout (associate director).

Something Rotten! is the fifth show of Starlight's 67th Broadway season and the second of three brand-new musicals that will take the Starlight stage this summer.

Tickets for Something Rotten! at Starlight Theatre are on sale now for $14 to $152. Tickets are available online at www.kcstarlight.com, by calling 816.363.STAR (7827) or at the Starlight box office at 4600 Starlight Road, Kansas City, MO 64132. All performances begin at 8 p.m.

Discount prices for groups of 10 or more are available. For information about group pricing, contact group sales coordinator Camille Sumrall at 816.997.1137 or groups@kcstarlight.com.

For more information about the show, visit http://www.rottenbroadway.com.


About Starlight Theatre
Starlight Theatre, a recent winner of the Venue Excellence Award from the International Association of Venue Managers (IAVM), is the largest and oldest performing arts organization in Kansas City and the second-largest outdoor producing theatre in the country. Opened as a theater in 1950 and as a not-for-profit organization in 1951, Starlight presents and produces Broadway musicals and concerts. It also offers extensive community outreach and educational programming, including classes, scholarships and Starlight's Blue Star Awards, one of the largest high school musical theatre award programs in the nation.

Located on 16 acres in Swope Park, Starlight's venue includes rehearsal halls, gift store, club area for dining, concessions, gardens, fountains and a 10-story, climate-controlled stage.

For more information, visit www.kcstarlight.com.


          Ephenation evaluation report        

Vision of Ephenation

To have a game like World Of Warcraft, where players are able to add their own adventures. I think this is a probable future development. This type of games should be fully realized and generally available in something like 10 to 20 years.

Goals

Unlimited world

The size of the world should not be limited. It is easier to implement a flat world than a spherical world, and a flat world can be unlimited. The nature will obviously have to be created automatically.

Unlimited players

This is not possible, of course, but the number of simultaneous players should be big. Limitation to 10 or 100 is much too small, as everyone would more or less know everyone and work on the same project. A minimum would be 1000 players, but preferably more than 10000. That will lead into a situation where you always meet new players you don't know, and the world is big enough so as to always find somewhere that you have not explored.

Unlimited levels

Most RPG type of games have a limited set of levels. But that will put a limit on the game play. After reaching the top level, the game is no longer the same. Not only that, but there is a kind of a race to reach this top level. Instead, there shall be no last top level. That will put an emphasis on constant exploration and progress.

Allocate territory

Players should be able to allocate a territory, where they can design their own adventures. This territory shall be protected from others, making sure no one else can interfere with the design.

Social support

The community and social interaction is very important. That is one reason for the requirement to support many players, as it will allow you to include all friends. There are a couple of ways to encourage community:
  1. Use of guilds. This would be a larger group of players, where you know the others.
  2. Temporary teams, used when exploring. It is more fun to explore with others.
  3. Use of common territories. It shall be possible to cooperate with friends to make territories that are related and possibly adjacent to each other.

Mechanics

It shall be possible to design interesting buildings, landscapes and adventures. The adventures shall be advanced enough so as to support triggered actions, with dynamic behavior that depends on player choices.

Execution

This is a description on how the project was executed. It was started end of 2010. Most of the programming was done by me (Lars Pensjö), but I got support with several sub modules.

Server

It was decided to use Go as the programming language for the server. Go has just the right support for this type of software:
  1. High performance (compiled language)
  2. Object oriented and static typing
  3. A concept of gorutines (light version of threads)
  4. A very high quotient for "it works when it compiles"
  5. Garbage collection
The disadvantage of Go when the Ephenation project was started, was that Go was a new language, in transition, with uncertain future. This turned out to not be a problem, and the language has today a frozen specification (Go 1).

To be able to manage the massive amount of players, quadtrees are used for both players and monsters.

It is the server that has full control over all Model data. Player attributes, melee mechanisms, movements, etc.

Client

The client was initially designed in C, but I soon switched to C++. There are still some remains from C, which explains some not-so-good OO solutions. OpenGL was selected, instead of DirectX, partly as a random choice, but also because I wanted to do the development in Linux.

It was decided to use OpenGL 3.3, instead of supporting older variants. There are some nice improvements in OpenGL that makes design easier, which was deemed more important than supporting old hardware.

The world consists of blocks, voxels. This is difficult to draw in real time with high FPS, as the number of faces grow very quickly with viewing distance. Considerable effort was spent on transforming the list of cubes into a list of visible triangles. It is also difficult to make a level of detail (LOD) algorithm that gradually reduce details on long distances.

Another technical difficult with a world based on cubes was to make it look nice, instead of blocky. Some algorithms were investigated that used a kind of filter. As the view distance is limited, there can be a conflict when being underground.

The game engine can't know whether the far distance, which is not visible, should be replaced by a light background (from the sky) or from a dark background (typical to being underground). A compromise is used, where the color of the distance fog depends on the player being at a certain height.

Protocol

There are strict requirements on the protocol. If a server shall be able to handle 10000+ players, the communication can easily become a bottleneck. TCP/IP was selected in favor of UDP/IP, to make it easier to handle traffic control. The protocol itself is not based on any standard, and completely customized for Ephenation.

Mechanics

There are two major choices. Either use a scripting language to control the aspects of the world, or a graphical approach. A scripting language is more powerful, but on the other hand it is harder to learn. There is also the problem with supporting a massive amount of players, in which case time consuming scripts would make it unfeasible.

The choice was to go for a limited set of blocks, with a special block type that can be used to initiate predefined actions. Inspiration was taken from the principles of Lego blocks. With a relatively small set of basic blocks, it is possible to construct the most amazing things.

Evaluation

Game engine

The client side was designed from scratch, instead of using an existing game engine. This may have been a mistake, as the main development time was spent on graphical technology, instead of exploring the basic visions.

Adventure design and mechanics

The set of blocks and possible actions with "activator blocks" are currently limited. It is not enough to construct full adventures that are fun to explore and provides great entertainment.
Early version of the game, where a player abused the monster spawner

Game play

The basic world is automatically generated. This usually make a game of limited interest, as game play is bound to become repetitive. Support from initial players enabled the creation of a world with many new buildings and creations. The more advanced features that support dynamic behavior was not added until later, which unfortunately lead to most part of the current world being too static.

Graphics

The graphics is working, but far from a production level. There are several glitches, e.g. camera falling inside the wall and lighting effects cut off. As the world is dynamic, the possibility to do offline precalculations are limited. That means most graphical effects has to be done live, which is a difficult requirement. For example, it is not known how many light sources that should be possible to manage. It was chosen to use a deferred shader, which improves the decoupling from geometry and shading.
Early attempt to create automatic monsters. This was later replaced with fully animated models.

Social

The social side of the game play has been explored very limited. There are ways to send message to nearby players, and to communicate privately with any player. Although this is a very important aspect of the final vision, it is known technology and not difficult to implement.

Performance tests

The aggressive requirement to support 10,000 simultaneous players is hard to verify. A simple simulator was used, adding 1000 players at random position with a uniform density. These players simply walked around. If they were attacked, they attacked back again. If they were killed, they automatically used the command to revive again.

On a Core I7 with 8 GBytes of RAM, the load from the server was approximately 10%. This is no proof that the server can actually manage 10,000 players, as there may be non linear dependencies. There are known bottlenecks, for example monster management that is currently handled by a single thread. That means at most one core can be used for this, but it should be possible to distribute this task into several smaller goroutines.

The communication was measured at around 100 MB/s. With linear scaling, it would be 1GB/s for 10,000 players. The intention is that the scaling should be linear, as cross communication between players is designed to be of constant volume. Still, it remains to be proven.

There is the obvious question whether the simulator is representative to real players. One way to improve that assessment would be to measure the actual behaviour of real players, and compare with the simulator.

Another possible bottle neck is the communication with the player database (MongoDB). This depends on the number of login/logout and auto saves. It also depends on load generated from the web page. This has not been evaluated. Typically, an access takes about 1ms. The MongoDB is currently located on the same system as the game server, minimizing communication latency. The database will have to be managed by another computer system for a full production server.

Equipment

The objects that the player can wear and wield are simplified. As the game as a concept is unlimited, it is not possible to hand craft objects. Instead, there are 4 defined qualities for each object, per level.

Communication

TCP/IP has a higher overhead than UDP/IP. Some packages are big (the complete chunks), which would have required several UDP/IP packets and a complicated transmission control. It may be that UDP/IP should be used instead. However, this was not an issue for evaluation of the project.

As the server is responsible for all object atributes, the clients need to be updated frequently. Player and monster positions are updated 10 times per second. This generates some data, so the update is limited to nearby players. Because of this, the client need to do interpolation to be able to show smooth movements, and the client need to be able to manage stale information about other players and monsters. The advantage of having the server manage all attributes is that it is not possible to cheat. The client source code is available, and it would have been easy to do changes.

Conclusion

Moore's law

I believe the computers will continue to grow more powerful exponentially for many years still. However, the full power will probably not be accessible unless the game server can scale well with increasing number of cores. The performance test were done on hardware from 2011, and there are already much more powerful equipment available.

Adventure design

As a proof of concept, I think the project was successful. The thing I miss most, is a powerful enough mechanism that supports custom adventures. This is a key point of the game concept, but I believe, with more personnel involved, that new ideas would be available that would improve the possibilities considerably.

Document update history

2013-02-22 First published.
2013-02-24 Added discussion about using voxels on the client side.
2013-02-27 Information about entity attribute management and communication.
2015-05-04 Pictures failed, and were replaced.

          Using AOP to Understand Legacy Code        
The article quoted below mentions a technique that I had not seen before that may come in handy someday. The author uses an Aspect-Oriented Programming (AOP) tool, in this case AspectJ, to inject code into a legacy application in order to trace its execution. The article does not show you how to do this (and I'm not going to do that either so perhaps the title of this post is a bit of a teaser) but once you know how to use a particular APO tool injecting tracer code should not be difficult. I just wanted to capture the idea here for future reference (which is the purpose of this links-blog).

Pragmatic Programming Techniques: Understand Legacy Code:
"I have built a tool that allows me to instrument those classes that I am interested so that when I start the system, it will print out all the entry points when they execute. Entry point is the lowest method of the stack trace that you are interested. The tool is based on AspectJ which allows me to inject some print statements when certain methods are executed."

          Blast from Bob        
Bob gives me an update.  He is doing some interesting work with the car and taking it to the next level:
 I started to talk about the charger issue.  I had contacted the Zivan rep and got a cold shoulder from them.  I designed my own charger and got it working after a few blown transistors.  My goal was 135 volts max and 10 amps max and the charger achieved both of those goals.  The packaging was rather crude because I used a discarded chassis from some unknown piece of electronic gear.  It was so bulky that I was unable to close the hood while charging. Right after I got that thing working well, I stumbled upon the forum called diyelectriccar.  Under the heading about charging, I found other people unable to get Zivan to properly convert their chargers to lithium.  One person actually went to the extent of designing a bug to replace the existing processor.  He was willing to sell copies of this bug so I bought one.  He even included a sample program which he had used for his car.  I don't know much about programming, but since all I had to do was change a few lines of code to match my battery pack, I got the Zivan working for lithium! I put my design aside and just chalked it up to experience.  Another little problem I solved involved the lack of a reliable parking brake.  Using the chocks has been unhandy.  I lost one when I drove off without it.  The solution is a brake club.  Rather than describe it, I'll send a picture.  The club goes between the pedal and the base of the seat.  It goes over center and latches.  Another latch situation came up.  The 12v battery went down to the extent it wouldn't operate the relay to energize the main solenoid.  This is a situation which could leave you stranded.  This relay also connects the DC-DC converter from the main battery to the little one.  The emergency fix for this is to drill a small hole in the the side of the DC relay, turn on the key, and insert a toothpick into the hole against the relay armature and push.  The relay will hold because the small battery is being charged by the big battery.




I hope to get down there and film a ride sometime.  It would be quite a different ride, I think.
          Bangalore University Fifth Semester BCA Exams Question Papers        
Bangalore University Fifth Semester BCA Exams Question Papers

Question Papers Nov/Dec 2015

 V Sem Banking Insurance Y2K8 Scheme (2013-14 Onwards)
 V Sem Java Programming Y2K8 Scheme (2013-14 Onwards)
 V Sem Software Engineering Y2K8 Scheme (2013-14 Onwards)
 V Sem Computer Architecture Y2K8 Scheme (2013-14 Onwards)

Question Papers 2012

BCA-503: Banking and Insurance
BCA-501: Computer Architecture
BCA-504: Java Programming
5 BCA 1: Java Programming and Web Page Development
BCA-505: Operations Research
BCA-501: Software Engineering



          Bangalore University Fourth Semester BCA Exams Question Papers        
Bangalore University Fourth Semester BCA Exams Question Papers

Question Papers 2015

IV Sem Visual Programming- Y2k8 Scheme
IV Sem Unix Programming- Y2k8 Scheme
IV Sem Language Sanskrit-IV
IV Sem Language Kannada-IV
IV Sem Data Communication and Networks -Y2K8 Scheme

Question Papers (2010-2013)

Computer Graphics Dec-09
Computer Graphics 2011-(O.S)
Computer Graphics-2013
Data Comm.IV Jun-2010
Data Communication Networks 2011
Data Communication and Networks 2011
Data Communications Networks 2013
English-2010
English-2013
Environmental Studies May-2011
Hindi-2011(N.S)
Hindi-2011
Hindi-2013
Hindi Jun-2010
Kannada Jun-2010
Kannada 2013
Kannada Part II 2011
Microprocessors 2013
Sanskrit Jun2010
Software Engineering
Software Engineering 2010
Software engineering 2011
System Program IV-Jun2010
System Programming 2011
System Programming 2013
System Software 2010
System Software 2011-(O.S)
System Software Dec-09
System Sofware 2013
Unix Operating System Dec-09
Unix Operating System May-2011
Unix Operating Systems 2013
Unix Programming Jun-2010
Unix Programming-2013
Unix Programming May-2011
Visual Programming Jun-2010
Visual Programming-2013
Visual Programming May-2011


          Bangalore University Third Semester BCA Exams Question Papers        
Bangalore University Third Semester BCA Exams Question Papers

Question Papers Nov/Dec 2015

 III Sem Financial Accounting and Management (Y2K14 Scheme)
 III Sem English (Freshers) (2015-16 Onwards)
 III Sem Additional English (Freshers) (2015-16 Onwards)
 III Sem Hindi - III (2015-16 Onwards)
 III Sem Operating Systems (Y2K14 Scheme)
 III Sem Sanskrit (Freshers) (2015-16 Onwards)
 III Sem Tamil (Part-I) (Paper-III) (2015-16 Onwards)
 III Sem Kannada -III (Freshers) (2015-16 Onwards)
 III Sem Object Oriented Programming Using C++ (Y2K14 Scheme)

Question Papers (2009-2013)

3 BCA 4: Accounting and financial management - 2009
3 BCA 4: Accounting and financial management - 2012
BCA 301: Accounting and financial management - 2012
Additional English Paper-III
3 BCA 2: Object Oriented programming Using C++
3 BCA 5: Computer Oriented Numerical Methods and Linear programming
3 BCA 3: Computer Science
BCA 305: Personality Development and Communication Skills
BCA 304: database Management System
3BCA-1: database Management System
BCA 305: Data Structure Using C
BCA 305: Data Structure Using C - 2012
BCA 305: Data Structure Using C - 2009
BCA 304: Data Structure Using C - 2009
3BCA1 Data Structure Using C - 2009
Discrete Mathematical Structures (BCA 303)
Language English - III
Language Hindi - III
Language Hindi - III - 2012
Indian Constitution
Language kannada - III
Language kannada - III - 2009
Language kannada - III - 2012
BCA 305: Numerical Analysis and Linear Programming
BCA 305: Numerical Analysis and Linear Programming - 2012
BCA 305: Numerical Analysis and Linear Programming - 2011
BCA 304: Operating Systems
BCA 304: Operating Systems - 2009
BCA 304: Operating Systems - 2011
3BCA3: Operating Systems - 2009
3BCA-2: Object Oriented programming Using C++ - 2011
Language Sanskrit - III - 2009
Language Sanskrit - III - 2012
3 BCA 4: Accounting and financial management - 2011
3BCA - 3: Operating Systems - 2011
Urdu Language - III


          Bangalore University Second Semester BCA Exams Question Papers        
Bangalore University Second Semester BCA Exams Question Papers

Question Papers 2015

II Sem Language Sanskrit Paper-II
II Sem Numerical & Statistical Methods
II Sem Language Kannada-II
II Sem Language English-II
II Sem Database Management System
II Sem Data Structures

Question Papers (2014)

II Sem Object Oriented Programming Using C++
II Sem Database Management System
II Sem English
II Sem Kannada
II Sem Mathematics

Question Papers (2010-2013)

Additional English Jun2010
BCA 2nd sem 2009
BCA II sem 2009
Business communication Per devmt Dec09
Computer Science(Mathematics) Jun 2010
Computer Science(Num & Statistical ) Jun 2010
Computer Science Database Mng Systs Jun 2010
Data structure using C Dec 09
DBMS 2011
DBMS 2013
English 2013
English Jun 2010
Hindi 2013
Hindi Jun 2010
Human Rights Environmental Studies 2013
Kannada Jun 2010
Kannada 2013
Kannada May 2011 (Rep)
Mathematics 2011 (O.S)
Mathematics 2011
Mathematics 2013
Maths Dec 09
Numerical & Statistical Methods 2011
Numerical & Statistical Methods 2013
Obj Orie Program II Jun 2010
Sanskrit 2013
Sanskrit Jun 2010
System Analysis & Design 2013
System Analysis Design 2011


          Bangalore University First Semester BCA Exams Question Papers        
Bangalore University First Semester BCA Exams Question Papers

Question Papers Nov/Dec 2015

I Sem English - I (2014-15 Onwards)
I Sem Additional English (2014-15 Onwards)
I Sem Hindi - I (2014-15 Onwards)
I Sem Sanskrit - I (2014-15 Onwards)
I Sem Tamil (Paper-1) (Part-1) (2014-15 Onwards)
I Sem Problem Solving Techniques Using C (Y2K14 Scheme) (2014-15 Onwards)
I Sem Kannada (2014-15 Onwards)
I Sem Discrete Mathematics (Y2K14 Scheme) (2014-15 Onwards)

Question Papers (2014)

I Sem Digital Electronics (CBCS Scheme)
I Sem Discrete Mathematics (CBCS Scheme)
I Sem Hindi
I Sem Programming Concepts using C

Question Papers (2010-2013)

Language English-I 2012 (Repeaters)
Computer Fundamentals Fresher and Repeaters 2013
Digital Electronics 2013
Kannada Freshers and Repeaters 2013
Language English Paper -I 2013
Language Sanskrit -I 2013
Computer Applications: Programming Concept Using C 2013
Additional English Paper-I
BCA-104: Digital Electronics
BCA-102: English
BCA-103: Computer Fundamentals - 2009
BCA-103: Computer Fundamentals - 2010
BCA-103: Computer Fundamentals - 2011
BCA-103: Computer Fundamentals - 2012
BCA-103: Digital Electronics - 2010
BCA-103: Digital Electronics - 2009
BCA-104: Digital Electronics - 2012
BCA-102: English - 2010
Language English - 1
Language Hindi - 1 - 2010
Language Hindi - 1 - 2012
Language kannada - 1 - 2010
Language kannada - 1 - 2011
Language kannada
Language kannada - 1
Language kannada - 2012
Language kannada - 2010
Malayalam language Paper-I
BCA-105: Programming Concept using C
BCA-104: Programming Concept using C - 2009
BCA-105: Programming Concept using C - 2012
Language Sanskrit Paper-1
Language Sanskrit Paper-1-2010
Language Sanskrit Paper-1-2011
Language Sanskrit - 2010
Language Sanskrit - 2009
Language Tamil - 2011
Language Tamil - Paper - 1


          A new culture of sexual harassment        
I've been following the public debate on whether or not the Middle Eastern and African immigrants have brought with them a new culture of sexual harassment, with some people saying that yes, they did, and other people saying that Finnish men have been harassing Finnish women since time immemorial.

Frankly, I don't see how those things are mutually exclusive.  Finnish men have been harassing women since time immemorial, and  Middle Eastern and African immigrants have brought with them a new culture of sexual harassment: more violent, more frequent and more persistent. My claim of "more violent" comes from the crime statistics; more frequent and more persistent are just personal experience.

Finnish men have, on a countless number of occasions, informed me that I have big tits (and appeared to expect me to treat this as new information), informed me that they have an erection (which can be a joyful occasion, but not when a total stranger tells you about it at the bus stop and expects you to do something about it other than laugh and point). When I was young they also offered me money for services (not programming of the web services, although I did try to offer that), but I got the impression that this is less common nowadays, even for young women. They have also occasionally tapped me on the butt in clubs, and on one memorable occasion one of them grabbed my breast and twisted it at Tietokilta's yearly party sometime in 1997 or thereabouts (I still regret not filing a police report; but the person in question apologized when he ran into me in a street 2 years later).

What Finnish have not usually done is following me around and demanding sex even after being told "no" numerous times. I also don't recall them demanding an explanation for a "no".  They haven't retorted to "I have a boyfriend" with "he doesn't have to know anything", or "how long have you been together? isn't two years enough?". They have certainly not continued on that with "but can you take me to your bed anyway?".

Of course none of that is new either. Middle Eastern and African immigrants were doing it in the 90s already.

None of this is meant as an excuse for the Finnish idiots who scream "tits!" like they've never seen any tits in real life before (even if they haven't), but it is more annoying to say "no" 20 times to the same guy than to say it once.

EDIT: Remembered another assault by a Finnish man. I was at a perfectly normal party talking to some perfectly normal people when a sociologist came from behind and bit me on the shoulder. The sociologist was encouraged to go home after that.


          About        

When JavaScript was first introduced into the browser with Netscape v 2.0 in 1995 we used it for very simple tasks, such as validating form input or maybe doing something as complex as computing loan payments.

Now 17 years later we are building robust complex applications in JavaScript to run in the browser. Complex applications require a solid set of libraries and frameworks to build and maintain.

Backbone.js and Underscore.js were both created as part of the documentcloud project at the New York Times. Backbone Provides a solid data handling layer that can be used to handle any application.
Backbone.js provides a number of objects to implement a MVC or MVVM architecture in the browser, including Models, Collections, Views, Browser History and more.

This class will introduce programmers to underscore and backbone as well as the Marionette package which provides a number of additional objects for binding Models and Collections to views.

Duration: 3 sessions of 8 hours = 24 hours total. Once a week on Sundays.
Requirements: Experience with JavaScript and a programming language.
When? October 21, 28 and Nov 4 From 9:00 - 17:00

Class will be taught in English.

          ×¡×™×œ×‘וס - Syllabus        


  • QUnit and Jasmine
    • Browser Automation with Selenium
    • Basics of TDD
    • Testing with QUnit
    • Testing With Jasmine
    • Setting up Mocks
    • Using PhantomJS

  • Underscore.js
    • The basics of functional programming
    • Working with lists and collections
      • Map, Filter, Reduce etc
      • Chaining operations
    • Workshop: Working with YQL data
    • Templates

  • Backbone.js
    • Introduction to Backbone.js
    • Backbone Components
      • Events
      • Models
        • Model Validation
      • Collections
      • Sync
        • Custom Sync Options (XML, WebSockets, LocalStorage)
      • History & Router
    • Workshop: Building a News Ticker
  • Backbone Patterns
    • How to construct an application
  • Integration with Backbone Marionette
  • Workshop (Half day) 


          Bill Gates’ Donkey Game Becomes Available on iPhones and Apple Watches        

Bill Gates is known for many things, and one of his greatest achievements was to co-found one of the world’s most famous software companies: Microsoft. However, Gates also has plenty of other notches in his belt, including programming the world’s first PC game. The game in question was actually co-written by Gates back in 1981, and […]

The post Bill Gates’ Donkey Game Becomes Available on iPhones and Apple Watches appeared first on eTeknix.


          Comment on Top 10 Best Websites To Learn Coding (Programming) Online by kachappilly.com        
Heya i am for the primary time here. I found this board and I find It really useful & it helped me out a lot. I am hoping to give something back and help others such as you aided me.
          Comment on Top 10 Best Websites To Learn Coding (Programming) Online by Armina Mkhitaryan        
It's a great list indeed But don't you think www.sololearn.com with it's mobile app should be on the list?
          Comment on Top 10 Best Websites To Learn Coding (Programming) Online by ÄdïL ÏsMÄīl        
Stevejobs dnt knw coding bro he never wrote a a single line of code in his lifetime
          ×ª×’ובה לפוסט: "Q&A: Microsoft, UML and Software Factories" מאת "Claudio Perrone"        
The fundamental problem is that UML is perfectly suitable for documentation but not sufficiently rigorous for code generation. Most people I know (including me) use UML to sketch models and often annotate extra information using an informal language (i.e. English :-)). While UML is not necessarily "difficult", trying to use it as a programming language is time consuming simply because the formal notation is not specific enough to describe the domain accurately. Personally, it didn't take me long to realize that, in order to create models that can be used for code generation, we rather need simple and more focused languages that can easily capture our intentions in a particular domain. Luis (if you haven’t done it yet) have a look at the soon-to-be-released DSL Tools that Roy refers to (and yes, they are integrated into VS 2005). Admitedly, they are still pretty rough, but my guess is that it won't take long before Microsoft will dominate (also) this space.
           [programming][mahjong] シャンテン数計算アルゴリズムで各言語をベンチマーク        

ymatsuxさんのシャンテン数計算アルゴリズムをいろんな言語に移植して速度を比較してみました。

結果(所要時間):

  • C++ (GCC 4.4.3): 2.07秒
  • Java 1.6.0: 3.53秒
  • C# (Mono 2.10.8): 3.57秒
  • JavaScript (Node.js 0.10.18): 4.78秒
  • Scala 2.9.1: 14.51秒
  • Ruby 1.9.3: 250.65秒

タスクは天鳳牌譜中のランダムな手牌1000個のシャンテン数計算です。同一マシンのtimeコマンドで計測した3回の平均。

感想:

  • V8かなり頑張ってる。C++の約2.4倍程度。
  • Scala意外と遅い。JavaScriptに負けてる。
  • Rubyめっちゃ遅い。こういうのを書く言語じゃないんでしょうけど。

注:

  • Scalaの数字が前回と変わってるのは、Hayatoさんの勧めに従ってforをwhileに書き換えたのと-optimizeオプションを付けたことで合計2倍程度高速化したためです。
  • もちろんこういうのはタスク依存でコードの書き方依存なので色々と一概には言えない。
  • アルゴリズム自体は色々と改良の余地があると思っている。とりあえず3倍程度に高速化するアルゴリズムは実装済み。
  • Java版以外は七対子を考慮してません。どの実装も国士無双を考慮していません。計測時はJava版に手を入れて七対子の計算を無効化してます。

というわけでJavaScriptが意外と速いので麻雀AI JavaScriptで書こうかなー。

ソースコード:

牌は1m, 2m, ..., 9m, 1p, 2p, ..., 9p, 1s, 2s, ..., 9s, 東, 南, 西, 北, 白, 發, 中の順の0-originの通し番号で表現されています。

2013/9/21追記: yuizumiさんにC#版をもらったので追加。


          Guida ultraveloce per Haskell su Lubuntu        
A volte i fondamentali, sopratutto per i linguaggi di programmazione meno conosciuti, sono d'obbligo.

Ecco quindi cosa ho ottenuto con 10 minuti di:
finestra di lxterminal con vim per editare un file haskell
Semplice semplice...

Read more »

          I 10 comandamenti del programmatore        
Ispirato da un post al quale sono arrivato attraverso un tweet, (al quale metto il link per correttezza), ho deciso di estrarre dal libro "The Psychology of Computer Programming", scritto nel 1971, i dieci comandamenti del programmatore (senza ego).
Lo scopo è quello di ispirare qualche visitatore di passaggio a chiedersi meglio quale sia l'habitat di queste strane bestie chiamate programmatori o sviluppatori, e di ispirare alcuni di essi a farsi un paio di domande in più!
Non esiste ancora un debugger per la vita reale...


Dopo il salto i 10 comandamenti degli sviluppatori!
Read more »

          è¿™é‡Œç»™ä¸ªPro OGRE 3D Programming的下载链接        
http://www.itstudy8.org/showbook.asp?BookID=2910

Corner Zhang 2007-06-18 22:14 发表评论

          Showbiz Sandbox 366: Shifting TV Viewership is Affecting Ratings, Ad Sales and Future Programming Decisions        

All the major television networks are preparing their dog-and-pony shows for advertisers at this year’s upfront presentations as they look to sell $9 billion worth of commercial time for the upcoming season. However with viewership continuing to become more fractured, the industry has grown concerned that falling ratings over the past year will lead to […]

The post Showbiz Sandbox 366: Shifting TV Viewership is Affecting Ratings, Ad Sales and Future Programming Decisions appeared first on Showbiz Sandbox.


          Maine Sea Grant recognized for seaweed aquaculture outreach, research        

The National Sea Grant Extension Assembly selected Maine Sea Grant as the recipient of the 2016 Superior Outreach Programming Award, presented at the biennial meeting of the National Sea Grant Network on Oct. 13 in Newport, Rhode Island.

Sarah Redmond, former marine Extension associate with Sea Grant and University of Maine Cooperative Extension, received the ... Read More

          Javaの例外をScalaで扱う        

タイトルのことを調べようとしていて、三ヶ月に同じことを調べていたのでブログにメモしておきます…。主に↓に書いてある内容以上のことはありません。前より早く理解できたり、理解が深まったりしたので、進捗していると思いたい。

Scalaの場合

Scalaの関数の場合、以下のケースが多いと思います。

  • 値が存在しない場合もあるときはOption[A]を返す
    • 例: DBから値を引いてきたけど、存在しないときはNoneを返す
  • 失敗するかもしれない処理で、失敗した場合は理由も返して欲しいときはEither[A, B]を返す
    • 例: 外部との通信で破壊的な処理が失敗するかもしれないので、Left("Could not delete user")を返す
    • TryでSuccessかFailureというパターンもできる

SomeやRightになっているもの同士の演算は取り出してくるんで…と手で丁寧にやっていると疲れるし読むのも大変です。mapやflatMap、forを組み合わせると書くのも楽になるし、読むのも楽になります。Haskellの本で勉強した。

すごいHaskellたのしく学ぼう!

すごいHaskellたのしく学ぼう!

どれを使うにしてもパターンマッチでかちっとできるのは書いてても読んでても安心できますね(特にsealed traitなどを使っている場合)。

Javaの場合

ScalaのプロジェクトでもJavaのライブラリを使うことはよくよくあると思いますが、Javaの場合は失敗するかもしれない処理でもOptionやEitherを返さず例外を吐くことが多いです。以下のように、一旦OptionやEitherでくるむとScalaの場合と同じように扱うことができてよさそうですね。

  • allCatch opt => 例外吐いたときはNoneにして、成功した場合はSomeでくるんで返してくれる
  • allCatch either => 例外を吐いたときはLeftにして、成功した場合はRightでくるんで返してくれる

参考


          About Jackie Robinson        

Who was Jackie Robinson?

 

Jack Roosevelt "Jackie" Robinson (January 31, 1919 – October 24, 1972) was the first black Major League Baseball. Robinson broke the baseball color barrier when he signed with the Brooklyn Dodgers in 1947. As the first black man to play in the major leagues, (aside from the 1880s, before the MLB was organized) he is most known for bringing social justice to baseball, which had seperate leagues for blacks (the Negro leagues) and whites for six decades. His character and skills are what helped him challenge the traditional basis of segregation, which was prevalent in all areas of American Life, and was a catalyst to the Civil Rights Movement. Robinson was not just any other baseball player, he strived for success and achieved it, as he helped the Dodgers get to six World Series' and win it all in 1955. He was Rookie of the Year in 1947, MVP in 1949 and a six time All-Star from 1949-1954. He was then inducted to the Baseball Hall of Fame in Cooperstown in 1962 followed by all of MLB retiring the Jackie Robinson Jersey: number 42, in 1997, an honor reserved solely to Robinson. 

Pre Baseball Life

Jackie was born on January 31, 1919, in Cairo, Georgia, to a family of farmers during a Spanish flu and smallpox epidemic. He was the youngest of five children, after his brothers Edgar, Frank, Matthew, and Willa Mae. He was named "Roosevelt" as a middle name, in honor of former President Theodore Roosevelt, who died earier that month. The Robinson's moved to 121 Pepper Street in Pasadena, California after their father left them in 1920. Their mother worked various jobs to support them as they grew up in relative poverty even though Pasadena was considered an affluent place. They attended Washington Junior High School followed by Muir Tech High School. The Robinsons were superb athletes. Matthew was a silver medalist in the 1936 Olympics and he and Frank inspired Jackie to seriously pursue a career in sports. Jackie played on the Muir Tech football team as quarterback, basketball team as a guard, track team as a jumper, tennis team and baseball team as both a catcher and shortstop. In 1936, he won a Tennis Tournament and played in the Pomona baseball tournament all star team with fellow future Hall of Famers Ted Williams and Bob Lemon. 

After High School, Jackie went on to Pasadena Junior College where he continued his involvement in sports. He also was elected to the Lancers, a local organization responsible for helping patrol school activities. In 1938, Jackie joined the All-Southland Junior College baseball team and was selected as that years MVP. He also received honors for his outstanding community service, even though he sometimes acted against those around him who seemed racist. While playing football for PJC, Jackie broke his ankle. A few days before Jackie's 19th birthday he was arrested for vocally disputing the arrest of a black friend of his. He quickly earned a reputation for being one who won't shy away from beligerrance in the face of racism.

After graduating from PJC, Jackie's brother, Frank, was killed in a motorcycle accident which helped Jackie make a decision to move to L.A. where he could console Frank's family. Jackie decided to attend UCLA where he met is future wife, Rachel Isum, and won varsity letters in all the major sports. He won the 1940 NCAA Mens Outdoor Track and Field Championship in the Long Jump,jumping a whopping 24 Feet 10.5 Inches. Ironically, in that year, robinson batted .097 for the UCLA baseball squad. In 1941, he took a job with the NYA as an assistant athletic director, as it would have been impossible for him to get a job as a proffesional athlete due to the color barrier. Later that year he traveled to Hawaii where he had an opportunity to play for the racially mixed semi-pro Honolulu Bears' football team. After that season he would move back to L.A. to play for a local football team, not realizing that the US involvement in World War 2 would sidetrack him for a little while and end his short football career.

Robinson was drafted to the Army in 1942 and was stationed in Fort Riley, Kansas. Throughout his 3 plus years in the Army, he was always treated as a subordinate by the White controlled military. He still managed to become a second lieutenant in 1943, and joined the Black Panthers Tank Battallion, the first Black tank unit to see combat in WWII. However, jackie was never in combat. After getting engaged to his College sweetheart, Rachel, he was sidelined after injuring the same ankle he hurt back in high school. He would finish his army service as a coach for army athletes until 1944 when he was discharged. While in the Army, Robinson made close ties with boxer, Joe Louis, as they helped each other struggle in the white dominated Army.

In early 1945, after working some part time coaching jobs, Jackie received an offer from the Kansas City Monarchs to Play professional Baseball in the Negro Leagues. He signed a contract worth $400 a month as he played for the Monarchs for 1 Season. He played 47 games at shortstop batting .387. The Negro leagues were'nt for Jackie as he didn't like their unorganized style. Luckily he received a secret offer from the GM of the Brooklyn Dodgers, Branch Rickey, to come to NY and play for their Minor League team. They offered him $600 a month on the condition that he would be able to take abuse from other players for being the only black, but contain himself from fighting back. Jackie accepted, and immediately left the Monarchs for NYC where he would marry Rachel Isum, who was in NY studying to be a Nurse. Jackie would start with the Dodgers' AAA club in Daytona Beach, FL that next season.

Baseball Career

In 1946, Robinson arrived at Daytona Beach, Florida, for spring training with the Montreal Royals of the Class AAA International League (the designation of "AAA" for the highest level of minor league baseball was first used in the 1946 season). Robinson's presence was controversial in racially charged Florida. As he was not allowed to stay with his teammates at the team hotel, he lodged instead at the home of a local black politician. Since the Dodgers organization did not own a spring training facility (the Dodger-controlled spring training compound in Vero Beach known as "Dodgertown" did not open until spring 1948), scheduling was subject to the whim of area localities, several of which turned down any event involving Robinson or Johnny Wright, another black player whom Rickey had signed to the Dodgers' organization in January. In Sanford, Florida, the police chief threatened to cancel games if Robinson and Wright did not cease training activities there; as a result, Robinson was sent back to Daytona Beach. In Jacksonville, the stadium was padlocked shut without warning on game day, by order of the city's Parks and Public Property director. In DeLand, a scheduled day game was called off, ostensibly because of faulty electrical lighting.

After much lobbying of local officials by Rickey himself, the Royals were allowed to host a game involving Robinson in Daytona Beach. Robinson made his Royals debut at Daytona Beach's City Island Ballpark on March 17, 1946, in an exhibition game against the team's parent club, the Dodgers. Robinson thus simultaneously became the first black player to openly play for a minor league team and against a major league team since the de facto baseball color line had been implemented in the 1880s. Later in spring training, after some less-than-stellar performances, Robinson was shifted from shortstop to second base, allowing him to make shorter throws to first base. Robinson's performance soon rebounded. On April 18, 1946, Roosevelt Stadium hosted the Jersey City Giants' season opener against the Montreal Royals, marking the professional debut of the Royals' Jackie Robinson. In his five trips to the plate, Robinson had four hits, including a three-run home run. He also scored four runs, drove in three, and stole two bases in the Royals' 14–1 victory. Robinson proceeded to lead the International League that season with a .349 batting average and .985 fielding percentage, and he was named the league's Most Valuable Player. Although he often faced hostility while on road trips (the Royals were forced to cancel a Southern exhibition tour, for example), the Montreal fan base enthusiastically supported Robinson. Whether fans supported or opposed it, Robinson's presence on the field was a boon to attendance; more than one million people went to games involving Robinson in 1946, an amazing figure by International League standards. In the fall of 1946, following the baseball season, Robinson returned home to California and briefly played professional basketball for the short-lived Los Angeles Red Devils.

The following year, six days before the start of the 1947 season, the Dodgers called Robinson up to the major leagues. With Eddie Stanky entrenched at second base for the Dodgers, Robinson played his initial major league season as a first baseman. On April 15, 1947, Robinson made his major league debut at Ebbets Field before a crowd of 26,623 spectators, including more than 14,000 black patrons. Although he failed to get a base hit, the Dodgers won 5–3. Robinson became the first player since 1880 to openly break the major league baseball color line. Black fans began flocking to see the Dodgers when they came to town, abandoning their Negro league teams.

Robinson's promotion met a generally positive, although mixed, reception among newspapers and white major league players. However, racial tension existed in the Dodger clubhouse. Some Dodger players insinuated they would sit out rather than play alongside Robinson. The brewing mutiny ended when Dodgers management took a stand for Robinson. Manager Leo Durocher informed the team, "I do not care if the guy is yellow or black, or if he has stripes like a fuckin' zebra. I'm the manager of this team, and I say he plays. What's more, I say he can make us all rich. And if any of you cannot use the money, I will see that you are all traded."

Robinson was also derided by opposing teams. Some, notably the St. Louis Cardinals, threatened to strike if Robinson played. After the threat, National League President Ford Frick and Baseball Commissioner Happy Chandler let it be known that any striking players would be suspended. Robinson nonetheless became the target of rough physical play by opponents (particularly the Cardinals). At one time, he received a seven-inch gash in his leg. On April 22, 1947, during a game between the Dodgers and the Philadelphia Phillies, Phillies players called Robinson a "nigger" from their dugout and yelled that he should "go back to the cotton fields". Rickey later recalled that Phillies manager Ben Chapman "did more than anybody to unite the Dodgers. When he poured out that string of unconscionable abuse, he solidified and united thirty men."

Robinson received significant encouragement from several major league players. Dodgers teammate Pee Wee Reese once came to Robinson's defense with the famous line, "You can hate a man for many reasons. Color is not one of them." In 1948, Reese put his arm around Robinson in response to fans who shouted racial slurs at Robinson before a game in Cincinnati. A statue by sculptor William Behrends, unveiled at KeySpan Park on November 1, 2005, commemorates this event by representing Reese with his arm around Robinson. Jewish baseball star Hank Greenberg, who had to deal with racial epithets during his career, also encouraged Robinson. After colliding with Robinson at first base on one occasion, Greenberg whispered a few words into Robinson's ear, which Robinson later characterized as "words of encouragement." Greenberg had advised him that the best way to combat the slurs from the opposing players was to beat them on the field.

Robinson finished the season having played in 151 games for the Dodgers, with a batting average of .297, an on-base percentage of .383, and a .427 slugging percentage. He had 175 hits (scoring 125 runs) including 31 doubles, 5 triples, 12 home runs, driving in 48 runs for the year. Robinson led the league in sacrifice hits, with 28, and in stolen bases, with 29. His cumulative performance earned him the inaugural Major League Baseball Rookie of the Year Award (separate National and American League Rookie of the Year honors were not awarded until 1949).

Following Stanky's trade to the Boston Braves in March 1948, Robinson took over second base, where he logged a .980 fielding percentage that year (second in the National League at the position, fractionally behind Stanky). Robinson had a batting average of .296 and 22 stolen bases for the season. In a 12–7 win against the St. Louis Cardinals on August 29, 1948, he hit for the cycle—a home run, a triple, a double, and a single in the same game. The Dodgers briefly moved into first place in the National League in late August 1948, but they ultimately finished third as the Braves went on to win the league title and lose to the Cleveland Indians in the World Series.

Racial pressure on Robinson eased in 1948 as a number of other black players entered the major leagues. Larry Doby (who broke the color barrier in the American League on July 5, 1947) and Satchel Paige played for the Cleveland Indians, and the Dodgers had three other black players besides Robinson. In February 1948, he signed a $12,500 contract (equal to $120,914 today) with the Dodgers; while a significant amount, this was less than Robinson made in the off-season from a vaudeville tour, where he answered pre-set baseball questions, and a speaking tour of the South. Between the tours, he underwent surgery on his right ankle. Because of his off-season activities, Robinson reported to training camp 30 pounds (14 kg) overweight. He lost the weight during training camp, but dieting left him weak at the plate.

In the spring of 1949, Robinson turned to Hall of Famer George Sisler, working as an advisor to the Dodgers, for batting help. At Sisler's suggestion, Robinson spent hours at a batting tee, learning to hit the ball to right field. Sisler taught Robinson to anticipate a fastball, on the theory that it is easier to subsequently adjust to a slower curveball. Robinson also noted that "Sisler showed me how to stop lunging, how to check my swing until the last fraction of a second". The tutelage helped Robinson raise his batting average from .296 in 1948 to .342 in 1949. In addition to his improved batting average, Robinson stole 37 bases that season, was second place in the league for both doubles and triples, and registered 124 runs batted in with 122 runs scored. For the performance Robinson earned the Most Valuable Player award for the National League. Baseball fans also voted Robinson as the starting second baseman for the 1949 All-Star Game—the first All-Star Game to include black players.

That year, a song about Robinson by Buddy Johnson, "Did You See Jackie Robinson Hit That Ball?", reached number 13 on the charts; Count Basie recorded a famous version. Ultimately, the Dodgers won the National League pennant, but lost in five games to the New York Yankees in the 1949 World Series.

Summer 1949 brought an unwanted distraction for Robinson. In July, he was called to testify before the United States House of Representatives' Committee on Un-American Activities (HUAC) concerning statements made that April by black athlete and actor Paul Robeson. Robinson was reluctant to testify, but he eventually agreed to do so, fearing it might negatively affect his career if he declined.

In 1950, Robinson led the National League in double plays made by a second baseman with 133. His salary that year was the highest any Dodger had been paid to that point: $35,000 ($338,091 in 2012 dollars). He finished the year with 99 runs scored, a .328 batting average, and 12 stolen bases. The year saw the release of a film biography of Robinson's life, The Jackie Robinson Story, in which Robinson played himself, and actress Ruby Dee played Rachael "Rae" (Isum) Robinson. The project had been previously delayed when the film's producers refused to accede to demands of two Hollywood studios that the movie include scenes of Robinson being tutored in baseball by a white man. The New York Times wrote that Robinson, "doing that rare thing of playing himself in the picture's leading role, displays a calm assurance and composure that might be envied by many a Hollywood star."

Robinson's Hollywood exploits, however, did not sit well with Dodgers co-owner Walter O'Malley, who referred to Robinson as "Rickey's prima donna". In late 1950, Rickey's contract as the Dodgers' team President expired. Weary of constant disagreements with O'Malley, and with no hope of being re-appointed as President of the Dodgers, Rickey cashed out his one-quarter financial interest in the team, leaving O'Malley in full control of the franchise. Rickey shortly thereafter became general manager of the Pittsburgh Pirates. Robinson was disappointed at the turn of events and wrote a sympathetic letter to Rickey, whom he considered a father figure, stating, "Regardless of what happens to me in the future, it all can be placed on what you have done and, believe me, I appreciate it."

Before the 1951 season, O'Malley reportedly offered Robinson the job of manager of the Montreal Royals, effective at the end of Robinson's playing career. O'Malley was quoted in the Montreal Standard as saying, "Jackie told me that he would be both delighted and honored to tackle this managerial post"—although reports differed as to whether a position was ever formally offered.

During the 1951 season, Robinson led the National League in double plays made by a second baseman for the second year in a row, with 137. He also kept the Dodgers in contention for the 1951 pennant. During the last game of the season, in the 13th inning, he had a hit to tie the game, and then won the game with a home run in the 14th. This forced a playoff against the New York Giants, which the Dodgers lost.

Despite Robinson's regular-season heroics, the Dodgers lost the pennant on Bobby Thomson's famous home run, known as the Shot Heard 'Round the World, on October 3, 1951. Overcoming his dejection, Robinson dutifully observed Thomson's feet to ensure he touched all the bases. Dodgers sportscaster Vin Scully later noted that the incident showed "how much of a competitor Robinson was." He finished the season with 106 runs scored, a batting average of .335, and 25 stolen bases.

Robinson had what was an average year for him in 1952. He finished the year with 104 runs, a .308 batting average, and 24 stolen bases. He did, however, record a career-high on-base percentage of .436. The Dodgers improved on their performance from the year before, winning the National League pennant before losing the 1952 World Series to the New York Yankees in seven games. That year, on the television show Youth Wants to Know, Robinson challenged the Yankees' general manager, George Weiss, on the racial record of his team, which had yet to sign a black player. Sportswriter Dick Young, whom Robinson had described as a "bigot", said, "If there was one flaw in Jackie, it was the common one. He believed that everything unpleasant that happened to him happened because of his blackness." The 1952 season was the last year Robinson was an everyday starter at second base. Afterward, Robinson played variously at first, second, and third bases, shortstop, and in the outfield, with Jim Gilliam, another black player, taking over everyday second base duties. Robinson's interests began to shift toward the prospect of managing a major league team. He had hoped to gain experience by managing in the Puerto Rican Winter League, but according to the New York Post, Commissioner Happy Chandler denied the request.

In 1953, Robinson had 109 runs, a .329 batting average, and 17 steals, leading the Dodgers to another National League pennant (and another World Series loss to the Yankees, this time in six games). Robinson's continued success spawned a string of death threats. He was not dissuaded, however, from addressing racial issues publicly. That year, he served as editor for Our Sports magazine, a periodical focusing on Negro sports issues; contributions to the magazine included an article on golf course segregation by Robinson's old friend Joe Louis. Robinson also openly criticized segregated hotels and restaurants that served the Dodger organization; a number of these establishments integrated as a result, including the five-star Chase Park Hotel in St. Louis.

In 1954, Robinson had 62 runs, a .311 batting average, and 7 steals. His best day at the plate was on June 17, when he hit two home runs and two doubles. The following autumn, Robinson won his only championship when the Dodgers beat the New York Yankees in the 1955 World Series. Although the team enjoyed ultimate success, 1955 was the worst year of Robinson's individual career. He hit .256 and stole only 12 bases. The Dodgers tried Robinson in the outfield and as a third baseman, both because of his diminishing abilities and because Gilliam was established at second base. Robinson, then 37 years old, missed 49 games and did not play in Game 7 of the World Series. Robinson missed the game because manager Walter Alston decided to play Gilliam at second and Don Hoak at third base. That season, the Dodgers' Don Newcombe became the first black major league pitcher to win twenty games in a year.

In 1956, Robinson had 61 runs, a .275 batting average, and 12 steals. By then, he had begun to exhibit the effects of diabetes, and to lose interest in the prospect of playing or managing professional baseball. After the season, Robinson was traded by the Dodgers to the arch-rival New York Giants for Dick Littlefield and $35,000 cash (equal to $299,192 today). The trade, however, was never completed; unbeknownst to the Dodgers, Robinson had already agreed with the president of Chock full o'Nuts to quit baseball and become an executive with the company. Since Robinson had sold exclusive rights to any retirement story to Look magazine two years previously,[165&91; his retirement decision was revealed through the magazine, instead of through the Dodgers organization.

Legacy

Robinson's major league debut brought an end to approximately sixty years of segregation in professional baseball, known as the baseball color line. After World War II, several other forces were also leading the country toward increased equality for blacks, including their accelerated migration of to the North, where their political clout grew, and President Harry Truman's desegregation of the military in 1948. Robinson's breaking of the baseball color line and his professional success symbolized these broader changes and demonstrated that the fight for equality was more than simply a political matter. Martin Luther King, Jr. said that he was "a legend and a symbol in his own time", and that he "challenged the dark skies of intolerance and frustration." According to historian Doris Kearns Goodwin, Robinson's "efforts were a monumental step in the civil-rights revolution in America ... [His&91; accomplishments allowed black and white Americans to be more respectful and open to one another and more appreciative of everyone's abilities."

Beginning his major league career at the relatively advanced age of twenty-eight, he played only ten seasons, all of them for the Brooklyn Dodgers. During his career, the Dodgers played in six World Series, and Robinson himself played in six All-Star Games. In 1999, he was posthumously named to the Major League Baseball All-Century Team.

Robinson's career is generally considered to mark the beginning of the post–"long ball" era in baseball, in which a reliance on raw power-hitting gave way to balanced offensive strategies that used footspeed to create runs through aggressive baserunning. Robinson exhibited the combination of hitting ability and speed which exemplified the new era. He scored more than 100 runs in six of his ten seasons (averaging more than 110 runs from 1947 to 1953), had a .311 career batting average, a .409 career on-base percentage, a .474 slugging percentage, and substantially more walks than strikeouts (740 to 291). Robinson was one of only two players during the span of 1947–56 to accumulate at least 125 steals while registering a slugging percentage over .425 (Minnie Miñoso was the other). He accumulated 197 stolen bases in total, including 19 steals of home. None of the latter were double steals (in which a player stealing home is assisted by a player stealing another base at the same time). Robinson has been referred to by author David Falkner as "the father of modern base-stealing."

"I'm not concerned with your liking or disliking me ... all I ask is that you respect me as a human being." —Robinson, on his legacy

 

Historical statistical analysis indicates Robinson was an outstanding fielder throughout his ten years in the major leagues and at virtually every position he played. After playing his rookie season at first base, Robinson spent most of his career as a second baseman. He led the league in fielding among second basemen in 1950 and 1951. Toward the end of his career, he played about 2,000 innings at third base and about 1,175 innings in the outfield, excelling at both.

Assessing himself, Robinson said, "I'm not concerned with your liking or disliking me ... all I ask is that you respect me as a human being." Regarding Robinson's qualities on the field, Leo Durocher said, "Ya want a guy that comes to play. This guy didn't just come to play. He come to beat ya. He come to stuff the goddamn bat right up your ass."

Post-baseball life

Robinson as ABC sports announcer in 1965

Robinson retired from baseball on January 5, 1957. Later that year, after he complained of numerous physical ailments, his doctors diagnosed Robinson with diabetes, a disease that also affected his brothers. Although Robinson adopted an insulin injection regimen, the state of medicine at the time could not prevent continued deterioration of Robinson's physical condition from the disease.

In his first year of eligibility for the Baseball Hall of Fame in 1962, Robinson encouraged voters to consider only his on-field qualifications, rather than his cultural impact on the game. He was elected on the first ballot, becoming the first black player inducted into the Cooperstown museum.

In 1965, Robinson served as an analyst for ABC's Major League Baseball Game of the Week telecasts, the first black person to do so. In 1966, Robinson was hired as general manager for the short-lived Brooklyn Dodgers of the Continental Football League. In 1972, he served as a part-time commentator on Montreal Expos telecasts.

On June 4, 1972, the Dodgers retired his uniform number, 42, alongside those of Roy Campanella (39) and Sandy Koufax (32). From 1957 to 1964, Robinson was the vice president for personnel at Chock full o'Nuts; he was the first black person to serve as vice president of a major American corporation. Robinson always considered his business career as advancing the cause of black people in commerce and industry. Robinson also chaired the National Association for the Advancement of Colored People's (NAACP) million-dollar Freedom Fund Drive in 1957, and served on the organization's board until 1967. In 1964, he helped found, with Harlem businessman Dunbar McLaurin, Freedom National Bank—a black-owned and operated commercial bank based in Harlem. He also served as the bank's first Chairman of the Board. In 1970, Robinson established the Jackie Robinson Construction Company to build housing for low-income families.

Robinson was active in politics throughout his post-baseball life. He identified himself as a political independent although he held conservative opinions on several issues, including the Vietnam War (he once wrote Martin Luther King, Jr. to defend the Johnson Administration's military policy). After supporting Richard Nixon in his 1960 presidential race against John F. Kennedy, Robinson later praised Kennedy effusively for his stance on civil rights. Robinson was angered by conservative Republican opposition to the Civil Rights Act of 1964. He became one of six national directors for Nelson Rockefeller's unsuccessful campaign to be nominated as the Republican candidate for the 1964 presidential election. After the party nominated Senator Barry Goldwater of Arizona instead, Robinson left the party's convention commenting that he now had "a better understanding of how it must have felt to be a Jew in Hitler's Germany". He later became special assistant for community affairs when Rockefeller was re-elected governor of New York in 1966. Switching his allegiance to the Democrats, he subsequently supported Hubert Humphrey against Nixon in 1968.

Protesting the major leagues' ongoing lack of minority managers and central office personnel, Robinson turned down an invitation to appear in an old-timers' game at Yankee Stadium in 1969. He made his final public appearance on October 15, 1972, throwing the ceremonial first pitch before Game 2 of the World Series. He gratefully accepted a plaque honoring the twenty-fifth anniversary of his MLB debut, but also commented, "I'm going to be tremendously more pleased and more proud when I look at that third base coaching line one day and see a black face managing in baseball." This wish was fulfilled only after Robinson's death: following the 1974 season, the Cleveland Indians gave their managerial post to Frank Robinson (no relation), a Hall of Fame-bound player who would go on to manage three other teams. Despite the success of these two Robinsons and other black players, the number of African-American players in Major League Baseball has declined since the 1970s.

Family life and death

After Robinson's retirement from baseball, his wife, Rachel Robinson, pursued a career in academic nursing—she became an assistant professor at the Yale School of Nursing and director of nursing at the Connecticut Mental Health Center. She also served on the board of the Freedom National Bank until it closed in 1990. She and Jackie had three children: Jackie Robinson Jr. (born November 18, 1946), Sharon Robinson (born January 13, 1950), and David Robinson (born May 14, 1952).

Robinson's eldest son, Jackie Robinson Jr., had emotional trouble during his childhood and entered special education at an early age. He enrolled in the Army in search of a disciplined environment, served in the Vietnam War, and was wounded in action on November 19, 1965. After his discharge, he struggled with drug problems. Robinson Jr. eventually completed the treatment program at Daytop Village in Seymour, Connecticut, and became a counselor at the institution. On June 17, 1971, at the age of 24, he was killed in an automobile accident. The experience with his son's drug addiction turned Robinson, Sr. into an avid anti-drug crusader toward the end of his life.

Robinson did not long outlive his son. Complications of heart disease and diabetes weakened Robinson and made him almost blind by middle age. On October 24, 1972, he died of a heart attack at home in Stamford, Connecticut, aged fifty-three. Robinson's funeral service on October 27, 1972, at New York City's Riverside Church attracted 2,500 admirers. Many of his former teammates and other famous black baseball players served as pallbearers, and the Rev. Jesse Jackson gave the eulogy. Tens of thousands of people lined the subsequent procession route to Robinson's interment site at Cypress Hills Cemetery in Brooklyn, New York, where he is buried next to his son Jackie and mother-in-law Zellee Isum. Jackie Robinson Parkway also runs through the cemetery.

After Robinson's death, his widow founded the Jackie Robinson Foundation, of which she remains an officer as of 2009. On April 15, 2008, she announced that in 2010 the foundation will be opening a museum devoted to Jackie in Lower Manhattan. Robinson's daughter, Sharon, became a midwife, educator, director of educational programming for MLB, and the author of two books about her father. His youngest son, David, who has ten children, is a coffee grower and social activist in Tanzania.

Awards and recognition

According to a poll conducted in 1947, Robinson was the second most popular man in the country, behind Bing Crosby. In 1999, he was named by Time on its list of the 100 most influential people of the 20th century. Also in 1999, he ranked number 44 on the Sporting News list of Baseball's 100 Greatest Players and was elected to the Major League Baseball All-Century Team as the top vote-getter among second basemen. Baseball writer Bill James, in The New Bill James Historical Baseball Abstract, ranked Robinson as the 32nd greatest player of all time strictly on the basis of his performance on the field, noting that he was one of the top players in the league throughout his career. Robinson was among the 25 charter members of UCLA’s Athletics Hall of Fame in 1984. In 2002, Molefi Kete Asante included Robinson on his list of 100 Greatest African Americans. Robinson has also been honored by the United States Postal Service on three separate postage stamps, in 1982, 1999, and 2000.

The City of Pasadena has recognized Robinson in several ways. Brookside Park, situated next to the Rose Bowl, features a baseball diamond and stadium named Jackie Robinson Field. The city's Human Services Department operates the Jackie Robinson Center, a community outreach center that provides early diabetes detection and other services. In 1997, a $325,000 bronze sculpture (equal to $470,522 today) by artists Ralph Helmick, Stu Schecter, and John Outterbridge depicting oversized nine-foot busts of Robinson and his brother Mack was erected at Garfield Avenue, across from the main entrance of Pasadena City Hall; a granite footprint lists multiple donors to the commission project, which was organized by the Robinson Memorial Foundation and supported by members of the Robinson family.

Major League Baseball has honored Robinson many times since his death. In 1987, both the National and American League Rookie of the Year Awards were renamed the "Jackie Robinson Award" in honor of the first recipient (Robinson's Major League Rookie of the Year Award in 1947 encompassed both leagues). On April 15, 1997, Robinson's jersey number, 42, was retired throughout Major League Baseball, the first time any jersey number had been retired throughout one of the four major American sports leagues.

As an exception to the retired-number policy, MLB has recently begun honoring Robinson by allowing players to wear number 42 on April 15, Jackie Robinson Day. For the 60th anniversary of Robinson's major league debut, MLB invited players to wear the number 42 on Jackie Robinson Day in 2007. The gesture was originally the idea of outfielder Ken Griffey, Jr., who sought Rachel Robinson's permission to wear the number. After receiving her permission, Commissioner Bud Selig not only allowed Griffey to wear the number, but also extended an invitation to all major league teams to do the same. Ultimately, more than 200 players wore number 42, including the entire rosters of the Los Angeles Dodgers, New York Mets, Houston Astros, Philadelphia Phillies, St. Louis Cardinals, Milwaukee Brewers, and Pittsburgh Pirates. The tribute was continued in 2008, when, during games on April 15, all members of the Mets, Cardinals, Washington Nationals, and Tampa Bay Rays wore Robinson's number 42. On June 25, 2008, MLB installed a new plaque for Robinson at the Baseball Hall of Fame commemorating his off-the-field impact on the game as well as his playing statistics. In 2009, all uniformed personnel (players, managers, coaches, and umpires) wore number 42 on April 15.

At the November 2006 groundbreaking for a new ballpark for the New York Mets, Citi Field, it was announced that the main entrance, modeled on the one in Brooklyn's old Ebbets Field, would be called the Jackie Robinson Rotunda. The rotunda was dedicated at the opening of Citi Field on April 16, 2009. It honors Robinson with large quotations spanning the inner curve of the facade and features a large freestanding statue of his number, 42, which has become an attraction in itself. Mets owner Fred Wilpon announced that, in conjunction with Citigroup and the Jackie Robinson Foundation, the Mets will create a Jackie Robinson Museum and Learning Center, located at the headquarters of the Jackie Robinson Foundation at One Hudson Square in lower Manhattan. The main purpose of the museum will be to fund scholarships for "young people who live by and embody Jackie's ideals."

Since 2004, the Aflac National High School Baseball Player of the Year has been presented the "Jackie Robinson Award".

Robinson has also been recognized outside of baseball. In December 1956, the NAACP recognized him with the Spingarn Medal, which it awards annually for the highest achievement by an African-American. President Ronald Reagan posthumously awarded Robinson the Presidential Medal of Freedom on March 26, 1984, and on March 2, 2005, President George W. Bush gave Robinson's widow the Congressional Gold Medal, the highest civilian award bestowed by Congress; Robinson was only the second baseball player to receive the award, after Roberto Clemente. On August 20, 2007, California Governor Arnold Schwarzenegger and his wife, Maria Shriver, announced that Robinson was inducted into the California Hall of Fame, located at The California Museum for History, Women and the Arts in Sacramento.

A number of buildings have been named in Robinson's honor. The UCLA Bruins baseball team plays in Jackie Robinson Stadium, which, because of the efforts of Jackie's brother Mack, features a memorial statue of Robinson by sculptor Richard H. Ellis. City Island Ballpark in Daytona Beach, Florida—the baseball field that became the Dodgers' de facto spring training site in 1947—was renamed Jackie Robinson Ballpark in 1989. A number of facilities at Pasadena City College (successor to PJC) are named in Robinson's honor, including Robinson Field, a football/soccer/track facility named jointly for Robinson and his brother Mack. The New York Public School system has named a middle school after Robinson, and Dorsey High School plays at a Los Angeles football stadium named after him. In 1976, his home in Brooklyn, the Jackie Robinson House, was declared a National Historic Landmark. Robinson also has an asteroid named after him, 4319 Jackierobinson. In 1997, the United States Mint issued a Jackie Robinson commemorative silver dollar, and five dollar gold coin. That same year, New York City renamed the Interboro Parkway in his honor.

In 2011, the U.S. placed a plaque at Robinson's Montreal home to honor the ending of segregation in baseball. The home is located at 8232 avenue de Gaspe south of rue de Guizot Est and near Jarry Park and close to Delorimier Stadium, where Robinson played for the Montreal Royals during 1946. In a letter read during the ceremony, Rachel Robinson, Jackie's widow, wrote: "I remember Montreal and that house very well and have always had warm feeling for that great city. Before Jack and I moved to Montreal, we had just been through some very rough treatment in the racially biased South during spring training in Florida. In the end, Montreal was the perfect place for him to get his start. We never had a threatening or unpleasant experience there. The people were so welcoming and saw Jack as a player and as a man."

Career statistics

YearTeamGABRH2B3BHRRBISBCSBBSOAVGOBPSLGTBSHSFIBBHBPGDPE
1945 Kansas City 47 163 36 63 14 4 5 23 13       .387                  
1946 Montreal 124 444 113 155 25 8 3 66 40   92 27 .349                 10
1947 Brooklyn 151 590 125 175 31 5 12 48 29   74 36 .297 .383 .427 252 28     9 5 16
1948 Brooklyn 147 574 108 170 38 8 12 85 22   57 37 .296 .367 .453 260 8     7 7 15
1949 Brooklyn 156 593 122 203 38 12 16 124 37   86 27 .342 .432 .528 313 17     8 22 16
1950 Brooklyn 144 518 99 170 39 4 14 81 12   80 24 .328 .423 .500 259 10     5 11 11
1951 Brooklyn 153 548 106 185 33 7 19 88 25 8 79 27 .338 .429 .527 289 6     9 10 7
1952 Brooklyn 149 510 104 157 17 3 19 75 24 7 106 40 .308 .440 .465 237 6     14 16 20
1953 Brooklyn 136 484 109 159 34 7 12 95 17 4 74 30 .329 .425 .502 243 9     7 12 6
1954 Brooklyn 124 386 62 120 22 4 15 59 7 3 63 20 .311 .413 .505 195 5 4a   7 13 7
1955 Brooklyn 105 317 51 81 6 2 8 36 12 3 61 18 .256 .378 .363 115 6 3 5b 3 8 10
1956 Brooklyn 117 357 61 98 15 2 10 43 12 5 60 32 .275 .382 .412 147 9 2 2 3 9 9
TotalsBrooklyn13824877947151827354137734197 740291.311.409.47423101049772113107
 Career155354941096173634267161867248   .316    97   

a The sacrifice fly (SF) as a unique statistical category did not exist in Major League Baseball from 1940 through 1953. Any pre-1954 sacrifice flies by Robinson would be reflected in the sacrifice hit (SH) category.

b Likewise, the intentional walk (IBB) category only became a unique statistic beginning in 1955. Any intentional walks issued to Robinson before that year would be reflected in the walk (BB) category.

 


          YOU HAVE JUST RECEIVED THE UNC VIRUS        


As we do not have any programming experience,
this virus works on the honor system. Please delete
all of the files on your hard drive and manually for -
ward this virus to everyone in your address book.

Thanks for your cooperation,

UNC Computer Department


          Rustris Postmortem: Making Tetris with ggez        

You know what game I love? Tetris. An easy game to play but difficult to master that’s been released on every platform under the sun. The game has had a strong following for over 30 years and it’s still going strong. For my next Rust-based game project, I decided to make my own version of Tetris with basic gameplay features, a menu screen and game ending states. After a month of working on it sporadically, I managed to get the project into a state I’m okay with releasing into the wild (The source code is available on GitHub or GitLab). Here are some of my thoughts on challenges faced & choices made during development.

Goals

The main goal of this project was to learn how to create Tetris in Rust. It was not to learn how to make a game engine in Rust. If I had wanted to do that, I would have started with something like SDL2 and worked off of that.

Making Good Games Easily

After spending some time earlier playing around with the Lua-based love2d game framework, picking a Rust framework influenced by love2d seems like the obvious path to take. ggez fits the bill here, providing easy ways to draw to the screen, play audio, access the filesystem, render text, handling input and deal with timing. It doesn’t aim to provide every feature one can want in a game engine such as entity-component systems or math functions; this functionality can be provided by already-existing crates. Instead, the focus is on being easy to get up and running, and to be productive quickly without having to think about lower level operations. Just like the name of the framework says!

Personally, I found ggez quite pleasant and easy to work with. Much of ggez revolves around the EventHandler trait. This trait contains required callbacks that must be implemented (update(), draw()) as well as a bunch of optional input-related callbacks. From there, a developer has free reign to do whatever they please.

As an example, this is what my GameEndState struct looks like:

pub struct GameEndState {
    request_replay: bool,
    request_menu: bool,
    request_quit: bool,
    options: Vec<Option>,
    current_selection: usize,

    game_end_text: graphics::Text,
    final_score_text: graphics::Text,
    final_line_text: graphics::Text,
    final_level_text: graphics::Text,
}

The input system in Rustris is state-based instead of event-based so for smaller states such as the game over screen, I store a bool for each potential input response from a user1. In the state’s update() method, I check whether any of these switches have flipped and act accordingly. Options were abstracted into an Option struct, so I store a vector of those as well as the currently selected option. Finally, when the GameEndState is created, so are any graphics::Text objects that are required to display some information on screen. These are stored in the state and drawn to the buffer every frame.

The simplicity of ggez’s API allowed me to just focus on making the game. Each state contained what it needed to do its job and that’s it. Whenever I found myself repeating code across states, I’d lift that code into a module containing code shared between states. For example, my Option struct which is used across multiple states (MenuState, GameEndState), is in shared module. It feels very simple and clean as well as easy to extend later on.

Bumps in the Road

Once work on the main ‘play field’ state was finished and plans for the menu state began, I had noticed a couple of limitations:

  1. I had created a Transition enum listing potential transitions between states within a state manager. I wanted to have both update() and draw() return said Transition[^2] so a state’s update() method can request state changes but the ggez EventHandler trait is hardcoded to return an empty tuple.

  2. What if I wanted to create an Assets object that held all my assets that lived at the top-level of my object hierarchy? This way, a reference to that object can be passed to any active states that may need access to an image, or a sound.

  3. If Transition was defined in my code, how would EventHandler even know about it? This is when I first jumped into the ggez event module source code in attempts to make the return type generic. This ended a rabbit hole filled with Boxes and eventually, failure.

Thankfully, ggez is written in a clean and modular way - no spaghetti here. I was able to simply make my own copy of the event module and make my needed changes. I think ideally, there would be a way to define return types from EventHandlerfrom the framework user’s end but for now, this will do. The problem of passing Assets seems like a harder one to solve. I don’t believe Rust currently has the option to call functions with a variable number of arguments or optional arguments. For now, editing the event module will work as a solution.

Other stuff

Another issue I had actually has to do with one of ggez’s dependencies. rodio, created by master crate creator tomaka. Currently, it doesn’t have a way to stop any audio that is being played. There is a PR ready to be merged into implement this, and then ggez simply needs to offer a high-level interface to stop audio[^3]. This isn’t a huge deal, but it will be nice to have this functionality when it is finally implemented.

The design for both the Assets struct and Transitions enum were shamelessly inspired by the Rust-based Amethyst game engine, another excellent project. It has tons of great ideas and I’m excited to start playing around with it in the future on larger projects.

I implemented a state manager inspired by the “Pushdown Automata” discussed in the “State” chapter of the excellent Game Programming Patterns. I believe that Amethyst also uses a similar pattern which makes sense if my Transition enum, used to transition between game states, was inspired by Amethyst’s Trans enum. With a state stack, all one needs to do to add a ‘pause state’ or ‘inventory’ screen’ is to push that state on the stack when needed and pop it off when done.

I’m not an artist nor a musician, so I had to rely on open source and freely licensed assets. All the audio and sound effects were found online and some of the assets I made, such as the black hole graphic on the menu and the background of the play field. It’s not the best looking or sounding game in the world but for what was an educational non-commercial product, I think it did the job.

Final Thoughts

Tetris is a fun game to write in Rust. I don’t think that my code is some kind of incredible work of art, a standard that other code should be judged against (if anything, it’s probably the opposite) but I had lots of fun and I learned quite a bit about making games, making games in Rust and Rust itself. That was my goal, so mission accomplished! You can check out the source code on GitHub or GitLab. I don’t have access to a Windows or Mac right now so I unfortunately cannot produce any binaries to distribute this at the moment.

ggez is a great framework to use for small 2D games. I was able to talk with Icefox, one of the library authors, at the Game Development in Rust meetup in Toronto on July 7th 2017. He’s a nice & smart guy and after watching him talk about the future of ggez during his presentation of the framework, I have 100% confidence that it will continue to grow into a fine young lad great framework to use to make good games easily.

  1. For states with more input such as my PlayState, I threw all the potential state bool into its own struct - makes the code easier to read, in my opinion. [^2]: Wrapped in ggez’s custom Result type, GameResult. [^3]: Yes. Just “simply” implement it. You know, easy! 


          dale.io v4        

I recently decided that my personal site needed a tune up. No longer happy with the current design, I decided to throw it away completely and to start from scratch. Here are a few things I thought about during the process of re-writing the website.

Choosing a backend

Right off the bat, I knew that I wanted to continue using a static site generator for my homepage. Tools like WordPress and Ghost are interesting but for my use case I found both to be overkill. After taking a look at some of the most popular static site generators1 around and playing around with them, I had a better idea of the current tool landscape at the time.

There are a bunch of static site generators these days written in a variety of languages. I took a look at a few JavaScript-based ones, such as Hexo and Metalsmith - both on opposite sides of the feature list spectrum. Metalsmith is completely barebones to the point where all functionality is added via plugins. This is a pretty neat idea but I was looking for something that was more balanced between features and do-it-yourself mentality. When I was initially researching static site generators, Metalsmith had a lot of issues with plugin version rot as well. The idea of everything being a plugin is pretty neat - as long as these individual plugins are maintained! On the other end of the feature spectrum, Hexo reminds me a lot of Jekyll but written in JavaScript and more of an emphasis on blogs. This wasn’t enough to pull me away from Jekyll, a tool I already knew.

On the Ruby end, I took a look at Middleman and Jekyll. Middleman is a great competitor for Jekyll with some neat features. It allows for incremental building of your site, a feature that Jekyll will be lacking until its v3 release. I have not had much of an issue with build times with Jekyll but I can see how a huge site with thousands of pages would not scale well without incremental builds. Middleman also offers more in the way of a default template and such. However, in the end I stuck with Jekyll. Recent additions to Jekyll such as collections make building non-blog and hybrid websites with Jekyll much easier.

Choosing a colour palette

I am not a designer - I think the previous designs of my site show as much. As much as I wish I did, I just don’t have the eye for colour. Working with designers in the past always blew my mind as to how easy it came to them. I know I could take the time to learn colour theory (and perhaps I will someday) but at the time I was more focused on redesigning my site quickly, not leisurely learning something new. This made the simple task of choosing a colour palette a long and tedious process. There are a few tools available to help one come up with a colour palette, such as Paletton or Adobe Color CC, formerly Kuler. After fiddling for them for a few days on and off and having no success, I decided just to choose a colour I liked: blue. Once I had a colour chosen for the header, I was able to build the rest of the site off of that.

While I’m pleased with how the header turned out, I still feel as if the rest of the site can possibly use a splash of colour here or there just to make things a bit more appealing. I couldn’t really see any place to fit these accent colours in a way that felt natural. This will probably be something that will to be iterated on over time.

The Holy Grail that is Flexbox

Flexbox is the best thing to happen to CSS. I’ll scream it from the mountain tops if needed because it’s true. As long as the only browsers your site needs to support are IE11+ or an evergreen browser, you can (mostly2) say goodbye to hacky CSS rules to position elements on a web page.

The great thing about Flexbox is that it’s flexible (yet another surprise!) and will adjust its size across different screen sizes if the developer desires it. For example, the page header makes use of flexbox to make sure it looks great on both large and small screens. All I need to do to get my header to scale the way I wish is use the following CSS rules on the wrapper for my header block:

.nav-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

This sets the wrapper rendering box style to flexbox and centers all the elements along both axis. When the screen width is below a certain size, we can use the following rules to change the direction of the main axis from a row to a reversed column so each header element has room to breath and appears in the proper order:

@media screen only and (max-width: 600px) {
    .nav-wrapper {
        flex-direction: column-reverse;
        align-items: stretch;
    }
}

I’m using a few more rules to align individual items, but that is the basics of it. Flexbox has enabled me to re-arrange the entire site with just a few CSS rules and I think that is awesome. I’m using it for any part of my page that requires even a tiny bit of element positioning and it’s been very easy to both learn and use. Offloading a lot of the grunt work to the browser while providing a fewer set of CSS rules was definitely a smart move, and I’m excited to see what further revisions to the spec bring.

Consistency between old and new

In the redesign, I decided to make better use of header tags to denote subheading rather than bolded text. Unfortunately, a few of my older blog posts made liberal use of the old and bold way. I took this opportunity to flex my bash and regex muscles and see if I can come up with an elegant way to fix this in one swing.

My first step was to construct a regular expression that would find all the old headers. The old headers took the form of bold text which, in Markdown, meant the text was surrounded by two asterisks on each end. The header would be the only string of text on the line. With this information, I came up with the following regular expression and used it to find all headers in my _posts folder:

git grep '^\*\*.*\*\*$'

This regular expression looks for any length of characters in between two literal asterisks that bookend the entire line. After testing that the regex worked, I used a combination of the find and sed commands to do a massive search and replace with the following command:

find _posts -type f -exec sed -i '' 's/^\*\*\(.*\)\*\*$/\#\#\# \1/g' {} \;

The above command looks for files in the _post directory, and for each file runs a sed command asking it to edit files in-place without a backup3. The regular expression now creates a group around the header text so we can use it in the replace with the proper symbol denoting an h3 tag: three literal pound characters. Now all blog posts with headers will conform to the new style.

Design & organization choices

Aside from choosing site colours, I spent the most time thinking about how I wanted to layout my website. My previous v3 design was bland and didn’t make the best use of available space. I spent a lot of time looking at other Jekyll blogs for some inspiration but I found many of them to be overly busy or overly minimalistic. I would draw layout after layout on paper until I came to the one you see now. Moving the persistent navigation block from the side to the top allows me to take advantage of all the below space: this comes in handy when scaling the site to work on multiple resolutions.

Since the beginning of 2015, I’ve been writing reviews on the games I have finished for fun. After deciding to add these reviews to the site. As of the launch of the redesign, only one of the eight reviews I have written are published but I’ll be editing the others and getting them online shortly. Right now, they are a separate entity from the other blog posts and I’m not sure if this was the best idea. This home page is a place for me to talk about what I love doing. For the past few years, this has solely been about programming. I’d like to expand that to writing about other subjects but dividing posts up into ‘blogs’ and ‘reviews’ may limit myself in the future. I could (and probably will) just treat everything as a blog and use tags or categories to group the related info. Design choices like this are what I spent the most time on during this redesign. Implementing the ideas I come up with are no problem but deciding whether I’m making the right choice on certain decisions is an area where working on a team definitely benefits.

There are a bunch of other small but useful additions I’ve made. If you haven’t noticed, I tend to go off on tangent mid-paragraph. Making use of footnotes allows me to do this without breaking up the flow of content, and the Kramdown markdown renderer used by Jekykll makes usage of footnotes very easy. Some posts can have a header image, such as this one. If you’re reading this on a small device, you may not see it - I’m currently thinking of a good way to display the header image without making all of the above-the-fold content on a mobile device nothing but headers. Most of the small additions are there to make writing content easier for me and for said content to display correctly, no matter the screen scale.

In the end

I’m pretty happy with the layout I ended up with. I find easier on the eyes than previous designs. Standing here with the project finished, I already have a list of things I’m no longer happy with and will work on for the next iteration. Personal projects like home page redesigns give me an opportunity to experiment and play but if I don’t limit myself and consider the project ‘finished’, I’ll never release it. Do you have any suggestions about the design? Love it? Hate it? Let me know in the comments!

  1. According to StaticGen which ranks generators based off of GitHub stars and forks. 

  2. While much better than the old way of doing things, Flexbox itself is not perfect. Check out Flexbugs for more info. 

  3. Not recommended. 


          Jump Around        

A few months ago, I wrote a blog post about my experience playing around with the Phaser game engine. I ended up making a short 2D platformer game called Jump Around. I’ve uploaded the source onto GitHub for those who are interested in taking a peek. It was a great experience in which I learnt quite a bit, so without further ado…

Initial Design & Scope

My initial goals for the project were pretty simple:

  1. Make a short 2D platformer game.
  2. Each level would fit on the screen; no camera work needed.
  3. Don’t focus too much on making the ‘cleanest’ code possible on this project. This is more getting a feel for game development again.

I wanted to keep things pretty simple, as this project was meant to not only evaluate Phaser for future projects but also getting my feet wet with some simple game design. It seems almost like a rite of passage nowadays for game developers to make a 2D platformer, so I decided to go for that. Jump Around is inspired by platformers such as Super Meat Boy, where the emphasis is on pixel-perfect platforming as quickly as possible. The smaller levels in Super Meat Boy that would fit within the initial camera frame were always pretty interesting to me. The small characters moving quickly around an environment in which danger is visible everywhere made for a strange mix of emotions. Upon entering a level, I’d both feel terror at the level that I was to get through, and excitement at the challenge ahead.

I originally scoped for around 6 levels, but I cut it down to 3 as I came to a realization: good level design is hard work! Once the game mechanics were implemented, the majority of my time was spent on figuring out how to be clever with level design. This wasn’t my goal for the project so I decided to cut the level count in half so I could move on to another project sooner. Aside from that, I feel like I did a good job with my initial design and didn’t end up with much feature creep. The only feature I ended up missing was using “Jump Around” by House of Pain as the obvious background music choice. I planned on distributing the source code for this and I’m pretty sure I would not have the rights to distribute that song. This is an issue I also had to look into regarding art I used (gasp, could this be… a segue?!).

Art is hard

Although I have tried many times, I just can’t draw very well. This can be a problem when you are a lone programmer working on a video game. Thankfully, there are tons of free art resources online. One of these is the great website Open Game Art. I ended up purchasing a donation-ware art pack from an incredibly talented & generous artist named Kenney. I’ve seen him post on /r/gamedev before, offering free art packs under liberal license terms for people like me who aren’t so artistically inclined. While this was a decent solution to not being able to produce art myself, in retrospect I think I should have kept it simple and gone with a more abstract art style.

As said before, I eventually wanted to release the source of Jump Around. However, I wasn’t too sure about the license to redistribute the assets. Thankfully, Kenney includes a LICENSE.TXT in his zip of art which helpfully states that the assets are released under the liberal CC0 license. As long as I attribute him, I should be okay to redistribute the art I used and modified for my purposes.

Most of the audio I use is also from Kenney’s donation pack, but the incredibly cheezy awesome end of level noise that plays was a clip I found off of freesound.org. This is another great resource for developers just looking for simple or placeholder sounds under a variety of licenses. Thankfully, this asset is also CC0 so the game can be fully redistributed with all assets intact.

Resolution is confusing

Another issue I ran into was answering the question “What resolution am I targeting with this game?” I was making this game for web browsers running on a desktop. I probably should have consulted the great Valve Hardware Survey to get a sense of what kind of resolutions people were playing at. While 1920x1080 is the most popular resolution, it only had 33.48% of user share as of this blog post. In second place was 1366x768 with 26.80%. I ended up hardcoding my game’s resolution at a very strange and non-standard 1050x714. I did this because that was the size of my level in tiles (50x24 tiles, as each tile was 21x21). In retrospect, this was a dumb idea. While I haven’t exactly alienated either of the two largest resolution groups (according to Valve), it doesn’t scale up or down at all. I probably should have spent more time on making sure the scaling worked; at one point in development, I found myself even looking at options to use the fullscreen API. In the end, I decided to push that learning exercise to my next project.

Another consideration was “Could this game work on a mobile device?” Due to the decisions I made based on the art and not bothering to scale anything, it wouldn’t be a great experience. However, mechanically, it could work. I ended up adding a toggle to cause the player to continuously jump, and I noticed the game was actually kind of fun when I left it on. It felt more like “Pogo Around” than “Jump Around” but it was still fun. I could have left that setting on for the mobile version and had the user touch either side of the screen to simulate the left/right cursor movements. Using two fingers instead of one could make the player run… or… pogo-run… rather than pogo-walk. In the future, I may revisit this project and try to add that in, but for now it was out of scope of what I wanted to accomplish.

If you’re interested in trying this ‘pogo’ mode for yourself, just hit the F key while playing the game. It adds another layer of challenge… think of it as hard mode!

Architecture & Tools

At first, I wasn’t really sure how to structure this project. I’ve done game development before but never in JavaScript. I found a very useful blog post called Building your Phaser Projects with Browserify that was helpful in getting the file structure of a game in place.

Since the majority of my game objects were simple, I was able to make to do with simple objects that didn’t follow any particular programming pattern. Some variables, such as current level and overall game time, were kept in the game object, while each state kind of dealt with it’s own area. After the assets are preloaded, the menu state is spun up and waits for user input. After that, the level state is entered. The level state checks what level it should be loading via the game object and starts to create the needed platforms and tiles.

The levels themselves were created using the fantastic Tiled map editor. One neat feature of Tiled that I liked was creating Objects on the map that can store any properties you wish. I ended up doing this to store quite a bit of data in the level itself, such as player spawn position, level key position, and starting positions of moving platforms, as well as their speed, distance and initial direction. This allows me to use a single state for each level with little to no code change needed to properly load each level. I feel like I do cheat a bit by passing the player object through each level state to retain some data like how many times the player has died, but it seemed like the simplest solution so I went with it.

Phaser is a pretty nice framework but I ran into some issues. Currently only a single tile layer from Tiled can be marked as a collision layer. When Phaser moved from version 1 to 2, it lost some of it’s advanced camera capabilities such as the ability to zoom; I believe the current camera can only pan by default. Neither of these are dealbreakers, but they would be nice to have features. I still think Phaser is one of the best JS engines you can use right now. It has a decent sized community and there are always people on the IRC channel willing to help (such as myself!) I’ve read that Phaser 3 may be getting a ES6 makeover which makes me very excited for the future of the engine.

However…

Conclusions

I had a blast making Jump Around, and I’m glad I finished the project. I learnt quite a bit about a variety of topics. I now have a huge amount of respect for great level designers, as I spent quite a bit of time thinking of how to make each level progressively more interesting. I’m not sure if I’ve succeeded but I tried to do something new in each level. I also learnt a bit about 2D animation to animate the player, audio codecs & conversion to get the sound effects working, and some basic game design as a result of the project.

One area that I didn’t get to focus on as much as I would have liked was the game programming itself. I think this is because I used an engine which did a lot of it for me. Because of this, my next project will most likely not use an engine at all. I don’t want to do everything myself (not yet at least) so I’ll probably use a helper library to handle things like asset loading, input reading and window creation (if targeting desktops rather than the web). I plan on reading some of the excellent Game Programming Patterns book to get a better feel on how game architecture works and how things fit together.

So that’s Jump Around! Feel free to try the game out and check out the source if you’re interested.


          Back to Blogging, Back to Game Dev        

It’s been a few months since I’ve last written a post here on the blog. I’ve been working with Mozilla on the Webmaker project since school ended. Not only have I been having lots of fun doing a ton of front-end work but I’ve also been learning from the brilliant people on my team. Working at Mozilla has been and continues to be an awesome experience but that’s not what this blog post is about.

Once again, I’ve gotten the game development itch. When I think back on the past few years, I realize that the itch never went away but school took a priority. Additionally, my RSI was so bad that I couldn’t really afford to use my hands for anything but programming assignments. Since then, my hands have significantly improved. I’m now able to work full work weeks and also do programming and gaming on the side. As things have been going so well, it seems like a good time to scratch the game development itch.

As usual, I spent quite a bit of time agonizing over what language and technologies to dedicate my efforts towards. In the last year, I’ve worked a lot with C++ (with WebVTT in Firefox) and JavaScript (with Webmaker). I have had prior game development experience in C++ (SFML) and C# (XNA). I also understand that Unity is a popular choice for those who want to start designing a game right away. After careful thought, I realized that designing a game right away is the exact opposite of what I want to do. Perhaps I’m being stubborn, but the desire to learn how games actually work is far greater than the desire to started working on a game right away. I’m also interested in the demoscene, which creates audio/visual demos of… well, anything. Just do a YouTube search for ‘demoscene’ to see what I am talking about.

Actually, while writing that last paragraph, I believe I thought of why I want to learn how games (and graphics) work. There is a lot of room to be creative through programming. The cool graphics or games one can create with code is proof of that. Right now, I have all these cool ideas in my head for potential demos and games. The problem is I have very little technical knowledge on how to get those ideas onto the screen. So it’s time to remedy that! The languages and technologies I’ve decided to go with are GLFW to create the window creation, OpenGL for graphics and… that is it for now. I’ll be working on a 2D tetris clone, and I’ll be blogging about it as I go. I figure that is a good project to start with. My first goal will be to draw a box on the screen. Once I learn exactly how to do that, I’ll be back with another post!


          Playing around with LINQ to SQL: Enumerable.ToDictionary Extension Method        

Playing around with Linq I noticed the Enumerable.ToDictionary extension method on IEnumerables<T>. I found it very handy to store expected results for Unit Testing. Yesterday I was playing around with general stuff and I did some looking around a ToDictionary.

We all know what Dictionaries are in the programming world right? Well they are data structures where each element is a key/value pair. Each key in it must be unique and it cannot be null. They are blindly fast for element retrieval by key too, O(n) . So basically they are very efficient at locating, inserting, deleting records associated by keys,

The ToDictionary<TSource,TKey> can be used in many ways, 4 to be more precise but in all them you have to specify a Func<TSource,TElement> to be your key selector, you also have the choice to provide another function to your element selector, ie the object that you are going to store as key and finally you can pass on a IEqualityComparer<T> to compare keys so the underlying HashTable can determine whether keys used are equal. (If you try to add an Element with a Key that already exists in the Dictionary, an ArgumentException will be thrown.

Examples:

 

[TestMethod]
public void CreateDictionary_of_AnonymousTypes()
{
var ps = from p in productos
orderby p.ProductID ascending
select new
{ p.ProductID,p.ProductName};

// Creates a Dictionary where the Key is a productID and the Object is an Anonymous type.
var dummyDictionary = ps.ToDictionary(a => a.ProductID); // Note the Ano

// 77 Products in Northwind...
Assert.AreEqual(77, dummyDictionary.Count());
Assert.AreEqual("Tofu", dummyDictionary[14].ProductName);
// Is it a fib that oo.ProductName is not 'Chai tea' ?
Assert.IsFalse(dummyDictionary[1].ProductName != "Chai tea"); // Product Name of Product with ID = 1 is 'Chai tea'
}

In this example all I did was crated a Dictionary by using the productID as key selector, the dictionary will have a integer as key and the Element will be an Anonymous type.

[TestMethod]
public void CreateDictionary2()
{
var ps = from p in productos
orderby p.ProductID ascending
select new
{ p.ProductID, p.ProductName };

// Creating a dictionary by explicitly determining the Key and the Element
Dictionary<int,string> elDictionary = ps.ToDictionary(a => a.ProductID, a=>a.ProductName);
CollectionAssert.AllItemsAreUnique(elDictionary.Keys);
}

This example a function to select keys and select Elements was done, resulting in a Dictionary<int,String>

[TestMethod]
public voidDictionary_Products_By_CategoryName()
{
       Dictionary<string, IEnumerable<Product>> superDictionary;        
          
        var prods = fromp inproductos
                    groupp byp.Category.CategoryName intoprods_by_categoryName
                    select new
                  
{                           
                        list = prods_by_categoryName
                    };
        superDictionary = prods.ToDictionary(a => a.list.Select(b => b.Category.CategoryName).First(), c => c.list.Select(y=>y));
        IOrderedEnumerable<String> coll = superDictionary.Keys.OrderBy(a=>a);

        IEnumerable<String> orderedCategories = ((fromcats inctx.Categories
                                                     selectcats.CategoryName).OrderBy(h=>h));
        List<String> myList = coll.ToList();
        myList.Reverse();
        myList.Reverse();
        CollectionAssert.AreEqual(myList , orderedCategories.ToList());
       
}


This example I created a Dictionary of Products, where the key is the CategoryName and the Elements is a IEnumberable of Products for that Category.

The same can be achieved as below, much simpler!


[TestMethod]
public void Dictionary_Products_By_CategoryName_Simple()
{
Dictionary<string, IEnumerable<Product>> superDictionary;
superDictionary = (from categories in ctx.Categories
select new
{
categories.CategoryName,
ProductsInCategory = categories.Products.Select(a=>a)
}).ToDictionary(a=>a.CategoryName,a=>a.ProductsInCategory);

Assert.IsInstanceOfType(superDictionary, typeof(Dictionary<string, IEnumerable<Product>>));
}

Here I want to list all Products by Category, and sort them by total unit price...


[TestMethod]
public void do_all_that_stuff_in_less_lines_of_code()
{
NorthwindDataContext ctx = new NorthwindDataContext();
var result = (from categories in ctx.Categories
select new
{
CategoryName = categories.CategoryName,
TotalCategoryUnitPrice = categories.Products.Sum(a=>a.UnitPrice),
Products = categories.Products.OrderByDescending(a=>a.UnitPrice).ToList()
}).OrderByDescending(a=>a.TotalCategoryUnitPrice);

foreach (var category in result)
{
Console.WriteLine( String.Format("\n{0}:\n{1}",category.CategoryName, new String('-', category.CategoryName.Length )));
category.Products.ForEach(p => Console.WriteLine(String.Format("{0,-35} {1,10:C2}", p.ProductName, p.UnitPrice)));
Console.WriteLine(String.Format( "{0,46}", new String('-',6) ));
Console.WriteLine("Total:".PadLeft(38) + String.Format("{0,8:C2}", category.TotalCategoryUnitPrice));
}
}

Capture


Also the ToLookup function is worth mentioning. What it does is creates a Lookup<TKey,TElement> ( basically a collection where each key is mapped to one or more values)


[TestMethod]
public void ToLookup()
{
var prods_by_cat = from products in ctx.Products
select products;

Lookup<string, string> ellookup = (Lookup<string, string>)prods_by_cat.ToLookup(
a => a.Category.CategoryName, // Key
a => a.ProductName); // Value
// Iterate through each IGrouping in the Lookup and output the contents.
foreach (IGrouping<string, string> packageGroup in ellookup)
{
// Print the key value of the IGrouping.
Console.WriteLine(packageGroup.Key);
// Iterate through each value in the IGrouping and print its value.
foreach (string str in packageGroup)
Console.WriteLine(" {0}", str);
}
}

and the output..note that packageGroup is just a collection of Products for that particular Category. Cool eh?


Beverages
Chai tea
Changta
Guaraná Fantástica
Steeleye Stout
Côte de Blaye
Chartreuse verte
Ipoh Coffee
Laughing Lumberjack Lager
Outback Lager
Rhönbräu Klosterbier
Lakkalikööri
Condiments
Aniseed Syrup
Chef Anton's Cajun Seasoning
Chef Anton's Gumbo Mix
Grandma's Boysenberry Spread
Northwoods Cranberry Sauc

Anyway, I don't think I'll be playing with any Dictionaries for a while, done and dusted!


          REST with WCF        

At the MS Heroes day, a few thursdays ago, our first session was on WCF and is fair to say a few of us were very impressed by what I saw and I just couldn't wait to recreate those presentations on my desk..

What is WCF?

From MSDN,

Is a set of .net Technologies for building and running connected systems. It is a new breed of communications infrastructure built around the Web services architecture. Advanced Web services support in Windows Communication Foundation provides secure, reliable, and transacted messaging along with interoperability. The service-oriented programming model of Windows Communication Foundation is built on the Microsoft .NET Framework and simplifies development of connected systems

 

What is REST ?

REST is a architectural model ( it is not a standard ) for distributed computing that defines how resources are distributed and addressed.

The acronym means Representational State Transfer, translated to mere mortals language it means that each unique URL is a representation of some data. It was term invented by Roy Fielding one of the principal authors of the HTTP protocol.

I will post resources and links later in the post. However Google for REST and you'll get heaps of results if you are curious. Definitions are boring! I like doing things. But you need to know a bit of the theory.

eg:

http://localhost/myWebService/Employee/2

http://localhost/myWebService/Employee

http://localhost/myWebService/Product/89

REST WebServices: An alternative to SOAP

All the above urls will return you different data ( a representation of the resource requested ) according to (of course) on how you map this URL to your contracts.  First link might be mapped to return you the Employee with ID =2 and so on, or the Product with ID = 89

Basic principles

  1. Identify the entities you want to expose a representation eg Employee, Product
  2. Create URL for each resource/entity. Resources should be nouns.
  3. Categorise resources according to whether clients can just get a representation of your data or whether they can modify the data. For resources that you just want to make available to clients, make them accessible using HTTP GET, for resources that you want to give the client the possibility to modify data, make them accessible using HTTP POST, PUT or DELETE
  4. Resources accessible via GET should be 'side effect' free. This means the web service call should not modify the data in the back end.

Yahoo and Flickr amongst others use REST web services. Example of Flickr REST web service can be seen here

Main advantages of using REST

  • Easy to work with, and easy to read for 'humans'.
  • Easy to consume ( not always, I hear Amazon services can be a pain to parse )
  • Improved server response times.

 

I started working with this on the weekend after Microsoft Heroes in Sydney. At the time I challenged myself not to Google for answers and get the examples working only with the help of MSDN for WCF.

It was not easy at first, MSDN is huge and it throws so much information at you, if you are not careful you start losing track of what link you open where and soon you lose track of what you are reading, at least I do!

Needless to say it wasn't that easy. I find it interesting to see how much developers including myself sometimes google problems searching for tailor-made answers. Imagine a world without Google? Is mindblowing to think how older programmers looked for answers 20 years ago, maybe things where simpler those days. Hrmm..

Ok, so lets get started, first of all I went NewSite -> WCF Service. Visual Studio will create a simple solution with an IService and a Service class and also a Service.svc file.

First of all lets look at the IService interface is provided by default.

[ServiceContract]
public interface IService
{

    [OperationContract]
    string GetData(int value);

    [OperationContract]
    CompositeType GetDataUsingDataContract(CompositeType composite);

    // TODO: Add your service operations here
}

FIrst thing you do is define a contract. You do this by adding the [ServiceContract]  attribute to your interface.  This contract will define what operations your webservice will ultimately support. Think of an operation as a method call that your service will expose. Each method in the interface that you want to expose, must then have the [OperationContract]  attribute defined / applied to it. If a method does not have this attribute, it won't be exposed therefore it wont be accessible by the service's clients.

We then have to implement this interface and implement each method that we defined in our ServiceContract.

I want to expose a method by a REST WebService to return an Employee Name representation when the URL is "GetEmployeeName/{id}".

Remember that if we just want a representation of our data without any side effect by the REST principles we have to use the HTTP GET verb. WCF Web model allows you to do this by using the WebGet method attribute for Get operations. All you have to do is adorn your method with WebGet.

For that to happen I have to define  my operation contract in the interface as follows:

[OperationContract]
[WebGet(UriTemplate= "GetEmployeeName/{id}", ResponseFormat = WebMessageFormat.Xml)]
stringGetEmployeeName(Stringid);

In the WebGet attribute we can also describe the layout of the URL that our WebService will respond to. For example I want the method above to be called upon to answer the GetEmployeeFirstName call when the URL is MyService.svc/GetEmployeeName/2

We do this by adding a UriTemplate property to our WebGet attribute. This templates allow you to match an incoming URL to an operation in the service. The ResponseFormat attribute is self explanatory, you can choose XML or JSON.

Now we have to implement our GetEmployeeeFirstName method in our class.

public class Service : IService
{

    public string GetEmployeeName(string id)
    {
        NorthwindDataContext ct = new NorthwindDataContext();
        return ct.Employees.Where(a => a.EmployeeID == Int32.Parse(id)).Select(a => a.FirstName + " " + a.LastName).Single();
    }
}

I'm using LinqToSql again to retrieve employees from the Northwind database.

We are almost ready to go now. I had my biggest struggle with the web.config and configuring behaviours and endpoints. I wasn't the only one that struggled, for what I can gather around blogs etc and the poor MSDN documentation this wasn't that straightforward.

I settled for the config settings below...

<system.serviceModel>
        <bindings>
            <webHttpBinding>
                <binding name="ServiceBehavior"></binding>                
            </webHttpBinding>        
        </bindings>
        <services>
            <service name="Service" behaviorConfiguration="ServiceBehavior">
                <!-- Service Endpoints -->
                <endpoint address=""  binding="webHttpBinding" behaviorConfiguration="ServiceBehavior" contract="IService"></endpoint>
                <endpoint contract="IService" address="mex" binding="mexHttpBinding"></endpoint>                
            </service>            
        </services>
        <behaviors>
            <endpointBehaviors>
                <behavior  name="ServiceBehavior">
                    <webHttp />                     
                </behavior>                
            </endpointBehaviors>
            <serviceBehaviors>
                <behavior name="ServiceBehavior">
                     To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment 
                    <serviceMetadata httpGetEnabled="true" />
                                     To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information 
                    <serviceDebug includeExceptionDetailInFaults="true"/>
                </behavior>  
            </serviceBehaviors>
       </behaviors>
</system.serviceModel>

Since I'm using the WCF web model and all my requests are through HTTP and not SOAP I have to use webHttpBinding .

From MSDN..

The WCF Web Programming Model allows developers to expose WCF Web services through HTTP requests that use "plain old XML" (POX) style messaging instead of SOAP-based messaging. For clients to communicate with a service using HTTP requests, an endpoint of the service must be configured with the WebHttpBinding that has the WebHttpBehavior attached to it. The WCF Web Programming Model also requires that the individual service operations are annotated with the WebGetAttribute or WebInvokeAttribute attributes. This defines a mapping from a URI and HTTP method to the service operation, as well as the format of the messages used to call the operation and return the results. Support in WCF for syndication and ASP.AJAX integration are both built on top of the WCF Web Programming Model.

SO far so good, Now if we run our WCF app and we invoke the URL with GetEmployeeName/2 the employee name should be returned...

http://localhost/DemoWCF/Service.svc/GetEmployeeName/2

Capture

http://localhost/DemoWCF/Service.svc/GetEmployeeName/3

Capture2

(BTW Vista Snipping Tool kicks bum big time!!!) ( David, I got to talk you into Vista for blogging Windows Live Writer Full, is awesome)

Lets say I know want to get all the Employees Names by going to an url like this

http://localhost/DemoWCF/Service.svc/Employees

[OperationContract]
[WebGet(UriTemplate = "Employees", ResponseFormat = WebMessageFormat.Xml)]
List<String> GetEmployeesNames();

My implementation of the operation would be something along the lines of..

public List<String> GetEmployeesNames()
{
    NorthwindDataContext ct = new NorthwindDataContext();
    Enumerable<String> ab = from emps in ct.Employees
                            select emps.FirstName + " " + emps.LastName;
    return ab.ToList();
}

And the result would be..

Capture3 

Now if I wanted the Response to be of

WebMessageFormat.Json

I would then have to change my OperationContract to note my intention as follows

[OperationContract]
[WebGet(UriTemplate = "Employees", ResponseFormat = WebMessageFormat.Json)]
List<String> GetEmployeesNames();

When I then go to the URI, you will then get prompted to save the response as a file...

image 

that upon opening with trusty Notepad you can see the JSON string...

Capture5 

In this post I just wanted to show how I got my REST services to work and I then plan to post about how to use PUT, POST and DELETE , how to return complex types, DataContracts and also how to pass querystring values to your OperationContract as a Stream, that in fact was the first thing that I got working. ( Quick preview below). I would also like to post all the source code of my working examples.

[OperationContract]
[WebInvoke(UriTemplate = "*", Method = "POST")]
void UpdateEmployeeName(Stream id);
Implementation
public void UpdateEmployeeName(Stream id)
{
   StreamReader reader = new StreamReader(id);
   String res = reader.ReadToEnd();
   NameValueCollection coll = HttpUtility.ParseQueryString(res);
   int employeeID = Int32.Parse(coll["elid"]);
   String newName = coll["newName"];
   NorthwindDataContext cts = new NorthwindDataContext();
   Employee e = cts.Employees.Where(a => a.EmployeeID == employeeID ).Single();
   e.LastName = newName;
   cts.SubmitChanges();
}
See you then.........

          AjaxControl Toolkit AutoCompleteExtender with WCF        

Went to Heroes yesterday and one of the things that really impressed was the session on Windows Communication Foundation.

From MSDN, "Windows Communication Foundation (WCF) is Microsoft's unified programming model for building service oriented applications".

First thing to do of course, is add a new Ajax enabled WCF Service to your solution.

AddAjaxEnabledWCFService

What I wanted to do is have the ubiquitous textbox with an autocompleteextender. The code is very simple.

autocompleteExtenderTag

Then I went into MyAjaxEnabledService class and added to get my books names once the user entered the book names.

When creating a WCF service, you have to define the contract for the services that are going to be called by the consumers and describe how to interact with your service.

You do this by creating an interface that defines the input and output types which apply to the ServiceContract Attribute to the interface and the OperationContract Attribute to the methods that you want to expose.

In this case I have set the ServiceAttribute with a namespace value of elJuan.org :-)

And then created the methods that I want to reach from my aspx pages and  expose as part of the public contract and adorned them with the OperationContract Attribute.

servicecodefile

Last thing to do, on our ScriptManager we add a reference to our new service and the path to it.

servicecodefile

 

Ok, now we are all set, note that I have for the purposes of this simple post an array with "books" and by pure coincidence, three of them start with 'Coo'.

Run the project and entering Coo.. our service will be called and the books which name start with Coo will be returned to us.

servicecodefile 

Also not that I have another public contract called GetBookByID(int):String

What I want to do is get a book by it's ID,when we click the "show me" button,  for this simple example I'm just indexing the array, but it can be easily expanded to get data from a database etc.

servicecodefile

First we created a number of JavaScript functions that I'm going to use for this calls.

I have wired up the showMe button onclick event to my InvokeWCF() Javascript function.

Note that as I type the name of my WCF service, VS's intellisense will show me the available public contracts, in this case GetBookByID()

servicecodefile

Now note how the intellisense again picked up that GetBookByID takes an integer as parameter too, very cool.

servicecodefile

You have to define an onSuccess function, and optionally an onFailed and an userContext.

I defined an Success and OnWCFError function for this first time ever WCF service as show below...

servicecodefile

 

And the end result...voila!

servicecodefile

This is the first ever time I played with WCF and it's pretty simple. In my next post I'll generate REST and SOAP protocol enabled services.

Thanks,


          Subscribe to Digital Satellite TV        

Watch Digital Satellite TV



Digital Satellite TV

Digital satellite TV is part of national regulations starting with February 17, 2009. This means that all the television stations in the US have to use the digital format exclusively to broadcast their programs. Digital satellite TV meant the beginning of the end for analog transmission systems. Satellite dish users will not be too affected by the passage to digital broadcasting, but not the same thing can be said about those who rely only on the TV antenna for signal reception. Under such circumstances, one can either subscribe to digital satellite TV or integrate a converter box to decode the digital signal into analog format.

There may be a drop in the prices for digital satellite TV packages, yet, high definition (HD) programming stays trapped in the area of pretty expensive options both to make and broadcast, since the monthly fees closely mirror the potential investment costs. The majority of TV stations will not allocate special budgets to invest only in high definition transmission, and won't go for such a drastic modernization. In other words, digital satellite TV clients will not see any changes after 2009, because their providers are already operating in the mode required; on the other hand, it is for cable companies to do massive changes to the network as part of the renovation of the analog service.

The great part about digital satellite TV is the quality of the service obvious both in the video and the audio broadcast. Furthermore, the only way to benefit from high definition systems is to incorporate digital technology; so far the downsides of the digital mode have not become obvious to satellite dish users, as all they only need some quality equipment that is generally offered by the service provider. Then, digital satellite TV options can be extended to very large houses, as the system is compatible with up to eight rooms; however, the costs will be a match to such a TV variant.

Though many comparisons, tips and suggestions are present online, people very rarely understand the complexity of the digital satellite TV option as compared to cable systems. Incidents sometimes reveal the bad bits, while upgrades prove that there is a better way than the one you've been sticking to. This implies that it is pretty difficult to identify the flaws of a system which you have no idea about since despite the great TV service quality problems may appear, even if in a limited or reduced form without consequences for large numbers of users.
          [news] Grudge Match: China vs. Europe + "It's Malaysia Time ..."        
Tuesday, September 7, 2004
Dateline: China
 
This week marks the debut of my bi-weekly (or so) column for the AlwaysOn Network, Silicon Valley's premier online social networking venue (and unofficially linked to Silicon Valley's premier in person social networking venue, the Churchill Club; I'm a member of both).  I will be sharing "Letter from China" columnist duties with Paul Waide, the head of Pacific Epoch, a Shanghai-based boutique consultancy that advises hedge funds on alternative investments in China.  My first column is on Shanghai and a couple/few forthcoming columns will examine cultural differences between Chinese Nationals, Chinese-Americans and Anglo-Americans, especially within the context of IT and IT marketing.  I will post my AlwaysOn "Letter from China" columns to this blog/e-newsletter, although please be advised that my intended audience are readers based in Silicon Valley.
 
Grudge Match: China vs. Europe
 
Staying on topic, I'd like to make a comment about a recent "Grudge Match" on the AlwaysOn Network.  See the item marked "Grudge Match" for 08.05.04 (5 August 2004) at http://www.alwayson-network.com/polling/index.php .
 
In the referenced "Grudge Match," China was pitted against Europe.  China received 45% of the votes in contrast to Europe's 55%.  Frankly, I'm surprised that China did so well.  I've found that the AO "Grudge Match" results tend to indicate sentiment more so than reality.  For example, a recent match pitted SpaceShipOne against NASA and SSO absolutely clobbered NASA (besides, perhaps most of the votes for NASA came from either Ames or the Blue Cube).  Of course, SSO is a high school science experiment compared to what NASA is doing, but I believe the results accurately reflect sentiment. 
 
But what is amazing (to me, at least) is that China was pitted against Europe in the first place!  Let's face it, this is a rather goofy "grudge match."  For Europe to include First World nations such as Germany, France, the U.K., Ireland, Italy, Switzerland, the Netherlands, Belgium, Sweden, Finland, Norway, Denmark (yes, some countries are intentionally left out) -- and to compare the collective whole of First World Europe (a.k.a. "Western Europe") to China is absurd.  If this was First World Europe vs. China circa 2020, okay.  But TODAY?  Yet, the sentiment indicator showed a strong vote in favor of China.  Europe "won," but barely.
 
I propose the following "grudge match":  China vs. "Eastern Europe" (i.e., the former Soviet Bloc).  Look, if China can do so well against Europe as a whole (including First World Europe), I'm sure China would absolutely kick Second World Europe's butt!!  And a China "grudge match" against Eastern Europe more accurately reflects current "history."
 
But even this is a bit misleading.  The real "grudge match" is this:  China + India vs. Second World Europe.  And given this choice, only someone stranded on Mars for the past decade might choose Second World Europe.  Yet, this is the real so-called "grudge match."  First World Europe is in descent, to be sure, but it's descending from a high altitude.  It will take at least a decade or two for China (and/or India) to truly match First World Europe.  But China ALREADY is superior to Second World Europe.  And don't rant about NATO and EU memberships; this is simply window dressing.  Then combine China with India versus Second World Europe, playing into my "Golden Triangle" theme, i.e., it's all about the U.S., India and China.  This is where the action is, ESPECIALLY in IT.
 
"It's Malaysia Time ..."
 
I must be getting punchy since I'm borrowing a theme from a beer commercial, but it seems that Malaysia is experiencing its 15 minutes of fame.  The Philippines has recently been "hot," and several articles of late have been touting Malaysia (see, for example, an article which appeared in Space Daily).  Frankly, I'm getting tired of all this nonsense.  Look, when it comes to ITO (IT outsourcing) in East Asia, there are just two choices, i.e., India and China.  And, it's not really a competition; both have their strengths and weaknesses.  A few crumbs to Singers (Singapore), maybe even a few crumbs to the Kiwis (New Zealand).  The Philippines deserves notice, albeit passing notice, and Malaysia might be okay for some BPO.  But ITO?  Come on, give me a break!!  See my Furl archive for more links.
 
The only thing I recently found interesting regarding Malaysia was an article on Satyam's IT boot camp in Malaysia.  This isn't really unique, after all, IBM has been doing this sort of thing for decades.  So does HP.  Kind of like training plus a bit of brainwashing, but the brainwashing is acceptable since it includes political survival skills -- and said skills are essential, especially in F500 corporations.  But I like the idea of SI (systems integrator)-based training:  This way SIs can focus on "real" versus theoretically perceived needs.
 
IT Tidbits
 
Which certifications have the best ROI (return on investment)?  Playing off the idea of SI-based training, which are the most important certifications?  Well, Cisco leads with three out of the top five, although Microsoft picks up a couple of "wins" when looking at fastest-growing ROI, with RedHat and Oracle getting one win each.  SIs in China may also want to benchmark how much U.S. employees are paid given a certain certification, e.g., Microsoft DBAs receive an annual average salary of US$80,600.  Think about how much SIs in China pay for a certified Microsoft DBA.  For example, what do they get paid in Jinan -- or even in Dalian?  Compare this to US$80,600.  Spot any opportunities?  See http://tinyurl.com/3nvpz and http://tinyurl.com/6r2s5 .
 
ITO in the news.  Two particularly noteworthy items.  First, ITO got Slashdotted.  The Slashdot links are worth a review.  Probably some good insight into what American software engineers are thinking and feeling.  The second is a review of Lou Dobbs' new book on ITO and BPO.  Mr. Dobbs is a well-respected host on CNN; his views shouldn't be taken lightly.  A couple of excerpts from the review:
 
"GE, as Dobbs makes clear in abundant detail, is only one of many companies outsourcing high-tech and professional jobs to India and other parts of the world where wage expectations are lower.  Among the others spotlighted by Dobbs for outsourcing jobs to India, the Philippines, Romania, Ireland, Poland and other countries are IBM, SAS Institute, Intel, Microsoft, Perot Systems, Apple, Computer Associates, Dell, Hewlett-Packard, Oracle and Sun Microsystems."  My comment:  Romania is the Changsha of Third World Europe, i.e., their programmers are about as cheap as programmers come.
 
"'India can provide our software; China can provide our toys; Sri Lanka can make our clothes; Japan make our cars.  But at some point we have to ask, what will we export?  At what will Americans work?  And for what kind of wages?  No one I've asked in government, business or academia has been able to answer those questions,' Dobbs writes."  See the review in the Tallahassee Democrat or my Furl link .
 
So-called infrastructure vendors beat out app vendors in terms of their ability to meet expected ROI and TCO (total cost of ownership) levels.  I don't really like the way infrastructure and application vendors are defined in this article and related survey, but top honors go to IBM and Microsoft.  There's a lot being written between the lines, but in general this plays into my "build-to-a-stack" strategy, albeit Oracle is left behind.  See http://tinyurl.com/3tpjo .
 
Speaking of Microsoft ...  A good, quick review of the various IBUs (independent business units) at Microsoft.  (See http://tinyurl.com/5rjtk .)  For a take on MBS, see http://tinyurl.com/6k4dp .
 
New marketing technologies.  Interesting article from the premier issue of CMO (Chief Marketing Officer).  There are two ways to view this:  1) which marketing technologies can be used by SIs in China for their own marketing endeavors, and 2) which marketing technologies will likely be adopted by retailers, e-commerce sites, financial institutions and numerous other sectors -- and which in house skills does an SI in China need to implement these new technologies (all of which are IT-related)?  See http://tinyurl.com/57wvp .
 
Looking for partners in the utility computing space?  For a start, try the top 25 vendors.  (See http://tinyurl.com/48s9j .)  Yankee gives a quick look at utility computing ROI (see http://tinyurl.com/5fw88 ).  HP chimes in with their take, too (see http://tinyurl.com/58mhg ; it's a PDF).
 
The battle of the SI globals.  Two related articles both based on the same Forrester report.  (See http://tinyurl.com/6tfrn and http://tinyurl.com/5tljq .)  Issues being considered include scalability (i.e., handling US$100+ million accounts), the need for broad offerings (e.g., strategy consulting) and expanding geographical presence (hey, where is EDS in China?).   "(T)he (Forrester) study finds that Infosys and Wipro have melded together a mix of CMMI, P-CMM, Six Sigma and ISO 9000 to create a culture focused on consistent and repeatable processes and value-added tools."  For China's SIs, mostly food for thought -- and a bit of dreaming.
 
... and how to battle the globals.  The article was a bit silly, after all, G2000 firms joining forces to battle Accenture or Infosys doesn't really fit the notion of smaller firms joining forces.  But I believe that they're on the right track and that a myriad of partnerships will be formed to most effectively capture new business and battle the globals.  However, ISVs (independent software vendors) have to walk a very fine line.  SIs need to carefully consider ISV responses and existing alliances.  See http://tinyurl.com/7xj82 .
 
"Infosys to set up second outsourcing facility in China."  The article states that Infosys is running out of space in their Pudong facility and that they're scouting for additional digs.  Come on, guys, running out of space?  There's not enough space in the Shanghai Pudong Software Park?  I don't think so ...  The reality is that Infosys needs to find lower cost developers.  As my column on Shanghai for AO's "Letter from China" notes, developers in Shanghai are a bit pricey compared to other places in China.  Infosys China is primarily servicing their global customers in China and looking for high-end integration within the domestic market.  However, this is a tough nut to crack and Infosys will need another development center to lower their overall costs -- and this is why they are looking for additional space IN ANOTHER CITY.  The idea that they're running out of space in the SPSP is ridiculous.  (I've been to their Shanghai digs ...)  See http://tinyurl.com/6nz8d .
 
Zensar gets broader press coverage.  Kind of like watching a meme, a couple of non-Indian IT trades have picked up the Zensar/Broadengate announcement.  See http://tinyurl.com/65afx and http://tinyurl.com/3jh2r .
 
"Rethinking the business case for Java."  A good article.  Hmmm ... maybe not much of a case, eh?    Hey, I'm still a believer.  See http://tinyurl.com/5hbcn .  Of course, Java programming ain't what it used to be ...
 
"The selling of SOA."  Two-part series in Line56.  SUPERB!!  (I prefer the singular to the plural, i.e., "architecture" versus "architectures"; personal preference.)  Reviews various viewpoints on SOA.  See http://tinyurl.com/6xqdn and http://tinyurl.com/6tw9o .
 
Urls update.  Expect to see lots and lots of stuff on software engineering and development.  Great stuff, too!!  Later this week.
 
Cheers,
 
David Scott Lewis
President & Principal Analyst
IT E-Strategies, Inc.
Menlo Park, CA & Qingdao, China
 
http://www.itestrategies.com (current blog postings optimized for MSIE6.x)
http://tinyurl.com/2r3pa (access to blog content archives in China)
http://tinyurl.com/2azkh (current blog postings for viewing in other browsers and for access to blog content archives in the US & ROW)
http://tinyurl.com/2hg2e (AvantGo channel)
 
 
To automatically subscribe click on http://tinyurl.com/388yf .
 

          [emerging tech] "Web Engineering: The Evolution of New Technologies" & the Ultimate Killer App        
Friday, July 23, 2004
Dateline: China
 
Reviews of papers from the current (July/August 2004) issue of Computing in Science & Engineering, special issue on "Web Engineering: The Evolution of New Technologies."  To order articles from this issue, first click on http://tinyurl.com/5ktaw .
 
Earlier this week I posted excerpts from the lead article in the current issue of CiSE.  The article was titled, "Managing XML Data: An Abridged Overview," which is a good, accurate title.  The excerpts contain useful links, too. 
 
I am going to take a variety of approaches for handling four other papers in this special issue.  However, I first want to provide a link to the introduction to this special issue, i.e., http://tinyurl.com/6sbjx .  The intro itself provides a few useful references and links.
 
The second article is titled, "Information Retrieval Techniques for Peer-to-Peer Networks."  Fortunately, a full-text PDF copy of this paper can be accessed at either http://dblab.cs.ucr.edu/ or http://tinyurl.com/6v2ru, although the URL for the former looks a little bit too generic and might change at a moment's notice (also, the two papers are slightly different).  I have 19 bookmarks on my smartphone for this paper, but I guess I can summarize by saying that IR for P2P networks is hard and very different from "traditional" searchThe last statement actually says a lot -- read between the lines.  This paper covers all the usual suspects and also includes Skype. This paper is based upon the lead author's Master's thesis which can be accessed from http://tinyurl.com/696ml .  Other papers by the lead author can be accessed at http://tinyurl.com/43kkh .  This is an important issue which needs to be resolved, especially as collaborative grid computing (CGC) comes to life.
 
Two figures; 20 references (28 references in the preprint).
 
Less luck with the paper titled, "Web Searching and Information Retrieval," i.e., I couldn't find a free copy on the Web.  The author's site is woefully outdated, too.  The author does speak favorably of a particular approach to decentralized P2P web crawling called "Apoidea."   A copy of a paper describing Apoidea can be accessed at http://tinyurl.com/4m2v5 ; accompanying slides can be accessed at http://tinyurl.com/4b4sh .  As described in the CiSE paper, "Apoidea is both self-managing and uses the resource's geographical proximity to its peers for a better and faster crawl."
 
Two figures; 21 references.
 
To request a copy of this article click on: http://tinyurl.com/7yyl2 or http://tinyurl.com/6m6ff (I'm not sure which address works; I already have a copy of this article so I don't need to contact the author!).
 
"Web Mining: Research and Practice" is not available, either, but a lot of excellent info on the senior author's projects related to this paper is available.  First, take a look at the eBiquity research areas at http://tinyurl.com/52p9n .  Next, you may want to take a look at the abstracts for papers published as part of the eBiquity Group at http://tinyurl.com/5om58 (current through December 2004 -- it doesn't get more current!!).  Move on to their "Semantic Web" page at http://tinyurl.com/4a8fr .  I then downloaded a PDF copy of their paper titled, "Mining Domain Specific Texts and Glossaries to Evaluate and Enrich Domain Ontologies" (see http://tinyurl.com/3lg2m ).  It looks like a relatively recent paper, newer than the CiSE paper (different authors and different subject matter, though).  The PDF is part of their Semantic Web research, whereas the CiSE paper is more "generic."  Anyway, the "Web Mining" paper is another call for distributed mining techniques, and covers fuzzy clustering as well as content-based recommender systems -- but doesn't forget good 'ol HITS (Hyperlink-Induced Topic Search), the basis for IBM's Clever and Google (to a certain extent).
 
No figures; 31 references.
 
To request a copy of this article click on: http://tinyurl.com/5xv3p .
 
Finally, "Intelligent Agents on the Web: A Review" was very disappointing.  The lead author has impeccable credentials, but his paper is based on yesterday's news:  Old, outdated, buried stuff (like Firefly).  Matter of fact, the only live link I can recall finding was Recursion Software's "Voyager" home page (see http://tinyurl.com/3wpem ), which states that the "Voyager applications development platform provides the software layer which handles communications across the network for distributed JAVA applications."  (Looks interesting.)
 
I did a little more digging and surfed over to two stand-by sites (both referenced directly or indirectly in the "Intelligent Agents" paper), namely the MIT Media Lab Software Agents page and Oren Etzioni's (oops, I mean the University of Washington, Department of Computer Science) page.  At the MIT projects page (see http://tinyurl.com/4ocss ) is a listing of several "commonsense" projects, e.g., "Using Commonsense Reasoning to Enable the Semantic Web" (see http://tinyurl.com/4deq7 ).  A draft White Paper on this is available at http://tinyurl.com/4e4bv , as is a presentation at http://tinyurl.com/4le2n along with a couple of video demos.  I also downloaded a paper on GOOSE (GOal-Oriented Search Engine) at http://tinyurl.com/4fyeu .  At UWash I went to their XML data management page (see http://tinyurl.com/5x98a ) and then grabbed two papers:  One on "Probabilistic Methods For Querying Global Information Systems" dated 14 July 2004 (see http://tinyurl.com/45uz7 ) and another titled, "Learning Text Patterns for Web Information Extraction and Assessment" dated May 2004 (see http://tinyurl.com/6k5fz ).  (To download other unrestricted reports, go to http://tinyurl.com/5z2x7 .)  Frankly, I need a bit of time to digest the two recently published UWash papers.
 
As the chair of the Internet and Web applications session of the First International Conference on Autonomous Agents (1996), I have a soft spot for agent-oriented everything (especially Web apps).  I remember an old saying from IJCAI (International Joint Conference on Artificial Intelligence) in the mid-70's:  Artificial intelligence is better than none.  (I probably still have a button with this saying somewhere.)  I'm keeping the faith, sans the hype and more toward the realities of software agents.  BTW, this CiSE paper isn't bad if you don't have any background in this space.  It covers the basics, such as ACLs, but with an "updated" perspective.
 
No figures; 27 references.
 
To request a copy of this article click on: http://tinyurl.com/6zzqs .
 
 
The Ultimate Killer App
 
BTW, the "Ultimate Killer App" is attached and in some browsers it will automatically download.  (See the bottom of this message.)  You have to admit, this really is the ultimate killer app!!
 
I've never sent an attachment this way simultaneously to both my e-newsletter and blogs (and blog variants).  Just in case the attachment isn't included, I've uploaded it to the "Photos" section of the e-newsletter (see http://tinyurl.com/2r3pa .)
 
>> Note to AlwaysOn readers: You'll need to go to the e-newsletter ( http://tinyurl.com/2r3pa ) in order to see the "Ultimate Killer App."  You can try the blogs, but no guarantees.
 
 
Tidbits on Enterprise Software
 
.NET wins converts.  For the VARBusiness story see http://tinyurl.com/3omd2 .  Evans Data reports that .NET usage showed a sharp YoY increase in adoption with 52% saying they use .NET and 68% saying they plan to deploy .NET apps by 2005.  In May, Forrester reported that 56% of developers consider .NET their primary development environment contrasted with 44% for J2EE.  (It must have been a binary choice!)  VARBusiness found in a May survey that 53% have already deployed a .NET app and 66% plan to do so within the next 12 months.  In the VARBusiness survey, the most important reasons for going with .NET were ease of use and quicker time to market.  A developer goes on to state that .NET development time is to Java what Java is to C++.  (Wow, what a claim!)
 
Python and Perl beat Java?  (See http://tinyurl.com/44m5t for the PDF file.)  Actually, an indirect "attack" against all "mainstream" programming languages, notably Java, C and C++.  The idea is that the "mainstream" languages are ill-suited for many distributed computing and integration apps.  Gives a "thumbs up" to Python, Perl and PHP, with a peek at PEAK -- the Python Enterprise Application Kit.  (Sorry for the pun.)  PEAK's developers claim future superiority over J2EE.  They also knock Java for not being suited to rapid application development.  PEAK's developers believe a Python-based approach to component-based apps will result in systems that are simpler, faster and easier to install, manage and maintain than variants in J2EE.  PEAK, however, is still immature.
 
Grid computing takes off.  Another survey from Evans Data (see http://tinyurl.com/4l2qb ).  37% of database developers are implementing or planning to implement a grid computing architecture.  In related data, 34% of companies are focusing their database development work on BI (business intelligence) platforms.  See also Oracle's spin on this at http://tinyurl.com/4n2kf .
 
The spoils of ROI.  From IDC's Group VP, Solutions Research, there are several issues which must be addressed in order to maximize IT ROI.  (See http://tinyurl.com/228kv .)  Four of the key issues are:
  • Should the IT agenda include investment in outsourcing technologies or services?
  • Does the future of the business include operations in, or electronic trade with, additional countries - China, for example?
  • Are the services of an outside provider being considered to help in managing proliferating applications or complex "interenterprise" business relationships?
  • What role will utility computing play in the future of IT?
(All items in bold are my emphasis.)  The article goes on to discuss various ways of evaluating ROI, including one of my favorite ways, ROA (real options analysis). 
 
TTFN.  Have a GREAT weekend!
 
Cheers,
 
David Scott Lewis
President & Principal Analyst
IT E-Strategies, Inc.
Menlo Park, CA & Qingdao, China
WARNING:  To avoid spam (well, to avoid getting at least some spam), I'm using a Gmail account with a special address.  However, I have NOT been able to access the messages in my Gmail account for the past FOUR days!!  Not sure how long this will last.  In the interim, also use:
DavidScottLewis.2520656@bloglines.com -- but also Cc: the above address.  Of course, if you already know me, feel free to send messages to my primary and secondary e-mail accounts.  (If you know me, you already know what they are.  The primary account is working fine.)
 
http://www.itestrategies.com (current blog postings optimized for MSIE6.x)
http://tinyurl.com/2r3pa (access to blog content archives in China)
http://tinyurl.com/2azkh (current blog postings for viewing in other browsers and for access to blog content archives in the US & ROW)
http://tinyurl.com/2hg2e (AvantGo channel)
 
 
To automatically subscribe click on http://tinyurl.com/388yf .

          [news] ERP in China        
Monday, July 12, 2004
Dateline: China
 
In this posting, I'd like to address something that is seemingly a bit mundane:  ERP in China. 
 
Two articles in the current issue of the Communications of the ACM (CACM) caught my eye.  The first, titled "Why Western Vendors Don't Dominate China's ERP Market" is a good read.  (See http://tinyurl.com/27w9d .)  After reading this article, it's safe to say that Bamboo Networks (especially with their .NET ERP solution, which is something even Microsoft doesn't have), Kingdee, UFSoft and a few other domestic ERP vendors don't have much to fear from the "globals" -- although SAP and Oracle collectively hold about 25% of the market, which isn't bad.  Textbook blunders on the part of (mostly American) software vendors.  To request a copy of this article click on http://tinyurl.com/28eat .
 
The other article is titled, "ERP in China: One Package, Two Profiles."  (See http://tinyurl.com/2r45p .)  According to this paper, more than 1,000 Chinese sites had an ERP system by the end of 2001, costing billions of dollars.  Nearly 300 were on SAP.  (The figures differ slightly from the above cited CACM paper.)  ERP sales in China are projected to triple in five years from a US$1 billion base in 2002.  (Note:  I'm not sure if the author meant through 2007 or 2009.)  A good quote regarding partnering opportunities:  "With China's accession to the World Trade Organization, many multinational enterprises are rushing to establish operations in China and/or interact with Chinese business partners."  (My emphasis.)  For those on this list attempting to attract foreign direct investment, read the part which says, "establish operations in China."
 
The paper noted that although ERP projects in China rarely hit even ECO/ECN-adjusted delivery schedules, they rarely exceed the planned budget.  (In contrast to the States where ERP is almost always late AND over budget.  In the States, taking on an ERP project is akin to playing Russian Roulette.)  The article goes on to mention eight differences between ERP projects in state-owned enterprises (SOEs) and private ventures.  The findings demonstrate that when it comes to ERP projects, private ventures in China are very similar to private ventures in the States.  SOEs act like, well, SOEs:  Bureaucratic nightmares galore.  To request a copy of this article click on http://tinyurl.com/2eve2 .
 
There is another good article in the July issue of CACM:  "Demystifying Integration," which includes a listing of and brief take on dozens of domain-independent and -dependent standards and specifications for application integration.  Good stuff for a systems integrator.  To request a copy of this article click on http://tinyurl.com/3ysvx .
 
Tidbits on Enterprise Software
 
What does the CEO of a systems integrator dream about?  How about being one of the first companies to partner with a BEA or Siebel?  (When I thought about this, all choices seemed rather awful!!  )
 
Need some help finding the next BEA?  Turn to the AlwaysOn Network 100.  For perspective, see http://tinyurl.com/23p3u .  Last year's winners included several companies that IPO'd (including Salesforce.com, Opera), companies in line to IPO (including Google, RightNow) and several other hot companies.  Frankly, their record so far is the best I've seen (albeit it's still a bit too early to draw any firm conclusions).  For a listing of this year's winners (to be announced this upcoming week at Stanford -- Go Cardinal!), see http://tinyurl.com/25j9s .  If I had the time (which I don't), I'd go through this list with a fine-tooth comb.  IMHO, it's better than the listing of presenters at Enterprise Outlook or DEMO ... although the DEMO companies are a lot more fun!!.
 
Another list worth reviewing is Forrester's selection of the best Web design firms.  (See http://tinyurl.com/3bq5z .)  Critical Mass, AGENCY.COM and SBI.Razorfish take top honors.  Everyone tends to look toward the top 500 systems integrators in the States for partnering opportunities.  However, don't discount the elite among the U.S. Web design firms.  Many compete in an extremely cost conscious environment where much less expensive Java programming from a partner in China could be a win-win for all three parties:  The SI in China, the Web design firm in the States, and the U.S. client.
 
Cheers,
 
David Scott Lewis
President & Principal Analyst
IT E-Strategies, Inc.
Menlo Park, CA & Qingdao, China
 
To automatically subscribe click on http://tinyurl.com/388yf .
 

          Comment on Erasure Poems by Mad Libs Poetry | Klickitat        
[…] recently contributed a post about Mad Libs Poetry (a form of erasure poetry) to the Literatures in English blog. It’s a great programming idea for teachers and librarians of […]
                  
Workshop in Knitting Technology – Joel Peterson, University of Borås, Erasmus workshop at ITECH in Lyon.

At the end of March 2017, 29th to 31st I had the oppurtunity to visit ITECH in Lyon and Roanne. They bescribes themselves like this at their home page: 
"ITECH is the European School of Paints, the World School of Leather (recruitment of post-graduate leather engineers from the biggest international firms as well as SMEs) and the School known and recognized for its applications in chemistry (paint, inks, adhesives and cosmetics) and textile techniques."

I visited first their facilities in Roanne where the textile part is located. A guided tour in the different labs was arranged and we had the opportunity to look at the machinery. Weft knitting and warp knitting machines were studied and the labs were well equipped. The workshop with representatives from ITECH and myself discussed various common problems in education and research in the field of knitting technology. Common problems were lack of new machinery and time consuming programming of the flat knitting machines. It is difficult for the students to learn the programming because it takes long time and the courses in knitting technology are short. We discussed the importance for a textile university to have skilled technicians and this is also an important part for a well-working knitting department. Then the discussion continued about further cooperation in research and education and we agreed that several topics can be further investigated.

At the end of my stay I also visited ITECH main campus in Lyon. A guided tour showed the facilities and labs and also here it was interesting to see fine laboratorys as support for student learning. A lot of chemistry, polymer and testing labs used to educate students for the paint, chemestry and other industries.

A meeting with the staff of the school ended my visit at ITECH in France and I am convinced that the possibilities for future collaborations between our universities are positive.

//Joel Peterson
          ILSpy - Decompiler Architecture Overview - Part 2        

The decompiler pipeline can be separated into two phases: the first phase works on a tree representation of the IL code - I described the steps of that phase in the previous post.

The second phase works on C# code, and is the topic of this blog post.

To give you a reminder: the ILAst is a tree of IL instructions, with pseudo-opcodes inserted for the higher-level language constructs that were detected. Let's take a look how the example C# code from the previous blog post looks in the final ILAst (after type inference).

Original C#:

static IEnumerable<IEnumerable<char>> Test(List<string> list)
{
    foreach (string current in list) {
        yield return (from c in current where char.IsUpper(c) || char.IsDigit(c) select char.ToLower(c));
    }
    yield return new List<char> { 'E', 'N', 'D' };
}

Final ILAst:

As you can see, ILAst already detected the following language constructs:

  • yield return
  • "while (enumerator.MoveNext())" loop
  • collection initializer

Still missing are the "foreach" construct, and the contents of the lambdas that were created by the query expression.

As with the previous blog post, you might want to run a debug build of ILSpy and load the above example into it, so that you can see the full output of the intermediate steps. Only debug builds make the intermediate steps of the decompiler pipeline available in the language dropdown.

C# Code Generation

We generate C# code from the ILAst. The C# code is represented using the C# Abstract Source Tree from the NRefactory library. This step uses the type information to insert casts where required, so that the semantics of the generated C# code match the semantics of the original IL code.

However, some semantics, like the overflow checking context (checked or unchecked) or exact type referenced by a short type name, are not yet translated into C#, but stored as annotations on the C# AST. But apart from those details, the resulting code is valid C#.

This step is probably the biggest source of bugs, as matching the IL and C# semantics to each other isn't easy. For example, IL explicitly specifies which method is being called; but C# uses overload resolution. Inserting casts so that the resulting C# will call the correct method is not simple - we don't want to insert casts everywhere, as that would make the code hard to read.

Implementation: AstMethodBodyBuilder.cs

C# Code Transforms

All the remaining steps are transformations on the C# AST. NRefactory provides an API similar to System.Xml.Linq for working with the C# source tree, which makes modifications relatively easy. Additionally, the visitor pattern can be used to traverse the AST; and NRefactory implements a powerful pattern-matching construct.

The decompiler transformations are implemented as classes in the ICSharpCode.Decompiler.Ast.Transforms namespace.

PushNegation

This transformation eliminates negations where possible. Some ILAst operations introduce additional negations - for example "brtrue(lbl, condition); ...; lbl:" becomes "if (!condition) { ... }". The transform will remove double negations, and will move remaining negations into other operators. "!(a == b)" becomes "a != b".

DelegateConstruction

So far, delegates were compiled into code such as "new D(obj, ldftn(M))". That is, a delegate takes two arguments: the target object, and the method being called. The target object is null if the method is static. This isn't valid C#, so we transform it into "new D(obj.M)". However, if the method is anonymous, then we decompile the target method (up to the DelegateConstruction step) and put the decompiled method body into an anonymous method. Or, if the method body consists of only a single return statement, we use expression lambda syntax.

Applied to our example code, we get "(char c) => char.IsUpper(c) || char.IsDigit(c)" and "(char c) => char.ToLower(c)". Now, in this example, the lambdas did not capture any variables, and thus got compiled to static methods. The transform gets more complicated if the lambda does capture variables: In this case, the C# compiler would have created an inner class (called "DisplayClass") to represent the closure. The compiler puts all captured variables as fields into that closure.

To decompile that correctly, the first part of the DelegateConstruction transform will replace any occurrences of "this" within the lambda body with the target object that was passed to the delegate. This makes the resulting code somewhat correct - but the closure is still visible in the decompiled code. For example, a method implementing curried addition of 3 integers would look like this:

public static Func<int, Func<int, int>> CurriedAddition(int a)
{
    DelegateConstruction.c__DisplayClass13 c__DisplayClass;
    c__DisplayClass = new DelegateConstruction.c__DisplayClass13();
    c__DisplayClass.a = a;
    return delegate(int b)
    {
        DelegateConstruction.c__DisplayClass13.c__DisplayClass15 c__DisplayClass2;
        c__DisplayClass2 = new DelegateConstruction.c__DisplayClass13.c__DisplayClass15();
        c__DisplayClass2.CS$8__locals14 = c__DisplayClass;
        c__DisplayClass2.b = b;
        return (int c) => c__DisplayClass2.CS$8__locals14.+ c__DisplayClass2.+ c;
    };
}

In a second step, the DelegateConstruction transformation looks for such display classes, and removes them by promoting all their fields to local variables. If one of the fields is simply a copy of the function's parameter, no new local variable is introduced, but the parameter is used instead.

So after this cleanup step is complete, the curried addition example will look exactly like the original C# code:

public static Func<int, Func<int, int>> CurriedAddition(int a)
{
    return (int b) => (int c) => a + b + c;
}

PatternStatementTransform

This step does pattern-matching. It defines code patterns for the following language constructs:

  • using
  • foreach (both on generic and on non-generic collections)
  • for
  • do..while
  • lock
  • switch with string
  • Automatic Properties
  • Automatic Events (normal events without explicit add/remove accessor)
  • Destructors
  • try {} catch {} finally

The expanded code pattern is searched for using NRefactory's pattern matching. When it is found, some additional checks are performed to see whether the transformation is valid (e.g. a 'foreach' loop variable must not be assigned to). If it is valid, the matched code pattern is replaced with the detected construct.

Since the ILAst has only one loop construct, all generated C# code initially uses only while-loops. But if a loop looks like this: "while (true) { ... if (condition) break; }", then we can change it into "do { } while (!condition);". Using NRefactory's pattern matching, the pattern we look for can be defined easily:

static readonly WhileStatement doWhilePattern = new WhileStatement {
    Condition = new PrimitiveExpression(true),
    EmbeddedStatement = new BlockStatement {
        Statements = {
            new Repeat(new AnyNode("statement")),
            new IfElseStatement {
                Condition = new AnyNode("condition"),
                TrueStatement = new BlockStatement { new BreakStatement() }
            }
        }}};

Pattern matching reuses some ideas from regular expressions: the "Repeat" node will match any number of nodes (like the star operator in regular expressions ), and the strings passed to the "AnyNode" constructor create capture groups with that names. For a successful match, the "statement" group will contain all statements except for the final "if (condition) break;", and the "condition" group will contain the loop condition.

ReplaceMethodCallsWithOperators

This step eliminates invocations of user-defined operators ("string.op_Equality(a,b)") and replaces them with the operator itself ("a == b").

It also simplifies statements of the form "localVar = localVar + 1;" to use the post-increment operator. Note that this transformation is only valid for statements -- within expressions, we would be required to use pre-increment.

IntroduceUnsafeModifier

This transformation looks through the method body and looks for any operations that are valid only in an unsafe context. If any are found, the method is marked with the unsafe modifier.

The step also contains some code readability improvements for unsafe code: "*(ptr + num)" gets transformed to "ptr[num]", and "(*ptr).Member" gets transformed to "ptr->Member".

AddCheckedBlocks

In IL, there are different opcodes for instructions with and without overflow checking (e.g. "add" vs. "add.ovf"). However, in C# the overflow checking cannot be specified on single operators, but only on whole expressions. For example, "a = checked(b + c)" will also evaluate the sub-expressions b and c with overflow checking. If those contain any IL opcodes that didn't use overflow checking, then the C# code must use unchecked expressions within the checked expression.

Code can quickly get unreadable if you do this around every instruction, so we looked for a way to place the blocks intelligently. We formulated the problem as an optimization problem, with the following goal:

  1. Use the minimum number of checked blocks and expressions
  2. Prefer checked expressions over checked blocks
  3. Make the scope of checked expressions as small as possible
  4. Make the scope of checked blocks as large as possible

We use dynamic programming to calculate the optimal solution in linear time. Essentially, the algorithm calculates two solutions for each node: both have optimal cost, but one expects the parent context to be checked, the other expects it to be unchecked. This allows composing the whole solution (global optimum) from the partial solutions (optimal solutions for each node in the two contexts).

DeclareVariables

So far, all variables were declared at the start of the method. This step aims to make the code more readable by moving the variable declarations so that they have the smallest possible scope.

This step will introduce multiple declarations for the same variable whenever this is allowable. This might happen if two loops use the same variable, but the value assigned to the variable by the first loop will never be read by the second loop.

Basically, we split up a variable whenever this is possible without triggering the C# compiler error "Use of unassigned local variable" - if the second code block ensures it always initializes the variable before reading it, it can impossible read the value assigned by the first code block. For this purpose, I implemented C# definite assignment analysis, which is surprisingly complex - the specification is 10 pages long, and makes heavy use of the reachability rules, which take another 10 pages in the C# specification.

ConvertConstructorCallIntoInitializer

This step is all about constructors. First, we look at all constructors in the current class. If they all start with the same instruction, and that instruction is assigning to an instance field in the current class, then we convert that statement into a field initializer.

After that, all constructors should start with a call to the constructor of the base class. We take that call, and change it into an initializer (" : base()" syntax).

IntroduceUsingDeclarations

When initially creating C# code from the ILAst, ILSpy always uses short type names (without namespace name). However, it annotates the type references, so that the referenced type is still known.

This step looks at the annotations and introduces the appropriate using declarations. Then, the step looks at all referenced assemblies, and looks which types were imported by the using declarations. If several types with the same name were imported, that name is marked as ambiguous.

Now, the transformation again looks at all type references, and fully qualifies those that are ambiguous.

Note that this transformation step is disabled when you use ILSpy to look at a single method. It is used only when decompiling a whole class, or when decompiling a whole assembly.

IntroduceExtensionMethods

This step will replace calls to extension methods with the infix syntax. "Enumerable.Select(a, b)" becomes "a.Select(b)".

Now, let me show you the decompiled running example after this step:

private static IEnumerable<IEnumerable<char>> Test(List<string> list)
{
    foreach (string current in list)
    {
        yield return current.Where((char c) => char.IsUpper(c) || char.IsDigit(c)).Select((char c) => char.ToLower(c));
    }
    yield return new List<char> { 'E',  'N',  'D' };
}

IntroduceQueryExpressions

This step takes a look at method calls, and tries to find patterns that look like the output of C# query expressions. Basically, we apply the same steps as the C# compiler when it translates query expressions into method calls, but in reverse.

This results in the following decompiled code:

        yield return 
            from c in current
            where char.IsUpper(c) || char.IsDigit(c)
            select char.ToLower(c);

The IntroduceQueryExpressions step does a mostly literal translation of method calls to query clauses. However, the C# language defined some query expressions to be translated in terms of other query expressions. Examples are "let" clauses and query continuations with "into". Especially let-Clauses are tricky; since they cause the C# compiler to generate so-called transparent identifiers (see C# specification for details). Such a query might look like this:

from <>h__TransparentIdentifier2b in
    from o in orders
    select new
    {
        o = o, 
        t = o.Details.Sum((QueryExpressions.OrderDetail d) => d.UnitPrice * d.Quantity)
    }
where <>h__TransparentIdentifier2b.>1000m
select new
{
    OrderID = <>h__TransparentIdentifier2b.o.OrderID, 
    Total = <>h__TransparentIdentifier2b.t
};

 

CombineQueryExpressions

This step combines LINQ queries to simplify them (e.g. introduces query continuations); and gets rid of transparent identifiers by re-introducing the original 'let' clause. The above query combined results in the easy-to-understand query:

from o in orders
let t = o.Details.Sum((QueryExpressions.OrderDetail d) => d.UnitPrice * d.Quantity)
where t >1000m
select new
{
    OrderID = o.OrderID, 
    Total = t
};

This concludes the transformations done by the decompiler.

There's only one tiny detail left: we run NRefactory's InsertParenthesesVisitor, which introduces both required parentheses, and some additional parentheses to make the code more readable. The parenthesis-inserting step will run even if you use the language drop down to stop the decompilation at a previous step.

The very last step, of course, is the OutputVisitor, which generates text from the C# AST.


          Thing #6: Mashups and 3rd Party sites        
What is a "mashup"?
Wikipedia offers a great article that explains mashups. Basically they are hybrid web applications that take features from one application (like Flickr) and mash it up with another (like Google Maps). In this example, you get Mappr (http://mappr.com/).

Like many web 2.0 sites, Flickr has encouraged other people to build their own online applications using images found on the site. Through the use of APIs (application programming interfaces), many people have created third party tools and mashups that use Flickr Creative Commons images or even your own photos.

Discovery Resources:

Here are a few examples of mashups that use Flickr:
Mappr - allows you to take Flickr images and paste them on a map

Flickr Color Pickr - lets you find public photos in Flickr that match a specific color.

Mosaic Maker – create a photo mosaic from photos found on Flickr. Discover more mashups, web apps, and Flickr tools.

Bookr - a cute way to create little books using Flickr pictures and your text. Look in the archive at different examples by clicking on the key words list. If you create one, remember the title! The search function is not the best...but remember, it's free! Include the link in your posting so we can see your creation!

Discovery Exercise:
Your discovery exercise for this “thing” is to:
Explore some of the fun Flickr mashups and 3rd party tools that are out there.
Create a blog post about one that intrigues you.

In your post, talk about some ways Flickr and/or Flickr mashups could be used in your library program.One of our very favorite tools is FD Toys’ Trading Card Maker. And there’s a ton of librarians out there who have created their own Librarian Trading Card. So have some fun discovering and exploring some neat little apps. And if you're up to the challenge while you’re at it, why not create a trading card of your own?! :)

Take a look at more fun stuff from the Big Huge Labs.

P.S. Be sure and use copyright-friendly photos!


          Thing #17: Rollyo        
Are you tired of wading though thousands of irrelevant search results to get to the information you want? Ever wish you could narrow your search to sites you already know and trust?

With Rollyo, you can easily create your own custom search engines - we call them Searchrolls - and explore, save, and personalize those created by others. Rollyo puts the power of search in your hands, by giving you the tools to create your own personal search engines - with no programming required. All you have to do is pick the sites you want to search, and we'll create a custom search engine for you.

Not quite ready to roll? We've created a starter kit of Searchrolls you can personalize. What else can Rollyo do?

Share Your Searchrolls

You can explore and save searchrolls created by the community of Rollyo users and share your knowledge on a particular set of topics. You can even edit Searchrolls created by others. More than a thousand new Searchrolls are created every day!


Search Your Top News Sites and Blogs
Rollyo searches for the latest news articles and blog posts, giving you up-to-the-minute search results from the news sources you know and trust when it comes to a particular topic or area of interest.

RollBar
The RollBar Bookmarklet allows you to drag your entire Rollyo experience onto your browser. Search any site, use your Searchrolls wherever you are, add sites to your rolls on the fly, even create new rolls from the site that you're on.

Roll a Firefox™
Search Engine Firefox™ users can quickly create custom Searchrolls and add them to their browser toolbar in one click. You can include one site that you search all the time or a topical list of up to 25 sites. Any Rollyo Searchroll can be added to Firefox™ with one click.

High Rollers
Rollyo welcomes several high profile, High Rollers: Debra Messing, Arianna Huffington, Rosario Dawson, Brian Greene, Diane Von Furstenberg, our friends at PBS Frontline and many top bloggers have all rolled custom search engines. You can be a High Roller too if your searchroll becomes popular with the Rollyo community. Think of it as our version of Star Search.

Single Site Search
If you're always going back to the same site over and over again like Dictionary.com, Amazon or Ebay, you can create a searchroll that includes just that single site so all your searches are in one place.

Web Search
You can always expand any search to include the whole Web.
With Rollyo you can search one site, the whole web, and everything in between.

Tools
We are constantly adding new tools to make Rollyo more useful. A few of these include a Firefox™ Plugin, a custom searchbox for your site, our RollBar, and a simple way to import your bookmarks so you can use them to quickly create a variety of searchrolls. You can check out our excellent buzz and there's plenty more that you'll discover as you start using Rollyo. But ultimately Rollyo is really about a very simple idea: Quickly and easily getting you the results you want from the sites you trust. Ready?

Discovery Activity: Create your own customize search and write about it in your blog and post a link to it. See if this video (created by a L2P Player) will help you.
          51) Which one of the following statements concerning production and staffing plans is best? A. A master production schedule is a projected statement of income, costs, and profits. B. Aggregation can be performed along three dimensions: product families, labor, and time. C. Production plans are based primarily on information from the master production plan. D. A staffing plan is the intermediate link between the business plan and the master production schedule.         

BUS/475 Guide 4


1) The cost principle requires that when assets are acquired, they be recorded at __________.
A.   list price B.   selling price C.   exchange price paid D.   appraisal value
2) "Generally accepted" in the phrase generally accepted accounting principles means that the principles __________.
A.   have been approved for use by the managements of business firms
B.   have been approved by the Internal Revenue Service C.   have substantial authoritative support D.   are proven theories of accounting
3) The standards and rules that are recognized as a general guide for financial reporting are called __________.
A.   standards of financial reporting B.   operating guidelines C.   generally accepted accounting principles D.   generally accepted accounting standards
4) Sam's Used Cars uses the specific identification method of costing inventory. During March, Sam purchased three cars for $6,000, $7,500, and $9,750, respectively. During March, two cars are sold for $9,000 each. Sam determines that at March 31, the $9,750 car is still on hand. What is Sam’s gross profit for March?
A.   $8,250
B.   $750 C.   $4,500
D.   $5,250
           
5) Hess, Inc. sells a single product with a contribution margin of $12 per unit and fixed costs of $74,400 and sales for the current year of $100,000. How much is Hess’s break even point?
A.   2,133 units
B.   6,200 units
C.   $25,600 D.   4,600 units
           
6) As Plant Controller, you are trying to determine which costs over which you have the most control on a day to day basis. Your goal is to achieve better profitability. The Plant Operations Manager suggests that overhead is the easiest area to directly reduce costs. Which of the following items would be classified as manufacturing overhead?
A.   The western division’s vice president’s salary
B.   Cost of landscaping the corporate office C.   General corporate liability insurance D.   Factory janitor
7) What is the preparation of reports for each level of responsibility in the company’s organization chart called?
A.   Master budgeting analysis
B.   Exception reporting C.   Responsibility reporting
D.   Static reporting
8) Disney’s variable costs are 30% of sales. The company is contemplating an advertising campaign that will cost $22,000. If sales are expected to increase $40,000, by how much will the company's net income increase?
A.   $6,000 B.   $12,000
C.   $28,000
D.   $18,000
           
9) The cost of an asset and its fair market value are __________.
A.   never the same B.   irrelevant when the asset is used by the business in its operations
C.   the same on the date of acquisition D.   the same when the asset is sold
10) Which one of the following is a product cost?
A.   Indirect labor B.   Sales person’s salaries
C.   Advertising costs D.   Office salaries
11) What exists when budgeted costs exceed actual results?
A.   A budgeting error B.   An unfavorable difference
C.   An excess profit D.   A favorable difference
12) The income statement and balance sheet columns of Pine Company's worksheet reflects the following totals:
                        Income Statement                  Balance Sheet
            Dr.       Cr.                   Dr.       Cr.
Totals              $58,000           $48,000                       $34,000           $44,000
           

Closing entries are necessary for __________.
A.   permanent accounts only B.   both permanent and temporary accounts
C.   permanent or real accounts only D.   temporary accounts only
13) Managerial accounting __________.
A.   is concerned with costing products B.   pertains to the entity as a whole and is highly aggregated
C.   places emphasis on special-purpose information D.   is governed by generally accepted accounting principles
           
14) H55 Company sells two products, beer and wine. Beer has a 10 percent profit margin and wine has a 12 percent profit margin. Beer has a 27 percent contribution margin and wine has a 25 percent contribution margin. If other factors are equal, which product should H55 push to customers?
A.   Beer B.   Selling either results in the same additional income for the company
C.   It should sell an equal quantity of both D.   Wine
15) Lekeisha's income exceeds her expenditures. Lekeisha is a __________.
A.   saver who demands money from the financial system B.   borrower who demands money from the financial system
C.   borrower who supplies money to the financial system D.   saver who supplies money to the financial system
16) Maurice receives $100 as a birthday gift. In deciding how to spend the money, he narrows his options down to four choices: Option A, Option B, Option C, and Option D. Each option costs $100. Finally he decides on Option B. The opportunity cost of this decision is __________.
A.   the value to Maurice of the option he would have chosen had Option B not been available
B.   $100 C.   $300 D.   the value to Maurice of Options A, C and D combined
17) A production possibilities frontier will be a straight line if __________.
A.   the economy is producing efficiently B.   the economy is engaged in trade with at least one other economy C.   increasing the production of one good by x units entails no opportunity cost in terms of the other good
D.   increasing the production of one good by x units entails a constant opportunity cost in terms of the other good
           
18) In economics, the cost of something is __________.
A.   what you give up to get it B.   often impossible to quantify, even in principle C.   the dollar amount of obtaining it D.   always measured in units of time given up to get it
           
19) A tax on an imported good is called a __________.
A.   supply tax
B.   trade tax C.   quota D.   tariff
20) Which of the following statements about GDP is correct?
A.   GDP is to a nation’s economy as household income is to a household. B.   GDP increases if the total population increases. C.   GDP measures two things at once: the total income of everyone in the economy and the unemployment rate.
D.   Money continuously flows from households to government and then back to households, and GDP measures this flow of money.
           
21) In computing GDP, market prices are used to value final goods and services because __________.
A.   if market prices are out of line with how people value goods, the government sets price ceilings and price floors
B.   Market prices are not used in computing GDP C.   market prices reflect the values of goods and services D.   market prices do not change much over time, so it is easy to make comparisons between years

22) Which of the following statements about GDP is correct?
A.   Nominal GDP values production at market prices, whereas real GDP values production at the cost of the resources used in the production process.
B.   Nominal GDP consistently underestimates the value of production, whereas real GDP consistently overestimates the value of production.
C.   Nominal GDP values production at current prices, whereas real GDP values production at constant prices.
D.   Nominal GDP values production at constant prices, whereas real GDP values production at current prices.
           
23) Which of the following is not correct?
A.   The U.S. debt per-person is large compared with average lifetime income.
B.   In 2005, the U.S. government had a deficit. C.   A potential cost of deficits is that they reduce national saving, thereby reducing growth of the capital stock and output growth.
D.   Deficits give people the opportunity to consume at the expense of their children, but they do not require them to do so.
           
24) The part of the balance of payments account that lists all long-term flows of payments is called the:
A.   balance of trade. B.   financial and capital account.
C.   government financial account.
D.   current account.
25) Edward Prescott and Finn Kydland won the Nobel Prize in Economics in 2004. One of their contributions was to argue that if a central bank could convince people to expect zero inflation, then the Fed would be tempted to raise output by increasing inflation. This possibility is known as __________.
A.   the sacrifice ratio dilemma B.   the monetary policy reaction lag
C.   the time inconsistency of policy
D.   inflation targeting
26) In general, the longest lag for __________.
A.   fiscal policy is the time it takes to change policy, while for monetary policy the longest lag is the time it takes for policy to affect aggregate demand
B.   both fiscal and monetary policy is the time it takes for policy to affect aggregate demand
C.   monetary policy is the time it takes to change policy, while for fiscal policy the longest lag is the time it takes for policy to affect aggregate demand
D.   both fiscal and monetary policy is the time it takes to change policy
27) Consider two items that might be included in GDP: (1) The estimated rental value of owner-occupied housing; and (2) purchases of newly-constructed homes. How are these two items accounted for when GDP is calculated?
A.   Only item (2) is included in GDP and it is included in the investment component.
B.   Item (1) is included in the consumption component, while item (2) is included in the investment component.
C.   Item (1) is included in the investment component, while item (2) is included in the consumption component.
D.   Both item (1) and item (2) are included in the consumption component of GDP.

28) Managers will utilize __________ skills with increasing frequency as they rise within an organization.
A.   Professional B.   Interpersonal and communication
C.   Technical D.   Professional E.   Conceptual and decision
29) Which of these represent skills that managers need?
A.   Interpersonal, quantitative, and professional B.   Technical, interpersonal & communication and conceptual & decision making
C.   Professional, technical and interpersonal & communication D.   Conceptual & decision making, professional and technical E.   Interpersonal & communication, conceptual & decision making and professional
           
30) Building a dynamic organization is another way of describing which function of management?
A.   Staffing B.   Organizing
C.   Leading D.   Controlling
E.   Planning
31) Your roommate is interested in starting a business and everybody has been giving him different information about being an entrepreneur. Since you have been studying about entrepreneurship and new ventures, which of these would you tell him is true?
A.   Anyone can start a business B.   All entrepreneurs need venture capital in order to get started C.   Successful entrepreneurs take very careful, calculated risks D.   Entrepreneurs are their own bosses and completely independent
E.   Money should not be considered a start-up ingredient
32) The term used to refer to all kinds of differences including religious affiliation, age, disability status, economic class and lifestyle in addition to gender, race, ethnicity and nationality is:
A.   Diversity B.   Managerial ethics
C.   Recruiting D.   Employment E.   Selection
33) A manager's ability to stimulate people to be high performers is referred to as:
A.   Planning B.   Supervising
C.   Controlling
D.   Organizing E.   Leading
34) A series of quality standards developed by a committee working under the International Organization for Standardization to improve total quality in all businesses for the benefit of both producers and consumers is:
A.   Total quality management B.   Customer-based integration C.   Computer-integrated manufacturing (CIM)
D.   Just-in-time control (JIT)
E.   ISO 9000
35) Japanese manufacturers' kaizen (continuous improvement) programs enable them to maintain:
A.   A strategic alliance B.   A homogeneous workforce C.   Positive working relationships with all employees
D.   A Learning advantage over their competition E.   Larger, faster facilities
36) Listening to employee suggestions, gaining support for organizational objectives and fostering an atmosphere of teamwork are all considered:
A.   Technical skills B.   Conceptual C.   Professional skills D.   Interpersonal/communication skills
E.   Diagnostic skills
37) The basic components of an effective sexual harassment policy include the following EXCEPT:
A.   To develop an organization wide policy on sexual harassment B.   To establish a means for ongoing training C.   To act immediately when employees complain of sexual harassment
D.   To establish a performance appraisal system E.   To establish a formal complaint procedure
38) Teams that operate separately from the regular work structure and exist temporarily are known as:
A.   Management teams B.   Transnational teams
C.   Self-managed teams
D.   Parallel teams E.   Self-designing teams
           
39) The Aquatic Center, Inc. periodically reviews the goals of the company. During the process, The Aquatic Center managers analyze their current strategies as compared to their competitors, determine goals that they will pursue and decide upon specific actions for each area of the company to take in pursuit of these goals. The Aquatic Center managers have been engaged in the management function of:
A.   Goal Coordination
B.   Controlling C.   Organizing D.   Staffing E.   Planning
40) As related to managing of human resources, diversity refers to:
A.   Differences in demographics (such as age, race, gender, disability status, lifestyle, veteran status, educational level, etc.)
B.   Differences in pay methods (such as hourly, salaried, overtime, hazard-pay, commissioned, etc.)
C.   Differences in employee benefit plans (such as pensions, insurance, vacations, memberships, etc.)
D.   Differences in retention strategies (such as training, hiring, incentives, etc) E.   Differences in recruiting methods (such as newspapers, schools, flyers, magazines, agencies, etc.)
           
41) __________ is the process of working with people and resources to accomplish organizational goals.
A.   Controlling B.   Decision making
C.   Planning D.   Supervising E.   Management
42) Twelve randomly-chosen students were asked how many times they had missed class during a certain semester, with this result: 2, 1, 5, 1, 1, 3, 4, 3, 1, 1, 5, 18.
For this sample, the median is _____.
A.   3 B.   3.5
C.   2.5
D.   2
43) Use the following table to answer question:
 P(S | W) is approximately _____.
A.   .40
B.   .30
C.   .12
D.   .58
           
44) Use the following table to answer question:
 P(M  A) is approximately _____.
A.   .50 B.   .625
C.   .125
D.   .25
45) Dullco Manufacturing claims that its alkaline batteries last forty hours on average in a certain type of portable CD player. Tests on a random sample of 18 batteries showed a mean battery life of 37.8 hours with a standard deviation of 5.4 hours.
In determining the p-value for reporting the study's findings, which of the following is true?
A.   The p-value is equal to .05. B.   The p-value is greater than .05. C.   The p-value cannot be determined without specifying  . D.   The p-value is less than .05.
46) William used a sample of 68 U.S. cities to estimate the relationship between Crime (annual property crimes per 100,000 persons) and Income (median income per capita). His estimated regression equation was Crime = 428 + .050 Income.
Which outcomes would be likely in a bivariate regression on 45 randomly chosen U.S. cities in 2005 with
Y = number of robberies in each city (thousands of robberies) and
X = size of police force in each city (thousands of police)?
A.   High R2 (due to city size). B.   Positive slope (due to city size).
C.   No correlation. D.   Autocorrelation.
47) Twelve randomly-chosen students were asked how many times they had missed class during a certain semester, with this result: 2, 1, 5, 1, 1, 3, 4, 3, 1, 1, 5, 18.
For this sample, which measure of central tendency is least representative of the “typical” student?
A.   Midrange
B.   Mean C.   Mode D.   Median
           
48) Likely reasons for inaccurate control limits would include which of the following?
A.   Process variation was not zero, as expected. B.   The engineering parameter for variance is unknown.
C.   There was insufficient preliminary sampling. D.   The engineers were underpaid for their work.
49) You are faced with a linear programming objective function of:
Max P = $20X + $30Y
and constraints of:
3X + 4Y = 24 (Constraint A)
5X – Y = 18 (Constraint B)
You discover that the shadow price for Constraint A is 7.5 and the shadow price for Constraint B is 0. Which of these statements is TRUE?
A.   The most you would want to pay for an additional unit of A would be $7.50.
B.   You can change quantities of X and Y at no cost for Constraint B. C.   For every additional unit of the objective function you create, the price of A rises by $7.50.
D.   For every additional unit of the objective function you create, you lose 0 units of B.
           
50) A project has three paths. A–B–C has a length of 25 days. A–D–C has a length of 15 days. Finally, A–E–C has a length of 20 days. Which one of the following statements is TRUE?
A.   The expected duration of this project is 25 + 15 + 20 = 60 days.
B.   A–D–C is the critical path. C.   The expected duration of this project is 25 days. D.   A–B–C has the most slack.
51) Which one of the following statements concerning production and staffing plans is best?
A.   A master production schedule is a projected statement of income, costs, and profits.
B.   Aggregation can be performed along three dimensions: product families, labor, and time.
C.   Production plans are based primarily on information from the master production plan.
D.   A staffing plan is the intermediate link between the business plan and the master production schedule.
           
52) While glancing over the sensitivity report, you note that the stitching labor has a shadow price of $10 and a lower limit of 24 hours with an upper limit of 36 hours. If your original right hand value for stitching labor was 30 hours, you know that:
A.   you would lose $80 if one of your workers missed an entire 8 hour shift. B.   the next worker that offers to work an extra 8 hours should receive at least $80.
C.   you would be willing pay up to $60 for someone to work another 6 hours.
D.   you can send someone home 6 hours early and still pay them the $60 they would have earned while on the clock.

53) The costs of delivering products in the _____ channel are much higher than delivering products in the _____ channel.
A.   physical, digital B.   e-commerce, digital
C.   physical, financial D.   digital, e-commerce
E.   digital, physical
54) When customers access a Web site and make purchases, they generate __________.
A.   Tracking cookies B.   Web data C.   Information D.   Clickstream data
E.   Hyperlink data
55) _____ is the integration of economic, social, cultural, and ecological facets of life, enabled by information.
A.   regionalization B.   globalization C.   nationalization D.   business environment
           
56) Various organizations that promote fair and responsible use of information systems often develop __________.
A.   a code of ethics B.   responsibility charters
C.   a strategic plan D.   a mission statement E.   a goals outline
57) What is _____ is not necessarily _____.
A.   Illegal, unethical B.   Unethical, legal C.   Ethical, illegal D.   Unethical, illegal
E.   Ethical, legal
58) _____ provides users with a view of what is happening, where _____ addresses why it is happening.
A.   Multidimensional data analysis, structured query language
B.   Multidimensional data analysis, neural networks C.   Data mining, multidimensional data analysis D.   Data mining, expert system E.   Multidimensional data analysis, data mining
59) Computer support is greatest for which of the following problems?
A.   Semistructured and strategic planning B.   Semistructured and management control
C.   Unstructured and operational control D.   Structured and operational control E.   Structured and management control
60) The management cockpit best exemplifies which type of system?
A.   Decision support system B.   Functional area information system
C.   Expert system D.   Digital dashboard E.   Group decision support system
61) _____ is the efficient and effective execution of specific tasks.
A.   Operational control
B.   Expertise C.   Management control
D.   Strategic planning E.   Wisdom
62) Geocoding is __________.
A.   accessing geographical information B.   integrating maps with spatially oriented databases and other databases
C.   integrating organizational transactions with spatially oriented databases D.   programming spatially oriented databases E.   encrypting spatial information
63) At 8% compounded annually, how long will it take $750 to double?
A.   48 months
B.   6.5 years C.   9 years D.   12 years
64) Which of the following represents an attempt to measure the earnings of the firm’s operations over a given time period?
A.   Cash flow statement
B.   Balance sheet C.   Income statement D.   Quarterly statement
           
65) A machine costs $1,000, has a three-year life, and has an estimated salvage value of $100. It will generate after-tax annual cash flows (ACF) of $600 a year, starting next year. If your required rate of return for the project is 10%, what is the NPV of this investment? (Round your answerwer to the nearest $10.)
A.   $570 B.   $490 C.   $900 D.   -$150
           
66) Disadvantages of using current liabilities as opposed to long-term debt include:
A.   higher cash flow exposure B.   greater risk of illiquidity, and uncertainty of interest costs
C.   decreased risk of liquidity D.   certainty of interest costs E.   uncertainty of future liabilities
67) Petrified Forest Skin Care, Inc. pays an annual perpetual dividend of $1.70 per share. If the stock is currently selling for $21.25 per share, what is the expected rate of return on this stock?
A.   12.5% B.   36.13%
C.   8.0% D.   13.6%
68) Which of the following is most consistent with the hedging principle in working capital management?
A.   Fixed assets should be financed with short-term notes payable. B.   Inventory should be financed with preferred stock. C.   Accounts receivable should be financed with short-term lines of credit.
D.   Borrow on a floating rate basis to finance investments in permanent assets.
           
69) An increase in future value can be caused by an increase in the __________.
A.   original amount invested B.   annual interest rate and number of compounding periods
C.   rate of return D.   dividends paid E.   starting value
70) If the quote for a forward exchange contract is greater than the computed price, the forward contract is:
A.   at equilibrium.
B.   undervalued. C.   a good buy. D.   overvalued.
71) Your company is considering an investment in a project which would require an initial outlay of $300,000 and produce expected cash flows in Years 1 through 5 of $87,385 per year. You have determined that the current after-tax cost of the firm’s capital (required rate of return) for each source of financing is as follows:
Cost of debt     8%
Cost of preferred stock           12%
Cost of common stock            16%
Long-term debt currently makes up 20% of the capital structure, preferred stock 10%, and common stock 70%. What is the net present value of this project?
A.   $1,568
B.   $871 C.   $1,241
D.   $463
72) Suppose you determine that the NPV of a project is $1,525,855. What does that mean?
A.   The project’s IRR would have to be less that the firm’s discount rate. B.   The project would add value to the firm. C.   Under all conditions, the project’s payback would be less than the profitability index.
D.   In all cases, investing in this project would be better than investing in a project that has an NPV of $850,000.
           
73) The common stockholders are most concerned with:
A.   the spread between the return generated on new investments and the investor’s required rate of return.
B.   the size of the firm’s beginning earnings per share. C.   the risk of the investment. D.   the percentage of profits retained.
74) PepsiCo calculates unlevered betas for each peer group in order to:
A.   eliminate different financial risks.
B.   eliminate competitive factors. C.   eliminate judgment factors. D.   eliminate different business risks.
75) Which of the following best represents operating income?
A.   Income from discontinued operations
B.   Earnings before interest and taxes C.   Income from capital gains D.   Income after financing activities
76) In comparison to the buying of final consumers, the purchasing of organizational buyers:
A.   is even less predictable. B.   leans basically toward economy, quality, and dependability.
C.   is always emotional. D.   is strictly economic and not at all emotional. E.   is always based on competitive bids from multiple suppliers.
           
77) The basic objective of the U.S. market-directed economic system is to:
A.   achieve an annual growth rate of at least 10 percent. B.   provide each person with an equal share of the economic output.
C.   make the most efficient use of the country's resources. D.   minimize inflation. E.   satisfy consumer needs as they--the consumers--see them.
78) Comparing GDP for foreign countries can help a marketing manager evaluate potential markets if the manager remembers that:
A.   GDP measures show people's tendency to buy particular products. B.   income tends to be evenly distributed among consumers in most countries. C.   GDP estimates may not be very accurate for very different cultures and economies.
D.   Other countries most likely don’t use the US Dollar as their primary currency.
E.   GDP measures show the degree of competition in a market.
79) A firm's "marketing mix" decision areas would NOT include:
A.   Promotion.
B.   People. C.   Price. D.   Place. E.   Product.
80) __________ is a marketing management aid which refers to how customers think about proposed and/or present brands in a market.
A.   Brand familiarity B.   Positioning
C.   Market scanning D.   Customer relationship management (CRM)
E.   Market segmentation
81) The "four Ps" of a marketing mix are:
A.   Production, Personnel, Price, and Physical Distribution
B.   Promotion, Production, Price, and People C.   Potential customers, Product, Price, and Personal Selling
D.   Product, Price, Promotion, and Profit E.   Product, Place, Promotion, and Price
82) When evaluating macro-marketing:
A.   the evaluation is necessarily subjective. B.   the best approach is to consider the profit generated by individual firms within the overall system.
C.   one must determine how efficiently the society's resources are used. D.   one must consider the society’s role in the marketing system. E.   one must consider each individual firm's role in the marketing system.
83) A cluster analysis of the "toothpaste market" would probably show that:
A.   the broad product-market can be served effectively with one marketing mix.
B.   most consu
          52) While glancing over the sensitivity report, you note that the stitching labor has a shadow price of $10 and a lower limit of 24 hours with an upper limit of 36 hours. If your original right hand value for stitching labor was 30 hours, you know that: A. you would lose $80 if one of your workers missed an entire 8 hour shift. B. the next worker that offers to work an extra 8 hours should receive at least $80. C. you would be willing pay up to $60 for someone to work another 6 hours. D.         

BUS/475 Guide 4


1) The cost principle requires that when assets are acquired, they be recorded at __________.
A.   list price B.   selling price C.   exchange price paid D.   appraisal value
2) "Generally accepted" in the phrase generally accepted accounting principles means that the principles __________.
A.   have been approved for use by the managements of business firms
B.   have been approved by the Internal Revenue Service C.   have substantial authoritative support D.   are proven theories of accounting
3) The standards and rules that are recognized as a general guide for financial reporting are called __________.
A.   standards of financial reporting B.   operating guidelines C.   generally accepted accounting principles D.   generally accepted accounting standards
4) Sam's Used Cars uses the specific identification method of costing inventory. During March, Sam purchased three cars for $6,000, $7,500, and $9,750, respectively. During March, two cars are sold for $9,000 each. Sam determines that at March 31, the $9,750 car is still on hand. What is Sam’s gross profit for March?
A.   $8,250
B.   $750 C.   $4,500
D.   $5,250
           
5) Hess, Inc. sells a single product with a contribution margin of $12 per unit and fixed costs of $74,400 and sales for the current year of $100,000. How much is Hess’s break even point?
A.   2,133 units
B.   6,200 units
C.   $25,600 D.   4,600 units
           
6) As Plant Controller, you are trying to determine which costs over which you have the most control on a day to day basis. Your goal is to achieve better profitability. The Plant Operations Manager suggests that overhead is the easiest area to directly reduce costs. Which of the following items would be classified as manufacturing overhead?
A.   The western division’s vice president’s salary
B.   Cost of landscaping the corporate office C.   General corporate liability insurance D.   Factory janitor
7) What is the preparation of reports for each level of responsibility in the company’s organization chart called?
A.   Master budgeting analysis
B.   Exception reporting C.   Responsibility reporting
D.   Static reporting
8) Disney’s variable costs are 30% of sales. The company is contemplating an advertising campaign that will cost $22,000. If sales are expected to increase $40,000, by how much will the company's net income increase?
A.   $6,000 B.   $12,000
C.   $28,000
D.   $18,000
           
9) The cost of an asset and its fair market value are __________.
A.   never the same B.   irrelevant when the asset is used by the business in its operations
C.   the same on the date of acquisition D.   the same when the asset is sold
10) Which one of the following is a product cost?
A.   Indirect labor B.   Sales person’s salaries
C.   Advertising costs D.   Office salaries
11) What exists when budgeted costs exceed actual results?
A.   A budgeting error B.   An unfavorable difference
C.   An excess profit D.   A favorable difference
12) The income statement and balance sheet columns of Pine Company's worksheet reflects the following totals:
                        Income Statement                  Balance Sheet
            Dr.       Cr.                   Dr.       Cr.
Totals              $58,000           $48,000                       $34,000           $44,000
           

Closing entries are necessary for __________.
A.   permanent accounts only B.   both permanent and temporary accounts
C.   permanent or real accounts only D.   temporary accounts only
13) Managerial accounting __________.
A.   is concerned with costing products B.   pertains to the entity as a whole and is highly aggregated
C.   places emphasis on special-purpose information D.   is governed by generally accepted accounting principles
           
14) H55 Company sells two products, beer and wine. Beer has a 10 percent profit margin and wine has a 12 percent profit margin. Beer has a 27 percent contribution margin and wine has a 25 percent contribution margin. If other factors are equal, which product should H55 push to customers?
A.   Beer B.   Selling either results in the same additional income for the company
C.   It should sell an equal quantity of both D.   Wine
15) Lekeisha's income exceeds her expenditures. Lekeisha is a __________.
A.   saver who demands money from the financial system B.   borrower who demands money from the financial system
C.   borrower who supplies money to the financial system D.   saver who supplies money to the financial system
16) Maurice receives $100 as a birthday gift. In deciding how to spend the money, he narrows his options down to four choices: Option A, Option B, Option C, and Option D. Each option costs $100. Finally he decides on Option B. The opportunity cost of this decision is __________.
A.   the value to Maurice of the option he would have chosen had Option B not been available
B.   $100 C.   $300 D.   the value to Maurice of Options A, C and D combined
17) A production possibilities frontier will be a straight line if __________.
A.   the economy is producing efficiently B.   the economy is engaged in trade with at least one other economy C.   increasing the production of one good by x units entails no opportunity cost in terms of the other good
D.   increasing the production of one good by x units entails a constant opportunity cost in terms of the other good
           
18) In economics, the cost of something is __________.
A.   what you give up to get it B.   often impossible to quantify, even in principle C.   the dollar amount of obtaining it D.   always measured in units of time given up to get it
           
19) A tax on an imported good is called a __________.
A.   supply tax
B.   trade tax C.   quota D.   tariff
20) Which of the following statements about GDP is correct?
A.   GDP is to a nation’s economy as household income is to a household. B.   GDP increases if the total population increases. C.   GDP measures two things at once: the total income of everyone in the economy and the unemployment rate.
D.   Money continuously flows from households to government and then back to households, and GDP measures this flow of money.
           
21) In computing GDP, market prices are used to value final goods and services because __________.
A.   if market prices are out of line with how people value goods, the government sets price ceilings and price floors
B.   Market prices are not used in computing GDP C.   market prices reflect the values of goods and services D.   market prices do not change much over time, so it is easy to make comparisons between years

22) Which of the following statements about GDP is correct?
A.   Nominal GDP values production at market prices, whereas real GDP values production at the cost of the resources used in the production process.
B.   Nominal GDP consistently underestimates the value of production, whereas real GDP consistently overestimates the value of production.
C.   Nominal GDP values production at current prices, whereas real GDP values production at constant prices.
D.   Nominal GDP values production at constant prices, whereas real GDP values production at current prices.
           
23) Which of the following is not correct?
A.   The U.S. debt per-person is large compared with average lifetime income.
B.   In 2005, the U.S. government had a deficit. C.   A potential cost of deficits is that they reduce national saving, thereby reducing growth of the capital stock and output growth.
D.   Deficits give people the opportunity to consume at the expense of their children, but they do not require them to do so.
           
24) The part of the balance of payments account that lists all long-term flows of payments is called the:
A.   balance of trade. B.   financial and capital account.
C.   government financial account.
D.   current account.
25) Edward Prescott and Finn Kydland won the Nobel Prize in Economics in 2004. One of their contributions was to argue that if a central bank could convince people to expect zero inflation, then the Fed would be tempted to raise output by increasing inflation. This possibility is known as __________.
A.   the sacrifice ratio dilemma B.   the monetary policy reaction lag
C.   the time inconsistency of policy
D.   inflation targeting
26) In general, the longest lag for __________.
A.   fiscal policy is the time it takes to change policy, while for monetary policy the longest lag is the time it takes for policy to affect aggregate demand
B.   both fiscal and monetary policy is the time it takes for policy to affect aggregate demand
C.   monetary policy is the time it takes to change policy, while for fiscal policy the longest lag is the time it takes for policy to affect aggregate demand
D.   both fiscal and monetary policy is the time it takes to change policy
27) Consider two items that might be included in GDP: (1) The estimated rental value of owner-occupied housing; and (2) purchases of newly-constructed homes. How are these two items accounted for when GDP is calculated?
A.   Only item (2) is included in GDP and it is included in the investment component.
B.   Item (1) is included in the consumption component, while item (2) is included in the investment component.
C.   Item (1) is included in the investment component, while item (2) is included in the consumption component.
D.   Both item (1) and item (2) are included in the consumption component of GDP.

28) Managers will utilize __________ skills with increasing frequency as they rise within an organization.
A.   Professional B.   Interpersonal and communication
C.   Technical D.   Professional E.   Conceptual and decision
29) Which of these represent skills that managers need?
A.   Interpersonal, quantitative, and professional B.   Technical, interpersonal & communication and conceptual & decision making
C.   Professional, technical and interpersonal & communication D.   Conceptual & decision making, professional and technical E.   Interpersonal & communication, conceptual & decision making and professional
           
30) Building a dynamic organization is another way of describing which function of management?
A.   Staffing B.   Organizing
C.   Leading D.   Controlling
E.   Planning
31) Your roommate is interested in starting a business and everybody has been giving him different information about being an entrepreneur. Since you have been studying about entrepreneurship and new ventures, which of these would you tell him is true?
A.   Anyone can start a business B.   All entrepreneurs need venture capital in order to get started C.   Successful entrepreneurs take very careful, calculated risks D.   Entrepreneurs are their own bosses and completely independent
E.   Money should not be considered a start-up ingredient
32) The term used to refer to all kinds of differences including religious affiliation, age, disability status, economic class and lifestyle in addition to gender, race, ethnicity and nationality is:
A.   Diversity B.   Managerial ethics
C.   Recruiting D.   Employment E.   Selection
33) A manager's ability to stimulate people to be high performers is referred to as:
A.   Planning B.   Supervising
C.   Controlling
D.   Organizing E.   Leading
34) A series of quality standards developed by a committee working under the International Organization for Standardization to improve total quality in all businesses for the benefit of both producers and consumers is:
A.   Total quality management B.   Customer-based integration C.   Computer-integrated manufacturing (CIM)
D.   Just-in-time control (JIT)
E.   ISO 9000
35) Japanese manufacturers' kaizen (continuous improvement) programs enable them to maintain:
A.   A strategic alliance B.   A homogeneous workforce C.   Positive working relationships with all employees
D.   A Learning advantage over their competition E.   Larger, faster facilities
36) Listening to employee suggestions, gaining support for organizational objectives and fostering an atmosphere of teamwork are all considered:
A.   Technical skills B.   Conceptual C.   Professional skills D.   Interpersonal/communication skills
E.   Diagnostic skills
37) The basic components of an effective sexual harassment policy include the following EXCEPT:
A.   To develop an organization wide policy on sexual harassment B.   To establish a means for ongoing training C.   To act immediately when employees complain of sexual harassment
D.   To establish a performance appraisal system E.   To establish a formal complaint procedure
38) Teams that operate separately from the regular work structure and exist temporarily are known as:
A.   Management teams B.   Transnational teams
C.   Self-managed teams
D.   Parallel teams E.   Self-designing teams
           
39) The Aquatic Center, Inc. periodically reviews the goals of the company. During the process, The Aquatic Center managers analyze their current strategies as compared to their competitors, determine goals that they will pursue and decide upon specific actions for each area of the company to take in pursuit of these goals. The Aquatic Center managers have been engaged in the management function of:
A.   Goal Coordination
B.   Controlling C.   Organizing D.   Staffing E.   Planning
40) As related to managing of human resources, diversity refers to:
A.   Differences in demographics (such as age, race, gender, disability status, lifestyle, veteran status, educational level, etc.)
B.   Differences in pay methods (such as hourly, salaried, overtime, hazard-pay, commissioned, etc.)
C.   Differences in employee benefit plans (such as pensions, insurance, vacations, memberships, etc.)
D.   Differences in retention strategies (such as training, hiring, incentives, etc) E.   Differences in recruiting methods (such as newspapers, schools, flyers, magazines, agencies, etc.)
           
41) __________ is the process of working with people and resources to accomplish organizational goals.
A.   Controlling B.   Decision making
C.   Planning D.   Supervising E.   Management
42) Twelve randomly-chosen students were asked how many times they had missed class during a certain semester, with this result: 2, 1, 5, 1, 1, 3, 4, 3, 1, 1, 5, 18.
For this sample, the median is _____.
A.   3 B.   3.5
C.   2.5
D.   2
43) Use the following table to answer question:
 P(S | W) is approximately _____.
A.   .40
B.   .30
C.   .12
D.   .58
           
44) Use the following table to answer question:
 P(M  A) is approximately _____.
A.   .50 B.   .625
C.   .125
D.   .25
45) Dullco Manufacturing claims that its alkaline batteries last forty hours on average in a certain type of portable CD player. Tests on a random sample of 18 batteries showed a mean battery life of 37.8 hours with a standard deviation of 5.4 hours.
In determining the p-value for reporting the study's findings, which of the following is true?
A.   The p-value is equal to .05. B.   The p-value is greater than .05. C.   The p-value cannot be determined without specifying  . D.   The p-value is less than .05.
46) William used a sample of 68 U.S. cities to estimate the relationship between Crime (annual property crimes per 100,000 persons) and Income (median income per capita). His estimated regression equation was Crime = 428 + .050 Income.
Which outcomes would be likely in a bivariate regression on 45 randomly chosen U.S. cities in 2005 with
Y = number of robberies in each city (thousands of robberies) and
X = size of police force in each city (thousands of police)?
A.   High R2 (due to city size). B.   Positive slope (due to city size).
C.   No correlation. D.   Autocorrelation.
47) Twelve randomly-chosen students were asked how many times they had missed class during a certain semester, with this result: 2, 1, 5, 1, 1, 3, 4, 3, 1, 1, 5, 18.
For this sample, which measure of central tendency is least representative of the “typical” student?
A.   Midrange
B.   Mean C.   Mode D.   Median
           
48) Likely reasons for inaccurate control limits would include which of the following?
A.   Process variation was not zero, as expected. B.   The engineering parameter for variance is unknown.
C.   There was insufficient preliminary sampling. D.   The engineers were underpaid for their work.
49) You are faced with a linear programming objective function of:
Max P = $20X + $30Y
and constraints of:
3X + 4Y = 24 (Constraint A)
5X – Y = 18 (Constraint B)
You discover that the shadow price for Constraint A is 7.5 and the shadow price for Constraint B is 0. Which of these statements is TRUE?
A.   The most you would want to pay for an additional unit of A would be $7.50.
B.   You can change quantities of X and Y at no cost for Constraint B. C.   For every additional unit of the objective function you create, the price of A rises by $7.50.
D.   For every additional unit of the objective function you create, you lose 0 units of B.
           
50) A project has three paths. A–B–C has a length of 25 days. A–D–C has a length of 15 days. Finally, A–E–C has a length of 20 days. Which one of the following statements is TRUE?
A.   The expected duration of this project is 25 + 15 + 20 = 60 days.
B.   A–D–C is the critical path. C.   The expected duration of this project is 25 days. D.   A–B–C has the most slack.
51) Which one of the following statements concerning production and staffing plans is best?
A.   A master production schedule is a projected statement of income, costs, and profits.
B.   Aggregation can be performed along three dimensions: product families, labor, and time.
C.   Production plans are based primarily on information from the master production plan.
D.   A staffing plan is the intermediate link between the business plan and the master production schedule.
           
52) While glancing over the sensitivity report, you note that the stitching labor has a shadow price of $10 and a lower limit of 24 hours with an upper limit of 36 hours. If your original right hand value for stitching labor was 30 hours, you know that:
A.   you would lose $80 if one of your workers missed an entire 8 hour shift. B.   the next worker that offers to work an extra 8 hours should receive at least $80.
C.   you would be willing pay up to $60 for someone to work another 6 hours.
D.   you can send someone home 6 hours early and still pay them the $60 they would have earned while on the clock.

53) The costs of delivering products in the _____ channel are much higher than delivering products in the _____ channel.
A.   physical, digital B.   e-commerce, digital
C.   physical, financial D.   digital, e-commerce
E.   digital, physical
54) When customers access a Web site and make purchases, they generate __________.
A.   Tracking cookies B.   Web data C.   Information D.   Clickstream data
E.   Hyperlink data
55) _____ is the integration of economic, social, cultural, and ecological facets of life, enabled by information.
A.   regionalization B.   globalization C.   nationalization D.   business environment
           
56) Various organizations that promote fair and responsible use of information systems often develop __________.
A.   a code of ethics B.   responsibility charters
C.   a strategic plan D.   a mission statement E.   a goals outline
57) What is _____ is not necessarily _____.
A.   Illegal, unethical B.   Unethical, legal C.   Ethical, illegal D.   Unethical, illegal
E.   Ethical, legal
58) _____ provides users with a view of what is happening, where _____ addresses why it is happening.
A.   Multidimensional data analysis, structured query language
B.   Multidimensional data analysis, neural networks C.   Data mining, multidimensional data analysis D.   Data mining, expert system E.   Multidimensional data analysis, data mining
59) Computer support is greatest for which of the following problems?
A.   Semistructured and strategic planning B.   Semistructured and management control
C.   Unstructured and operational control D.   Structured and operational control E.   Structured and management control
60) The management cockpit best exemplifies which type of system?
A.   Decision support system B.   Functional area information system
C.   Expert system D.   Digital dashboard E.   Group decision support system
61) _____ is the efficient and effective execution of specific tasks.
A.   Operational control
B.   Expertise C.   Management control
D.   Strategic planning E.   Wisdom
62) Geocoding is __________.
A.   accessing geographical information B.   integrating maps with spatially oriented databases and other databases
C.   integrating organizational transactions with spatially oriented databases D.   programming spatially oriented databases E.   encrypting spatial information
63) At 8% compounded annually, how long will it take $750 to double?
A.   48 months
B.   6.5 years C.   9 years D.   12 years
64) Which of the following represents an attempt to measure the earnings of the firm’s operations over a given time period?
A.   Cash flow statement
B.   Balance sheet C.   Income statement D.   Quarterly statement
           
65) A machine costs $1,000, has a three-year life, and has an estimated salvage value of $100. It will generate after-tax annual cash flows (ACF) of $600 a year, starting next year. If your required rate of return for the project is 10%, what is the NPV of this investment? (Round your answerwer to the nearest $10.)
A.   $570 B.   $490 C.   $900 D.   -$150
           
66) Disadvantages of using current liabilities as opposed to long-term debt include:
A.   higher cash flow exposure B.   greater risk of illiquidity, and uncertainty of interest costs
C.   decreased risk of liquidity D.   certainty of interest costs E.   uncertainty of future liabilities
67) Petrified Forest Skin Care, Inc. pays an annual perpetual dividend of $1.70 per share. If the stock is currently selling for $21.25 per share, what is the expected rate of return on this stock?
A.   12.5% B.   36.13%
C.   8.0% D.   13.6%
68) Which of the following is most consistent with the hedging principle in working capital management?
A.   Fixed assets should be financed with short-term notes payable. B.   Inventory should be financed with preferred stock. C.   Accounts receivable should be financed with short-term lines of credit.
D.   Borrow on a floating rate basis to finance investments in permanent assets.
           
69) An increase in future value can be caused by an increase in the __________.
A.   original amount invested B.   annual interest rate and number of compounding periods
C.   rate of return D.   dividends paid E.   starting value
70) If the quote for a forward exchange contract is greater than the computed price, the forward contract is:
A.   at equilibrium.
B.   undervalued. C.   a good buy. D.   overvalued.
71) Your company is considering an investment in a project which would require an initial outlay of $300,000 and produce expected cash flows in Years 1 through 5 of $87,385 per year. You have determined that the current after-tax cost of the firm’s capital (required rate of return) for each source of financing is as follows:
Cost of debt     8%
Cost of preferred stock           12%
Cost of common stock            16%
Long-term debt currently makes up 20% of the capital structure, preferred stock 10%, and common stock 70%. What is the net present value of this project?
A.   $1,568
B.   $871 C.   $1,241
D.   $463
72) Suppose you determine that the NPV of a project is $1,525,855. What does that mean?
A.   The project’s IRR would have to be less that the firm’s discount rate. B.   The project would add value to the firm. C.   Under all conditions, the project’s payback would be less than the profitability index.
D.   In all cases, investing in this project would be better than investing in a project that has an NPV of $850,000.
           
73) The common stockholders are most concerned with:
A.   the spread between the return generated on new investments and the investor’s required rate of return.
B.   the size of the firm’s beginning earnings per share. C.   the risk of the investment. D.   the percentage of profits retained.
74) PepsiCo calculates unlevered betas for each peer group in order to:
A.   eliminate different financial risks.
B.   eliminate competitive factors. C.   eliminate judgment factors. D.   eliminate different business risks.
75) Which of the following best represents operating income?
A.   Income from discontinued operations
B.   Earnings before interest and taxes C.   Income from capital gains D.   Income after financing activities
76) In comparison to the buying of final consumers, the purchasing of organizational buyers:
A.   is even less predictable. B.   leans basically toward economy, quality, and dependability.
C.   is always emotional. D.   is strictly economic and not at all emotional. E.   is always based on competitive bids from multiple suppliers.
           
77) The basic objective of the U.S. market-directed economic system is to:
A.   achieve an annual growth rate of at least 10 percent. B.   provide each person with an equal share of the economic output.
C.   make the most efficient use of the country's resources. D.   minimize inflation. E.   satisfy consumer needs as they--the consumers--see them.
78) Comparing GDP for foreign countries can help a marketing manager evaluate potential markets if the manager remembers that:
A.   GDP measures show people's tendency to buy particular products. B.   income tends to be evenly distributed among consumers in most countries. C.   GDP estimates may not be very accurate for very different cultures and economies.
D.   Other countries most likely don’t use the US Dollar as their primary currency.
E.   GDP measures show the degree of competition in a market.
79) A firm's "marketing mix" decision areas would NOT include:
A.   Promotion.
B.   People. C.   Price. D.   Place. E.   Product.
80) __________ is a marketing management aid which refers to how customers think about proposed and/or present brands in a market.
A.   Brand familiarity B.   Positioning
C.   Market scanning D.   Customer relationship management (CRM)
E.   Market segmentation
81) The "four Ps" of a marketing mix are:
A.   Production, Personnel, Price, and Physical Distribution
B.   Promotion, Production, Price, and People C.   Potential customers, Product, Price, and Personal Selling
D.   Product, Price, Promotion, and Profit E.   Product, Place, Promotion, and Price
82) When evaluating macro-marketing:
A.   the evaluation is necessarily subjective. B.   the best approach is to consider the profit generated by individual firms within the overall system.
C.   one must determine how efficiently the society's resources are used. D.   one must consider the society’s role in the marketing system. E.   one must consider each individual firm's role in the marketing system.
83) A cluster analysis of the "toothpaste market" would probably show that:
A.   the broad product-market can be served effectively with one marketing mix.
B.   most consu
          53) The costs of delivering products in the _____ channel are much higher than delivering products in the _____ channel. A. physical, digital B. e-commerce, digital C. physical, financial D. digital, e-commerce E. digital, physical        

BUS/475 Guide 4


1) The cost principle requires that when assets are acquired, they be recorded at __________.
A.   list price B.   selling price C.   exchange price paid D.   appraisal value
2) "Generally accepted" in the phrase generally accepted accounting principles means that the principles __________.
A.   have been approved for use by the managements of business firms
B.   have been approved by the Internal Revenue Service C.   have substantial authoritative support D.   are proven theories of accounting
3) The standards and rules that are recognized as a general guide for financial reporting are called __________.
A.   standards of financial reporting B.   operating guidelines C.   generally accepted accounting principles D.   generally accepted accounting standards
4) Sam's Used Cars uses the specific identification method of costing inventory. During March, Sam purchased three cars for $6,000, $7,500, and $9,750, respectively. During March, two cars are sold for $9,000 each. Sam determines that at March 31, the $9,750 car is still on hand. What is Sam’s gross profit for March?
A.   $8,250
B.   $750 C.   $4,500
D.   $5,250
           
5) Hess, Inc. sells a single product with a contribution margin of $12 per unit and fixed costs of $74,400 and sales for the current year of $100,000. How much is Hess’s break even point?
A.   2,133 units
B.   6,200 units
C.   $25,600 D.   4,600 units
           
6) As Plant Controller, you are trying to determine which costs over which you have the most control on a day to day basis. Your goal is to achieve better profitability. The Plant Operations Manager suggests that overhead is the easiest area to directly reduce costs. Which of the following items would be classified as manufacturing overhead?
A.   The western division’s vice president’s salary
B.   Cost of landscaping the corporate office C.   General corporate liability insurance D.   Factory janitor
7) What is the preparation of reports for each level of responsibility in the company’s organization chart called?
A.   Master budgeting analysis
B.   Exception reporting C.   Responsibility reporting
D.   Static reporting
8) Disney’s variable costs are 30% of sales. The company is contemplating an advertising campaign that will cost $22,000. If sales are expected to increase $40,000, by how much will the company's net income increase?
A.   $6,000 B.   $12,000
C.   $28,000
D.   $18,000
           
9) The cost of an asset and its fair market value are __________.
A.   never the same B.   irrelevant when the asset is used by the business in its operations
C.   the same on the date of acquisition D.   the same when the asset is sold
10) Which one of the following is a product cost?
A.   Indirect labor B.   Sales person’s salaries
C.   Advertising costs D.   Office salaries
11) What exists when budgeted costs exceed actual results?
A.   A budgeting error B.   An unfavorable difference
C.   An excess profit D.   A favorable difference
12) The income statement and balance sheet columns of Pine Company's worksheet reflects the following totals:
                        Income Statement                  Balance Sheet
            Dr.       Cr.                   Dr.       Cr.
Totals              $58,000           $48,000                       $34,000           $44,000
           

Closing entries are necessary for __________.
A.   permanent accounts only B.   both permanent and temporary accounts
C.   permanent or real accounts only D.   temporary accounts only
13) Managerial accounting __________.
A.   is concerned with costing products B.   pertains to the entity as a whole and is highly aggregated
C.   places emphasis on special-purpose information D.   is governed by generally accepted accounting principles
           
14) H55 Company sells two products, beer and wine. Beer has a 10 percent profit margin and wine has a 12 percent profit margin. Beer has a 27 percent contribution margin and wine has a 25 percent contribution margin. If other factors are equal, which product should H55 push to customers?
A.   Beer B.   Selling either results in the same additional income for the company
C.   It should sell an equal quantity of both D.   Wine
15) Lekeisha's income exceeds her expenditures. Lekeisha is a __________.
A.   saver who demands money from the financial system B.   borrower who demands money from the financial system
C.   borrower who supplies money to the financial system D.   saver who supplies money to the financial system
16) Maurice receives $100 as a birthday gift. In deciding how to spend the money, he narrows his options down to four choices: Option A, Option B, Option C, and Option D. Each option costs $100. Finally he decides on Option B. The opportunity cost of this decision is __________.
A.   the value to Maurice of the option he would have chosen had Option B not been available
B.   $100 C.   $300 D.   the value to Maurice of Options A, C and D combined
17) A production possibilities frontier will be a straight line if __________.
A.   the economy is producing efficiently B.   the economy is engaged in trade with at least one other economy C.   increasing the production of one good by x units entails no opportunity cost in terms of the other good
D.   increasing the production of one good by x units entails a constant opportunity cost in terms of the other good
           
18) In economics, the cost of something is __________.
A.   what you give up to get it B.   often impossible to quantify, even in principle C.   the dollar amount of obtaining it D.   always measured in units of time given up to get it
           
19) A tax on an imported good is called a __________.
A.   supply tax
B.   trade tax C.   quota D.   tariff
20) Which of the following statements about GDP is correct?
A.   GDP is to a nation’s economy as household income is to a household. B.   GDP increases if the total population increases. C.   GDP measures two things at once: the total income of everyone in the economy and the unemployment rate.
D.   Money continuously flows from households to government and then back to households, and GDP measures this flow of money.
           
21) In computing GDP, market prices are used to value final goods and services because __________.
A.   if market prices are out of line with how people value goods, the government sets price ceilings and price floors
B.   Market prices are not used in computing GDP C.   market prices reflect the values of goods and services D.   market prices do not change much over time, so it is easy to make comparisons between years

22) Which of the following statements about GDP is correct?
A.   Nominal GDP values production at market prices, whereas real GDP values production at the cost of the resources used in the production process.
B.   Nominal GDP consistently underestimates the value of production, whereas real GDP consistently overestimates the value of production.
C.   Nominal GDP values production at current prices, whereas real GDP values production at constant prices.
D.   Nominal GDP values production at constant prices, whereas real GDP values production at current prices.
           
23) Which of the following is not correct?
A.   The U.S. debt per-person is large compared with average lifetime income.
B.   In 2005, the U.S. government had a deficit. C.   A potential cost of deficits is that they reduce national saving, thereby reducing growth of the capital stock and output growth.
D.   Deficits give people the opportunity to consume at the expense of their children, but they do not require them to do so.
           
24) The part of the balance of payments account that lists all long-term flows of payments is called the:
A.   balance of trade. B.   financial and capital account.
C.   government financial account.
D.   current account.
25) Edward Prescott and Finn Kydland won the Nobel Prize in Economics in 2004. One of their contributions was to argue that if a central bank could convince people to expect zero inflation, then the Fed would be tempted to raise output by increasing inflation. This possibility is known as __________.
A.   the sacrifice ratio dilemma B.   the monetary policy reaction lag
C.   the time inconsistency of policy
D.   inflation targeting
26) In general, the longest lag for __________.
A.   fiscal policy is the time it takes to change policy, while for monetary policy the longest lag is the time it takes for policy to affect aggregate demand
B.   both fiscal and monetary policy is the time it takes for policy to affect aggregate demand
C.   monetary policy is the time it takes to change policy, while for fiscal policy the longest lag is the time it takes for policy to affect aggregate demand
D.   both fiscal and monetary policy is the time it takes to change policy
27) Consider two items that might be included in GDP: (1) The estimated rental value of owner-occupied housing; and (2) purchases of newly-constructed homes. How are these two items accounted for when GDP is calculated?
A.   Only item (2) is included in GDP and it is included in the investment component.
B.   Item (1) is included in the consumption component, while item (2) is included in the investment component.
C.   Item (1) is included in the investment component, while item (2) is included in the consumption component.
D.   Both item (1) and item (2) are included in the consumption component of GDP.

28) Managers will utilize __________ skills with increasing frequency as they rise within an organization.
A.   Professional B.   Interpersonal and communication
C.   Technical D.   Professional E.   Conceptual and decision
29) Which of these represent skills that managers need?
A.   Interpersonal, quantitative, and professional B.   Technical, interpersonal & communication and conceptual & decision making
C.   Professional, technical and interpersonal & communication D.   Conceptual & decision making, professional and technical E.   Interpersonal & communication, conceptual & decision making and professional
           
30) Building a dynamic organization is another way of describing which function of management?
A.   Staffing B.   Organizing
C.   Leading D.   Controlling
E.   Planning
31) Your roommate is interested in starting a business and everybody has been giving him different information about being an entrepreneur. Since you have been studying about entrepreneurship and new ventures, which of these would you tell him is true?
A.   Anyone can start a business B.   All entrepreneurs need venture capital in order to get started C.   Successful entrepreneurs take very careful, calculated risks D.   Entrepreneurs are their own bosses and completely independent
E.   Money should not be considered a start-up ingredient
32) The term used to refer to all kinds of differences including religious affiliation, age, disability status, economic class and lifestyle in addition to gender, race, ethnicity and nationality is:
A.   Diversity B.   Managerial ethics
C.   Recruiting D.   Employment E.   Selection
33) A manager's ability to stimulate people to be high performers is referred to as:
A.   Planning B.   Supervising
C.   Controlling
D.   Organizing E.   Leading
34) A series of quality standards developed by a committee working under the International Organization for Standardization to improve total quality in all businesses for the benefit of both producers and consumers is:
A.   Total quality management B.   Customer-based integration C.   Computer-integrated manufacturing (CIM)
D.   Just-in-time control (JIT)
E.   ISO 9000
35) Japanese manufacturers' kaizen (continuous improvement) programs enable them to maintain:
A.   A strategic alliance B.   A homogeneous workforce C.   Positive working relationships with all employees
D.   A Learning advantage over their competition E.   Larger, faster facilities
36) Listening to employee suggestions, gaining support for organizational objectives and fostering an atmosphere of teamwork are all considered:
A.   Technical skills B.   Conceptual C.   Professional skills D.   Interpersonal/communication skills
E.   Diagnostic skills
37) The basic components of an effective sexual harassment policy include the following EXCEPT:
A.   To develop an organization wide policy on sexual harassment B.   To establish a means for ongoing training C.   To act immediately when employees complain of sexual harassment
D.   To establish a performance appraisal system E.   To establish a formal complaint procedure
38) Teams that operate separately from the regular work structure and exist temporarily are known as:
A.   Management teams B.   Transnational teams
C.   Self-managed teams
D.   Parallel teams E.   Self-designing teams
           
39) The Aquatic Center, Inc. periodically reviews the goals of the company. During the process, The Aquatic Center managers analyze their current strategies as compared to their competitors, determine goals that they will pursue and decide upon specific actions for each area of the company to take in pursuit of these goals. The Aquatic Center managers have been engaged in the management function of:
A.   Goal Coordination
B.   Controlling C.   Organizing D.   Staffing E.   Planning
40) As related to managing of human resources, diversity refers to:
A.   Differences in demographics (such as age, race, gender, disability status, lifestyle, veteran status, educational level, etc.)
B.   Differences in pay methods (such as hourly, salaried, overtime, hazard-pay, commissioned, etc.)
C.   Differences in employee benefit plans (such as pensions, insurance, vacations, memberships, etc.)
D.   Differences in retention strategies (such as training, hiring, incentives, etc) E.   Differences in recruiting methods (such as newspapers, schools, flyers, magazines, agencies, etc.)
           
41) __________ is the process of working with people and resources to accomplish organizational goals.
A.   Controlling B.   Decision making
C.   Planning D.   Supervising E.   Management
42) Twelve randomly-chosen students were asked how many times they had missed class during a certain semester, with this result: 2, 1, 5, 1, 1, 3, 4, 3, 1, 1, 5, 18.
For this sample, the median is _____.
A.   3 B.   3.5
C.   2.5
D.   2
43) Use the following table to answer question:
 P(S | W) is approximately _____.
A.   .40
B.   .30
C.   .12
D.   .58
           
44) Use the following table to answer question:
 P(M  A) is approximately _____.
A.   .50 B.   .625
C.   .125
D.   .25
45) Dullco Manufacturing claims that its alkaline batteries last forty hours on average in a certain type of portable CD player. Tests on a random sample of 18 batteries showed a mean battery life of 37.8 hours with a standard deviation of 5.4 hours.
In determining the p-value for reporting the study's findings, which of the following is true?
A.   The p-value is equal to .05. B.   The p-value is greater than .05. C.   The p-value cannot be determined without specifying  . D.   The p-value is less than .05.
46) William used a sample of 68 U.S. cities to estimate the relationship between Crime (annual property crimes per 100,000 persons) and Income (median income per capita). His estimated regression equation was Crime = 428 + .050 Income.
Which outcomes would be likely in a bivariate regression on 45 randomly chosen U.S. cities in 2005 with
Y = number of robberies in each city (thousands of robberies) and
X = size of police force in each city (thousands of police)?
A.   High R2 (due to city size). B.   Positive slope (due to city size).
C.   No correlation. D.   Autocorrelation.
47) Twelve randomly-chosen students were asked how many times they had missed class during a certain semester, with this result: 2, 1, 5, 1, 1, 3, 4, 3, 1, 1, 5, 18.
For this sample, which measure of central tendency is least representative of the “typical” student?
A.   Midrange
B.   Mean C.   Mode D.   Median
           
48) Likely reasons for inaccurate control limits would include which of the following?
A.   Process variation was not zero, as expected. B.   The engineering parameter for variance is unknown.
C.   There was insufficient preliminary sampling. D.   The engineers were underpaid for their work.
49) You are faced with a linear programming objective function of:
Max P = $20X + $30Y
and constraints of:
3X + 4Y = 24 (Constraint A)
5X – Y = 18 (Constraint B)
You discover that the shadow price for Constraint A is 7.5 and the shadow price for Constraint B is 0. Which of these statements is TRUE?
A.   The most you would want to pay for an additional unit of A would be $7.50.
B.   You can change quantities of X and Y at no cost for Constraint B. C.   For every additional unit of the objective function you create, the price of A rises by $7.50.
D.   For every additional unit of the objective function you create, you lose 0 units of B.
           
50) A project has three paths. A–B–C has a length of 25 days. A–D–C has a length of 15 days. Finally, A–E–C has a length of 20 days. Which one of the following statements is TRUE?
A.   The expected duration of this project is 25 + 15 + 20 = 60 days.
B.   A–D–C is the critical path. C.   The expected duration of this project is 25 days. D.   A–B–C has the most slack.
51) Which one of the following statements concerning production and staffing plans is best?
A.   A master production schedule is a projected statement of income, costs, and profits.
B.   Aggregation can be performed along three dimensions: product families, labor, and time.
C.   Production plans are based primarily on information from the master production plan.
D.   A staffing plan is the intermediate link between the business plan and the master production schedule.
           
52) While glancing over the sensitivity report, you note that the stitching labor has a shadow price of $10 and a lower limit of 24 hours with an upper limit of 36 hours. If your original right hand value for stitching labor was 30 hours, you know that:
A.   you would lose $80 if one of your workers missed an entire 8 hour shift. B.   the next worker that offers to work an extra 8 hours should receive at least $80.
C.   you would be willing pay up to $60 for someone to work another 6 hours.
D.   you can send someone home 6 hours early and still pay them the $60 they would have earned while on the clock.

53) The costs of delivering products in the _____ channel are much higher than delivering products in the _____ channel.
A.   physical, digital B.   e-commerce, digital
C.   physical, financial D.   digital, e-commerce
E.   digital, physical
54) When customers access a Web site and make purchases, they generate __________.
A.   Tracking cookies B.   Web data C.   Information D.   Clickstream data
E.   Hyperlink data
55) _____ is the integration of economic, social, cultural, and ecological facets of life, enabled by information.
A.   regionalization B.   globalization C.   nationalization D.   business environment
           
56) Various organizations that promote fair and responsible use of information systems often develop __________.
A.   a code of ethics B.   responsibility charters
C.   a strategic plan D.   a mission statement E.   a goals outline
57) What is _____ is not necessarily _____.
A.   Illegal, unethical B.   Unethical, legal C.   Ethical, illegal D.   Unethical, illegal
E.   Ethical, legal
58) _____ provides users with a view of what is happening, where _____ addresses why it is happening.
A.   Multidimensional data analysis, structured query language
B.   Multidimensional data analysis, neural networks C.   Data mining, multidimensional data analysis D.   Data mining, expert system E.   Multidimensional data analysis, data mining
59) Computer support is greatest for which of the following problems?
A.   Semistructured and strategic planning B.   Semistructured and management control
C.   Unstructured and operational control D.   Structured and operational control E.   Structured and management control
60) The management cockpit best exemplifies which type of system?
A.   Decision support system B.   Functional area information system
C.   Expert system D.   Digital dashboard E.   Group decision support system
61) _____ is the efficient and effective execution of specific tasks.
A.   Operational control
B.   Expertise C.   Management control
D.   Strategic planning E.   Wisdom
62) Geocoding is __________.
A.   accessing geographical information B.   integrating maps with spatially oriented databases and other databases
C.   integrating organizational transactions with spatially oriented databases D.   programming spatially oriented databases E.   encrypting spatial information
63) At 8% compounded annually, how long will it take $750 to double?
A.   48 months
B.   6.5 years C.   9 years D.   12 years
64) Which of the following represents an attempt to measure the earnings of the firm’s operations over a given time period?
A.   Cash flow statement
B.   Balance sheet C.   Income statement D.   Quarterly statement
           
65) A machine costs $1,000, has a three-year life, and has an estimated salvage value of $100. It will generate after-tax annual cash flows (ACF) of $600 a year, starting next year. If your required rate of return for the project is 10%, what is the NPV of this investment? (Round your answerwer to the nearest $10.)
A.   $570 B.   $490 C.   $900 D.   -$150
           
66) Disadvantages of using current liabilities as opposed to long-term debt include:
A.   higher cash flow exposure B.   greater risk of illiquidity, and uncertainty of interest costs
C.   decreased risk of liquidity D.   certainty of interest costs E.   uncertainty of future liabilities
67) Petrified Forest Skin Care, Inc. pays an annual perpetual dividend of $1.70 per share. If the stock is currently selling for $21.25 per share, what is the expected rate of return on this stock?
A.   12.5% B.   36.13%
C.   8.0% D.   13.6%
68) Which of the following is most consistent with the hedging principle in working capital management?
A.   Fixed assets should be financed with short-term notes payable. B.   Inventory should be financed with preferred stock. C.   Accounts receivable should be financed with short-term lines of credit.
D.   Borrow on a floating rate basis to finance investments in permanent assets.
           
69) An increase in future value can be caused by an increase in the __________.
A.   original amount invested B.   annual interest rate and number of compounding periods
C.   rate of return D.   dividends paid E.   starting value
70) If the quote for a forward exchange contract is greater than the computed price, the forward contract is:
A.   at equilibrium.
B.   undervalued. C.   a good buy. D.   overvalued.
71) Your company is considering an investment in a project which would require an initial outlay of $300,000 and produce expected cash flows in Years 1 through 5 of $87,385 per year. You have determined that the current after-tax cost of the firm’s capital (required rate of return) for each source of financing is as follows:
Cost of debt     8%
Cost of preferred stock           12%
Cost of common stock            16%
Long-term debt currently makes up 20% of the capital structure, preferred stock 10%, and common stock 70%. What is the net present value of this project?
A.   $1,568
B.   $871 C.   $1,241
D.   $463
72) Suppose you determine that the NPV of a project is $1,525,855. What does that mean?
A.   The project’s IRR would have to be less that the firm’s discount rate. B.   The project would add value to the firm. C.   Under all conditions, the project’s payback would be less than the profitability index.
D.   In all cases, investing in this project would be better than investing in a project that has an NPV of $850,000.
           
73) The common stockholders are most concerned with:
A.   the spread between the return generated on new investments and the investor’s required rate of return.
B.   the size of the firm’s beginning earnings per share. C.   the risk of the investment. D.   the percentage of profits retained.
74) PepsiCo calculates unlevered betas for each peer group in order to:
A.   eliminate different financial risks.
B.   eliminate competitive factors. C.   eliminate judgment factors. D.   eliminate different business risks.
75) Which of the following best represents operating income?
A.   Income from discontinued operations
B.   Earnings before interest and taxes C.   Income from capital gains D.   Income after financing activities
76) In comparison to the buying of final consumers, the purchasing of organizational buyers:
A.   is even less predictable. B.   leans basically toward economy, quality, and dependability.
C.   is always emotional. D.   is strictly economic and not at all emotional. E.   is always based on competitive bids from multiple suppliers.
           
77) The basic objective of the U.S. market-directed economic system is to:
A.   achieve an annual growth rate of at least 10 percent. B.   provide each person with an equal share of the economic output.
C.   make the most efficient use of the country's resources. D.   minimize inflation. E.   satisfy consumer needs as they--the consumers--see them.
78) Comparing GDP for foreign countries can help a marketing manager evaluate potential markets if the manager remembers that:
A.   GDP measures show people's tendency to buy particular products. B.   income tends to be evenly distributed among consumers in most countries. C.   GDP estimates may not be very accurate for very different cultures and economies.
D.   Other countries most likely don’t use the US Dollar as their primary currency.
E.   GDP measures show the degree of competition in a market.
79) A firm's "marketing mix" decision areas would NOT include:
A.   Promotion.
B.   People. C.   Price. D.   Place. E.   Product.
80) __________ is a marketing management aid which refers to how customers think about proposed and/or present brands in a market.
A.   Brand familiarity B.   Positioning
C.   Market scanning D.   Customer relationship management (CRM)
E.   Market segmentation
81) The "four Ps" of a marketing mix are:
A.   Production, Personnel, Price, and Physical Distribution
B.   Promotion, Production, Price, and People C.   Potential customers, Product, Price, and Personal Selling
D.   Product, Price, Promotion, and Profit E.   Product, Place, Promotion, and Price
82) When evaluating macro-marketing:
A.   the evaluation is necessarily subjective. B.   the best approach is to consider the profit generated by individual firms within the overall system.
C.   one must determine how efficiently the society's resources are used. D.   one must consider the society’s role in the marketing system. E.   one must consider each individual firm's role in the marketing system.
83) A cluster analysis of the "toothpaste market" would probably show that:
A.   the broad product-market can be served effectively with one marketing mix.
B.   most consu
          54) When customers access a Web site and make purchases, they generate __________. A. Tracking cookies B. Web data C. Information D. Clickstream data E. Hyperlink data        

BUS/475 Guide 4


1) The cost principle requires that when assets are acquired, they be recorded at __________.
A.   list price B.   selling price C.   exchange price paid D.   appraisal value
2) "Generally accepted" in the phrase generally accepted accounting principles means that the principles __________.
A.   have been approved for use by the managements of business firms
B.   have been approved by the Internal Revenue Service C.   have substantial authoritative support D.   are proven theories of accounting
3) The standards and rules that are recognized as a general guide for financial reporting are called __________.
A.   standards of financial reporting B.   operating guidelines C.   generally accepted accounting principles D.   generally accepted accounting standards
4) Sam's Used Cars uses the specific identification method of costing inventory. During March, Sam purchased three cars for $6,000, $7,500, and $9,750, respectively. During March, two cars are sold for $9,000 each. Sam determines that at March 31, the $9,750 car is still on hand. What is Sam’s gross profit for March?
A.   $8,250
B.   $750 C.   $4,500
D.   $5,250
           
5) Hess, Inc. sells a single product with a contribution margin of $12 per unit and fixed costs of $74,400 and sales for the current year of $100,000. How much is Hess’s break even point?
A.   2,133 units
B.   6,200 units
C.   $25,600 D.   4,600 units
           
6) As Plant Controller, you are trying to determine which costs over which you have the most control on a day to day basis. Your goal is to achieve better profitability. The Plant Operations Manager suggests that overhead is the easiest area to directly reduce costs. Which of the following items would be classified as manufacturing overhead?
A.   The western division’s vice president’s salary
B.   Cost of landscaping the corporate office C.   General corporate liability insurance D.   Factory janitor
7) What is the preparation of reports for each level of responsibility in the company’s organization chart called?
A.   Master budgeting analysis
B.   Exception reporting C.   Responsibility reporting
D.   Static reporting
8) Disney’s variable costs are 30% of sales. The company is contemplating an advertising campaign that will cost $22,000. If sales are expected to increase $40,000, by how much will the company's net income increase?
A.   $6,000 B.   $12,000
C.   $28,000
D.   $18,000
           
9) The cost of an asset and its fair market value are __________.
A.   never the same B.   irrelevant when the asset is used by the business in its operations
C.   the same on the date of acquisition D.   the same when the asset is sold
10) Which one of the following is a product cost?
A.   Indirect labor B.   Sales person’s salaries
C.   Advertising costs D.   Office salaries
11) What exists when budgeted costs exceed actual results?
A.   A budgeting error B.   An unfavorable difference
C.   An excess profit D.   A favorable difference
12) The income statement and balance sheet columns of Pine Company's worksheet reflects the following totals:
                        Income Statement                  Balance Sheet
            Dr.       Cr.                   Dr.       Cr.
Totals              $58,000           $48,000                       $34,000           $44,000
           

Closing entries are necessary for __________.
A.   permanent accounts only B.   both permanent and temporary accounts
C.   permanent or real accounts only D.   temporary accounts only
13) Managerial accounting __________.
A.   is concerned with costing products B.   pertains to the entity as a whole and is highly aggregated
C.   places emphasis on special-purpose information D.   is governed by generally accepted accounting principles
           
14) H55 Company sells two products, beer and wine. Beer has a 10 percent profit margin and wine has a 12 percent profit margin. Beer has a 27 percent contribution margin and wine has a 25 percent contribution margin. If other factors are equal, which product should H55 push to customers?
A.   Beer B.   Selling either results in the same additional income for the company
C.   It should sell an equal quantity of both D.   Wine
15) Lekeisha's income exceeds her expenditures. Lekeisha is a __________.
A.   saver who demands money from the financial system B.   borrower who demands money from the financial system
C.   borrower who supplies money to the financial system D.   saver who supplies money to the financial system
16) Maurice receives $100 as a birthday gift. In deciding how to spend the money, he narrows his options down to four choices: Option A, Option B, Option C, and Option D. Each option costs $100. Finally he decides on Option B. The opportunity cost of this decision is __________.
A.   the value to Maurice of the option he would have chosen had Option B not been available
B.   $100 C.   $300 D.   the value to Maurice of Options A, C and D combined
17) A production possibilities frontier will be a straight line if __________.
A.   the economy is producing efficiently B.   the economy is engaged in trade with at least one other economy C.   increasing the production of one good by x units entails no opportunity cost in terms of the other good
D.   increasing the production of one good by x units entails a constant opportunity cost in terms of the other good
           
18) In economics, the cost of something is __________.
A.   what you give up to get it B.   often impossible to quantify, even in principle C.   the dollar amount of obtaining it D.   always measured in units of time given up to get it
           
19) A tax on an imported good is called a __________.
A.   supply tax
B.   trade tax C.   quota D.   tariff
20) Which of the following statements about GDP is correct?
A.   GDP is to a nation’s economy as household income is to a household. B.   GDP increases if the total population increases. C.   GDP measures two things at once: the total income of everyone in the economy and the unemployment rate.
D.   Money continuously flows from households to government and then back to households, and GDP measures this flow of money.
           
21) In computing GDP, market prices are used to value final goods and services because __________.
A.   if market prices are out of line with how people value goods, the government sets price ceilings and price floors
B.   Market prices are not used in computing GDP C.   market prices reflect the values of goods and services D.   market prices do not change much over time, so it is easy to make comparisons between years

22) Which of the following statements about GDP is correct?
A.   Nominal GDP values production at market prices, whereas real GDP values production at the cost of the resources used in the production process.
B.   Nominal GDP consistently underestimates the value of production, whereas real GDP consistently overestimates the value of production.
C.   Nominal GDP values production at current prices, whereas real GDP values production at constant prices.
D.   Nominal GDP values production at constant prices, whereas real GDP values production at current prices.
           
23) Which of the following is not correct?
A.   The U.S. debt per-person is large compared with average lifetime income.
B.   In 2005, the U.S. government had a deficit. C.   A potential cost of deficits is that they reduce national saving, thereby reducing growth of the capital stock and output growth.
D.   Deficits give people the opportunity to consume at the expense of their children, but they do not require them to do so.
           
24) The part of the balance of payments account that lists all long-term flows of payments is called the:
A.   balance of trade. B.   financial and capital account.
C.   government financial account.
D.   current account.
25) Edward Prescott and Finn Kydland won the Nobel Prize in Economics in 2004. One of their contributions was to argue that if a central bank could convince people to expect zero inflation, then the Fed would be tempted to raise output by increasing inflation. This possibility is known as __________.
A.   the sacrifice ratio dilemma B.   the monetary policy reaction lag
C.   the time inconsistency of policy
D.   inflation targeting
26) In general, the longest lag for __________.
A.   fiscal policy is the time it takes to change policy, while for monetary policy the longest lag is the time it takes for policy to affect aggregate demand
B.   both fiscal and monetary policy is the time it takes for policy to affect aggregate demand
C.   monetary policy is the time it takes to change policy, while for fiscal policy the longest lag is the time it takes for policy to affect aggregate demand
D.   both fiscal and monetary policy is the time it takes to change policy
27) Consider two items that might be included in GDP: (1) The estimated rental value of owner-occupied housing; and (2) purchases of newly-constructed homes. How are these two items accounted for when GDP is calculated?
A.   Only item (2) is included in GDP and it is included in the investment component.
B.   Item (1) is included in the consumption component, while item (2) is included in the investment component.
C.   Item (1) is included in the investment component, while item (2) is included in the consumption component.
D.   Both item (1) and item (2) are included in the consumption component of GDP.

28) Managers will utilize __________ skills with increasing frequency as they rise within an organization.
A.   Professional B.   Interpersonal and communication
C.   Technical D.   Professional E.   Conceptual and decision
29) Which of these represent skills that managers need?
A.   Interpersonal, quantitative, and professional B.   Technical, interpersonal & communication and conceptual & decision making
C.   Professional, technical and interpersonal & communication D.   Conceptual & decision making, professional and technical E.   Interpersonal & communication, conceptual & decision making and professional
           
30) Building a dynamic organization is another way of describing which function of management?
A.   Staffing B.   Organizing
C.   Leading D.   Controlling
E.   Planning
31) Your roommate is interested in starting a business and everybody has been giving him different information about being an entrepreneur. Since you have been studying about entrepreneurship and new ventures, which of these would you tell him is true?
A.   Anyone can start a business B.   All entrepreneurs need venture capital in order to get started C.   Successful entrepreneurs take very careful, calculated risks D.   Entrepreneurs are their own bosses and completely independent
E.   Money should not be considered a start-up ingredient
32) The term used to refer to all kinds of differences including religious affiliation, age, disability status, economic class and lifestyle in addition to gender, race, ethnicity and nationality is:
A.   Diversity B.   Managerial ethics
C.   Recruiting D.   Employment E.   Selection
33) A manager's ability to stimulate people to be high performers is referred to as:
A.   Planning B.   Supervising
C.   Controlling
D.   Organizing E.   Leading
34) A series of quality standards developed by a committee working under the International Organization for Standardization to improve total quality in all businesses for the benefit of both producers and consumers is:
A.   Total quality management B.   Customer-based integration C.   Computer-integrated manufacturing (CIM)
D.   Just-in-time control (JIT)
E.   ISO 9000
35) Japanese manufacturers' kaizen (continuous improvement) programs enable them to maintain:
A.   A strategic alliance B.   A homogeneous workforce C.   Positive working relationships with all employees
D.   A Learning advantage over their competition E.   Larger, faster facilities
36) Listening to employee suggestions, gaining support for organizational objectives and fostering an atmosphere of teamwork are all considered:
A.   Technical skills B.   Conceptual C.   Professional skills D.   Interpersonal/communication skills
E.   Diagnostic skills
37) The basic components of an effective sexual harassment policy include the following EXCEPT:
A.   To develop an organization wide policy on sexual harassment B.   To establish a means for ongoing training C.   To act immediately when employees complain of sexual harassment
D.   To establish a performance appraisal system E.   To establish a formal complaint procedure
38) Teams that operate separately from the regular work structure and exist temporarily are known as:
A.   Management teams B.   Transnational teams
C.   Self-managed teams
D.   Parallel teams E.   Self-designing teams
           
39) The Aquatic Center, Inc. periodically reviews the goals of the company. During the process, The Aquatic Center managers analyze their current strategies as compared to their competitors, determine goals that they will pursue and decide upon specific actions for each area of the company to take in pursuit of these goals. The Aquatic Center managers have been engaged in the management function of:
A.   Goal Coordination
B.   Controlling C.   Organizing D.   Staffing E.   Planning
40) As related to managing of human resources, diversity refers to:
A.   Differences in demographics (such as age, race, gender, disability status, lifestyle, veteran status, educational level, etc.)
B.   Differences in pay methods (such as hourly, salaried, overtime, hazard-pay, commissioned, etc.)
C.   Differences in employee benefit plans (such as pensions, insurance, vacations, memberships, etc.)
D.   Differences in retention strategies (such as training, hiring, incentives, etc) E.   Differences in recruiting methods (such as newspapers, schools, flyers, magazines, agencies, etc.)
           
41) __________ is the process of working with people and resources to accomplish organizational goals.
A.   Controlling B.   Decision making
C.   Planning D.   Supervising E.   Management
42) Twelve randomly-chosen students were asked how many times they had missed class during a certain semester, with this result: 2, 1, 5, 1, 1, 3, 4, 3, 1, 1, 5, 18.
For this sample, the median is _____.
A.   3 B.   3.5
C.   2.5
D.   2
43) Use the following table to answer question:
 P(S | W) is approximately _____.
A.   .40
B.   .30
C.   .12
D.   .58
           
44) Use the following table to answer question:
 P(M  A) is approximately _____.
A.   .50 B.   .625
C.   .125
D.   .25
45) Dullco Manufacturing claims that its alkaline batteries last forty hours on average in a certain type of portable CD player. Tests on a random sample of 18 batteries showed a mean battery life of 37.8 hours with a standard deviation of 5.4 hours.
In determining the p-value for reporting the study's findings, which of the following is true?
A.   The p-value is equal to .05. B.   The p-value is greater than .05. C.   The p-value cannot be determined without specifying  . D.   The p-value is less than .05.
46) William used a sample of 68 U.S. cities to estimate the relationship between Crime (annual property crimes per 100,000 persons) and Income (median income per capita). His estimated regression equation was Crime = 428 + .050 Income.
Which outcomes would be likely in a bivariate regression on 45 randomly chosen U.S. cities in 2005 with
Y = number of robberies in each city (thousands of robberies) and
X = size of police force in each city (thousands of police)?
A.   High R2 (due to city size). B.   Positive slope (due to city size).
C.   No correlation. D.   Autocorrelation.
47) Twelve randomly-chosen students were asked how many times they had missed class during a certain semester, with this result: 2, 1, 5, 1, 1, 3, 4, 3, 1, 1, 5, 18.
For this sample, which measure of central tendency is least representative of the “typical” student?
A.   Midrange
B.   Mean C.   Mode D.   Median
           
48) Likely reasons for inaccurate control limits would include which of the following?
A.   Process variation was not zero, as expected. B.   The engineering parameter for variance is unknown.
C.   There was insufficient preliminary sampling. D.   The engineers were underpaid for their work.
49) You are faced with a linear programming objective function of:
Max P = $20X + $30Y
and constraints of:
3X + 4Y = 24 (Constraint A)
5X – Y = 18 (Constraint B)
You discover that the shadow price for Constraint A is 7.5 and the shadow price for Constraint B is 0. Which of these statements is TRUE?
A.   The most you would want to pay for an additional unit of A would be $7.50.
B.   You can change quantities of X and Y at no cost for Constraint B. C.   For every additional unit of the objective function you create, the price of A rises by $7.50.
D.   For every additional unit of the objective function you create, you lose 0 units of B.
           
50) A project has three paths. A–B–C has a length of 25 days. A–D–C has a length of 15 days. Finally, A–E–C has a length of 20 days. Which one of the following statements is TRUE?
A.   The expected duration of this project is 25 + 15 + 20 = 60 days.
B.   A–D–C is the critical path. C.   The expected duration of this project is 25 days. D.   A–B–C has the most slack.
51) Which one of the following statements concerning production and staffing plans is best?
A.   A master production schedule is a projected statement of income, costs, and profits.
B.   Aggregation can be performed along three dimensions: product families, labor, and time.
C.   Production plans are based primarily on information from the master production plan.
D.   A staffing plan is the intermediate link between the business plan and the master production schedule.
           
52) While glancing over the sensitivity report, you note that the stitching labor has a shadow price of $10 and a lower limit of 24 hours with an upper limit of 36 hours. If your original right hand value for stitching labor was 30 hours, you know that:
A.   you would lose $80 if one of your workers missed an entire 8 hour shift. B.   the next worker that offers to work an extra 8 hours should receive at least $80.
C.   you would be willing pay up to $60 for someone to work another 6 hours.
D.   you can send someone home 6 hours early and still pay them the $60 they would have earned while on the clock.

53) The costs of delivering products in the _____ channel are much higher than delivering products in the _____ channel.
A.   physical, digital B.   e-commerce, digital
C.   physical, financial D.   digital, e-commerce
E.   digital, physical
54) When customers access a Web site and make purchases, they generate __________.
A.   Tracking cookies B.   Web data C.   Information D.   Clickstream data
E.   Hyperlink data
55) _____ is the integration of economic, social, cultural, and ecological facets of life, enabled by information.
A.   regionalization B.   globalization C.   nationalization D.   business environment
           
56) Various organizations that promote fair and responsible use of information systems often develop __________.
A.   a code of ethics B.   responsibility charters
C.   a strategic plan D.   a mission statement E.   a goals outline
57) What is _____ is not necessarily _____.
A.   Illegal, unethical B.   Unethical, legal C.   Ethical, illegal D.   Unethical, illegal
E.   Ethical, legal
58) _____ provides users with a view of what is happening, where _____ addresses why it is happening.
A.   Multidimensional data analysis, structured query language
B.   Multidimensional data analysis, neural networks C.   Data mining, multidimensional data analysis D.   Data mining, expert system E.   Multidimensional data analysis, data mining
59) Computer support is greatest for which of the following problems?
A.   Semistructured and strategic planning B.   Semistructured and management control
C.   Unstructured and operational control D.   Structured and operational control E.   Structured and management control
60) The management cockpit best exemplifies which type of system?
A.   Decision support system B.   Functional area information system
C.   Expert system D.   Digital dashboard E.   Group decision support system
61) _____ is the efficient and effective execution of specific tasks.
A.   Operational control
B.   Expertise C.   Management control
D.   Strategic planning E.   Wisdom
62) Geocoding is __________.
A.   accessing geographical information B.   integrating maps with spatially oriented databases and other databases
C.   integrating organizational transactions with spatially oriented databases D.   programming spatially oriented databases E.   encrypting spatial information
63) At 8% compounded annually, how long will it take $750 to double?
A.   48 months
B.   6.5 years C.   9 years D.   12 years
64) Which of the following represents an attempt to measure the earnings of the firm’s operations over a given time period?
A.   Cash flow statement
B.   Balance sheet C.   Income statement D.   Quarterly statement
           
65) A machine costs $1,000, has a three-year life, and has an estimated salvage value of $100. It will generate after-tax annual cash flows (ACF) of $600 a year, starting next year. If your required rate of return for the project is 10%, what is the NPV of this investment? (Round your answerwer to the nearest $10.)
A.   $570 B.   $490 C.   $900 D.   -$150
           
66) Disadvantages of using current liabilities as opposed to long-term debt include:
A.   higher cash flow exposure B.   greater risk of illiquidity, and uncertainty of interest costs
C.   decreased risk of liquidity D.   certainty of interest costs E.   uncertainty of future liabilities
67) Petrified Forest Skin Care, Inc. pays an annual perpetual dividend of $1.70 per share. If the stock is currently selling for $21.25 per share, what is the expected rate of return on this stock?
A.   12.5% B.   36.13%
C.   8.0% D.   13.6%
68) Which of the following is most consistent with the hedging principle in working capital management?
A.   Fixed assets should be financed with short-term notes payable. B.   Inventory should be financed with preferred stock. C.   Accounts receivable should be financed with short-term lines of credit.
D.   Borrow on a floating rate basis to finance investments in permanent assets.
           
69) An increase in future value can be caused by an increase in the __________.
A.   original amount invested B.   annual interest rate and number of compounding periods
C.   rate of return D.   dividends paid E.   starting value
70) If the quote for a forward exchange contract is greater than the computed price, the forward contract is:
A.   at equilibrium.
B.   undervalued. C.   a good buy. D.   overvalued.
71) Your company is considering an investment in a project which would require an initial outlay of $300,000 and produce expected cash flows in Years 1 through 5 of $87,385 per year. You have determined that the current after-tax cost of the firm’s capital (required rate of return) for each source of financing is as follows:
Cost of debt     8%
Cost of preferred stock           12%
Cost of common stock            16%
Long-term debt currently makes up 20% of the capital structure, preferred stock 10%, and common stock 70%. What is the net present value of this project?
A.   $1,568
B.   $871 C.   $1,241
D.   $463
72) Suppose you determine that the NPV of a project is $1,525,855. What does that mean?
A.   The project’s IRR would have to be less that the firm’s discount rate. B.   The project would add value to the firm. C.   Under all conditions, the project’s payback would be less than the profitability index.
D.   In all cases, investing in this project would be better than investing in a project that has an NPV of $850,000.
           
73) The common stockholders are most concerned with:
A.   the spread between the return generated on new investments and the investor’s required rate of return.
B.   the size of the firm’s beginning earnings per share. C.   the risk of the investment. D.   the percentage of profits retained.
74) PepsiCo calculates unlevered betas for each peer group in order to:
A.   eliminate different financial risks.
B.   eliminate competitive factors. C.   eliminate judgment factors. D.   eliminate different business risks.
75) Which of the following best represents operating income?
A.   Income from discontinued operations
B.   Earnings before interest and taxes C.   Income from capital gains D.   Income after financing activities
76) In comparison to the buying of final consumers, the purchasing of organizational buyers:
A.   is even less predictable. B.   leans basically toward economy, quality, and dependability.
C.   is always emotional. D.   is strictly economic and not at all emotional. E.   is always based on competitive bids from multiple suppliers.
           
77) The basic objective of the U.S. market-directed economic system is to:
A.   achieve an annual growth rate of at least 10 percent. B.   provide each person with an equal share of the economic output.
C.   make the most efficient use of the country's resources. D.   minimize inflation. E.   satisfy consumer needs as they--the consumers--see them.
78) Comparing GDP for foreign countries can help a marketing manager evaluate potential markets if the manager remembers that:
A.   GDP measures show people's tendency to buy particular products. B.   income tends to be evenly distributed among consumers in most countries. C.   GDP estimates may not be very accurate for very different cultures and economies.
D.   Other countries most likely don’t use the US Dollar as their primary currency.
E.   GDP measures show the degree of competition in a market.
79) A firm's "marketing mix" decision areas would NOT include:
A.   Promotion.
B.   People. C.   Price. D.   Place. E.   Product.
80) __________ is a marketing management aid which refers to how customers think about proposed and/or present brands in a market.
A.   Brand familiarity B.   Positioning
C.   Market scanning D.   Customer relationship management (CRM)
E.   Market segmentation
81) The "four Ps" of a marketing mix are:
A.   Production, Personnel, Price, and Physical Distribution
B.   Promotion, Production, Price, and People C.   Potential customers, Product, Price, and Personal Selling
D.   Product, Price, Promotion, and Profit E.   Product, Place, Promotion, and Price
82) When evaluating macro-marketing:
A.   the evaluation is necessarily subjective. B.   the best approach is to consider the profit generated by individual firms within the overall system.
C.   one must determine how efficiently the society's resources are used. D.   one must consider the society’s role in the marketing system. E.   one must consider each individual firm's role in the marketing system.
83) A cluster analysis of the "toothpaste market" would probably show that:
A.   the broad product-market can be served effectively with one marketing mix.
B.   most consu
          55) _____ is the integration of economic, social, cultural, and ecological facets of life, enabled by information. A. regionalization B. globalization C. nationalization D. business environment         

BUS/475 Guide 4


1) The cost principle requires that when assets are acquired, they be recorded at __________.
A.   list price B.   selling price C.   exchange price paid D.   appraisal value
2) "Generally accepted" in the phrase generally accepted accounting principles means that the principles __________.
A.   have been approved for use by the managements of business firms
B.   have been approved by the Internal Revenue Service C.   have substantial authoritative support D.   are proven theories of accounting
3) The standards and rules that are recognized as a general guide for financial reporting are called __________.
A.   standards of financial reporting B.   operating guidelines C.   generally accepted accounting principles D.   generally accepted accounting standards
4) Sam's Used Cars uses the specific identification method of costing inventory. During March, Sam purchased three cars for $6,000, $7,500, and $9,750, respectively. During March, two cars are sold for $9,000 each. Sam determines that at March 31, the $9,750 car is still on hand. What is Sam’s gross profit for March?
A.   $8,250
B.   $750 C.   $4,500
D.   $5,250
           
5) Hess, Inc. sells a single product with a contribution margin of $12 per unit and fixed costs of $74,400 and sales for the current year of $100,000. How much is Hess’s break even point?
A.   2,133 units
B.   6,200 units
C.   $25,600 D.   4,600 units
           
6) As Plant Controller, you are trying to determine which costs over which you have the most control on a day to day basis. Your goal is to achieve better profitability. The Plant Operations Manager suggests that overhead is the easiest area to directly reduce costs. Which of the following items would be classified as manufacturing overhead?
A.   The western division’s vice president’s salary
B.   Cost of landscaping the corporate office C.   General corporate liability insurance D.   Factory janitor
7) What is the preparation of reports for each level of responsibility in the company’s organization chart called?
A.   Master budgeting analysis
B.   Exception reporting C.   Responsibility reporting
D.   Static reporting
8) Disney’s variable costs are 30% of sales. The company is contemplating an advertising campaign that will cost $22,000. If sales are expected to increase $40,000, by how much will the company's net income increase?
A.   $6,000 B.   $12,000
C.   $28,000
D.   $18,000
           
9) The cost of an asset and its fair market value are __________.
A.   never the same B.   irrelevant when the asset is used by the business in its operations
C.   the same on the date of acquisition D.   the same when the asset is sold
10) Which one of the following is a product cost?
A.   Indirect labor B.   Sales person’s salaries
C.   Advertising costs D.   Office salaries
11) What exists when budgeted costs exceed actual results?
A.   A budgeting error B.   An unfavorable difference
C.   An excess profit D.   A favorable difference
12) The income statement and balance sheet columns of Pine Company's worksheet reflects the following totals:
                        Income Statement                  Balance Sheet
            Dr.       Cr.                   Dr.       Cr.
Totals              $58,000           $48,000                       $34,000           $44,000
           

Closing entries are necessary for __________.
A.   permanent accounts only B.   both permanent and temporary accounts
C.   permanent or real accounts only D.   temporary accounts only
13) Managerial accounting __________.
A.   is concerned with costing products B.   pertains to the entity as a whole and is highly aggregated
C.   places emphasis on special-purpose information D.   is governed by generally accepted accounting principles
           
14) H55 Company sells two products, beer and wine. Beer has a 10 percent profit margin and wine has a 12 percent profit margin. Beer has a 27 percent contribution margin and wine has a 25 percent contribution margin. If other factors are equal, which product should H55 push to customers?
A.   Beer B.   Selling either results in the same additional income for the company
C.   It should sell an equal quantity of both D.   Wine
15) Lekeisha's income exceeds her expenditures. Lekeisha is a __________.
A.   saver who demands money from the financial system B.   borrower who demands money from the financial system
C.   borrower who supplies money to the financial system D.   saver who supplies money to the financial system
16) Maurice receives $100 as a birthday gift. In deciding how to spend the money, he narrows his options down to four choices: Option A, Option B, Option C, and Option D. Each option costs $100. Finally he decides on Option B. The opportunity cost of this decision is __________.
A.   the value to Maurice of the option he would have chosen had Option B not been available
B.   $100 C.   $300 D.   the value to Maurice of Options A, C and D combined
17) A production possibilities frontier will be a straight line if __________.
A.   the economy is producing efficiently B.   the economy is engaged in trade with at least one other economy C.   increasing the production of one good by x units entails no opportunity cost in terms of the other good
D.   increasing the production of one good by x units entails a constant opportunity cost in terms of the other good
           
18) In economics, the cost of something is __________.
A.   what you give up to get it B.   often impossible to quantify, even in principle C.   the dollar amount of obtaining it D.   always measured in units of time given up to get it
           
19) A tax on an imported good is called a __________.
A.   supply tax
B.   trade tax C.   quota D.   tariff
20) Which of the following statements about GDP is correct?
A.   GDP is to a nation’s economy as household income is to a household. B.   GDP increases if the total population increases. C.   GDP measures two things at once: the total income of everyone in the economy and the unemployment rate.
D.   Money continuously flows from households to government and then back to households, and GDP measures this flow of money.
           
21) In computing GDP, market prices are used to value final goods and services because __________.
A.   if market prices are out of line with how people value goods, the government sets price ceilings and price floors
B.   Market prices are not used in computing GDP C.   market prices reflect the values of goods and services D.   market prices do not change much over time, so it is easy to make comparisons between years

22) Which of the following statements about GDP is correct?
A.   Nominal GDP values production at market prices, whereas real GDP values production at the cost of the resources used in the production process.
B.   Nominal GDP consistently underestimates the value of production, whereas real GDP consistently overestimates the value of production.
C.   Nominal GDP values production at current prices, whereas real GDP values production at constant prices.
D.   Nominal GDP values production at constant prices, whereas real GDP values production at current prices.
           
23) Which of the following is not correct?
A.   The U.S. debt per-person is large compared with average lifetime income.
B.   In 2005, the U.S. government had a deficit. C.   A potential cost of deficits is that they reduce national saving, thereby reducing growth of the capital stock and output growth.
D.   Deficits give people the opportunity to consume at the expense of their children, but they do not require them to do so.
           
24) The part of the balance of payments account that lists all long-term flows of payments is called the:
A.   balance of trade. B.   financial and capital account.
C.   government financial account.
D.   current account.
25) Edward Prescott and Finn Kydland won the Nobel Prize in Economics in 2004. One of their contributions was to argue that if a central bank could convince people to expect zero inflation, then the Fed would be tempted to raise output by increasing inflation. This possibility is known as __________.
A.   the sacrifice ratio dilemma B.   the monetary policy reaction lag
C.   the time inconsistency of policy
D.   inflation targeting
26) In general, the longest lag for __________.
A.   fiscal policy is the time it takes to change policy, while for monetary policy the longest lag is the time it takes for policy to affect aggregate demand
B.   both fiscal and monetary policy is the time it takes for policy to affect aggregate demand
C.   monetary policy is the time it takes to change policy, while for fiscal policy the longest lag is the time it takes for policy to affect aggregate demand
D.   both fiscal and monetary policy is the time it takes to change policy
27) Consider two items that might be included in GDP: (1) The estimated rental value of owner-occupied housing; and (2) purchases of newly-constructed homes. How are these two items accounted for when GDP is calculated?
A.   Only item (2) is included in GDP and it is included in the investment component.
B.   Item (1) is included in the consumption component, while item (2) is included in the investment component.
C.   Item (1) is included in the investment component, while item (2) is included in the consumption component.
D.   Both item (1) and item (2) are included in the consumption component of GDP.

28) Managers will utilize __________ skills with increasing frequency as they rise within an organization.
A.   Professional B.   Interpersonal and communication
C.   Technical D.   Professional E.   Conceptual and decision
29) Which of these represent skills that managers need?
A.   Interpersonal, quantitative, and professional B.   Technical, interpersonal & communication and conceptual & decision making
C.   Professional, technical and interpersonal & communication D.   Conceptual & decision making, professional and technical E.   Interpersonal & communication, conceptual & decision making and professional
           
30) Building a dynamic organization is another way of describing which function of management?
A.   Staffing B.   Organizing
C.   Leading D.   Controlling
E.   Planning
31) Your roommate is interested in starting a business and everybody has been giving him different information about being an entrepreneur. Since you have been studying about entrepreneurship and new ventures, which of these would you tell him is true?
A.   Anyone can start a business B.   All entrepreneurs need venture capital in order to get started C.   Successful entrepreneurs take very careful, calculated risks D.   Entrepreneurs are their own bosses and completely independent
E.   Money should not be considered a start-up ingredient
32) The term used to refer to all kinds of differences including religious affiliation, age, disability status, economic class and lifestyle in addition to gender, race, ethnicity and nationality is:
A.   Diversity B.   Managerial ethics
C.   Recruiting D.   Employment E.   Selection
33) A manager's ability to stimulate people to be high performers is referred to as:
A.   Planning B.   Supervising
C.   Controlling
D.   Organizing E.   Leading
34) A series of quality standards developed by a committee working under the International Organization for Standardization to improve total quality in all businesses for the benefit of both producers and consumers is:
A.   Total quality management B.   Customer-based integration C.   Computer-integrated manufacturing (CIM)
D.   Just-in-time control (JIT)
E.   ISO 9000
35) Japanese manufacturers' kaizen (continuous improvement) programs enable them to maintain:
A.   A strategic alliance B.   A homogeneous workforce C.   Positive working relationships with all employees
D.   A Learning advantage over their competition E.   Larger, faster facilities
36) Listening to employee suggestions, gaining support for organizational objectives and fostering an atmosphere of teamwork are all considered:
A.   Technical skills B.   Conceptual C.   Professional skills D.   Interpersonal/communication skills
E.   Diagnostic skills
37) The basic components of an effective sexual harassment policy include the following EXCEPT:
A.   To develop an organization wide policy on sexual harassment B.   To establish a means for ongoing training C.   To act immediately when employees complain of sexual harassment
D.   To establish a performance appraisal system E.   To establish a formal complaint procedure
38) Teams that operate separately from the regular work structure and exist temporarily are known as:
A.   Management teams B.   Transnational teams
C.   Self-managed teams
D.   Parallel teams E.   Self-designing teams
           
39) The Aquatic Center, Inc. periodically reviews the goals of the company. During the process, The Aquatic Center managers analyze their current strategies as compared to their competitors, determine goals that they will pursue and decide upon specific actions for each area of the company to take in pursuit of these goals. The Aquatic Center managers have been engaged in the management function of:
A.   Goal Coordination
B.   Controlling C.   Organizing D.   Staffing E.   Planning
40) As related to managing of human resources, diversity refers to:
A.   Differences in demographics (such as age, race, gender, disability status, lifestyle, veteran status, educational level, etc.)
B.   Differences in pay methods (such as hourly, salaried, overtime, hazard-pay, commissioned, etc.)
C.   Differences in employee benefit plans (such as pensions, insurance, vacations, memberships, etc.)
D.   Differences in retention strategies (such as training, hiring, incentives, etc) E.   Differences in recruiting methods (such as newspapers, schools, flyers, magazines, agencies, etc.)
           
41) __________ is the process of working with people and resources to accomplish organizational goals.
A.   Controlling B.   Decision making
C.   Planning D.   Supervising E.   Management
42) Twelve randomly-chosen students were asked how many times they had missed class during a certain semester, with this result: 2, 1, 5, 1, 1, 3, 4, 3, 1, 1, 5, 18.
For this sample, the median is _____.
A.   3 B.   3.5
C.   2.5
D.   2
43) Use the following table to answer question:
 P(S | W) is approximately _____.
A.   .40
B.   .30
C.   .12
D.   .58
           
44) Use the following table to answer question:
 P(M  A) is approximately _____.
A.   .50 B.   .625
C.   .125
D.   .25
45) Dullco Manufacturing claims that its alkaline batteries last forty hours on average in a certain type of portable CD player. Tests on a random sample of 18 batteries showed a mean battery life of 37.8 hours with a standard deviation of 5.4 hours.
In determining the p-value for reporting the study's findings, which of the following is true?
A.   The p-value is equal to .05. B.   The p-value is greater than .05. C.   The p-value cannot be determined without specifying  . D.   The p-value is less than .05.
46) William used a sample of 68 U.S. cities to estimate the relationship between Crime (annual property crimes per 100,000 persons) and Income (median income per capita). His estimated regression equation was Crime = 428 + .050 Income.
Which outcomes would be likely in a bivariate regression on 45 randomly chosen U.S. cities in 2005 with
Y = number of robberies in each city (thousands of robberies) and
X = size of police force in each city (thousands of police)?
A.   High R2 (due to city size). B.   Positive slope (due to city size).
C.   No correlation. D.   Autocorrelation.
47) Twelve randomly-chosen students were asked how many times they had missed class during a certain semester, with this result: 2, 1, 5, 1, 1, 3, 4, 3, 1, 1, 5, 18.
For this sample, which measure of central tendency is least representative of the “typical” student?
A.   Midrange
B.   Mean C.   Mode D.   Median
           
48) Likely reasons for inaccurate control limits would include which of the following?
A.   Process variation was not zero, as expected. B.   The engineering parameter for variance is unknown.
C.   There was insufficient preliminary sampling. D.   The engineers were underpaid for their work.
49) You are faced with a linear programming objective function of:
Max P = $20X + $30Y
and constraints of:
3X + 4Y = 24 (Constraint A)
5X – Y = 18 (Constraint B)
You discover that the shadow price for Constraint A is 7.5 and the shadow price for Constraint B is 0. Which of these statements is TRUE?
A.   The most you would want to pay for an additional unit of A would be $7.50.
B.   You can change quantities of X and Y at no cost for Constraint B. C.   For every additional unit of the objective function you create, the price of A rises by $7.50.
D.   For every additional unit of the objective function you create, you lose 0 units of B.
           
50) A project has three paths. A–B–C has a length of 25 days. A–D–C has a length of 15 days. Finally, A–E–C has a length of 20 days. Which one of the following statements is TRUE?
A.   The expected duration of this project is 25 + 15 + 20 = 60 days.
B.   A–D–C is the critical path. C.   The expected duration of this project is 25 days. D.   A–B–C has the most slack.
51) Which one of the following statements concerning production and staffing plans is best?
A.   A master production schedule is a projected statement of income, costs, and profits.
B.   Aggregation can be performed along three dimensions: product families, labor, and time.
C.   Production plans are based primarily on information from the master production plan.
D.   A staffing plan is the intermediate link between the business plan and the master production schedule.
           
52) While glancing over the sensitivity report, you note that the stitching labor has a shadow price of $10 and a lower limit of 24 hours with an upper limit of 36 hours. If your original right hand value for stitching labor was 30 hours, you know that:
A.   you would lose $80 if one of your workers missed an entire 8 hour shift. B.   the next worker that offers to work an extra 8 hours should receive at least $80.
C.   you would be willing pay up to $60 for someone to work another 6 hours.
D.   you can send someone home 6 hours early and still pay them the $60 they would have earned while on the clock.

53) The costs of delivering products in the _____ channel are much higher than delivering products in the _____ channel.
A.   physical, digital B.   e-commerce, digital
C.   physical, financial D.   digital, e-commerce
E.   digital, physical
54) When customers access a Web site and make purchases, they generate __________.
A.   Tracking cookies B.   Web data C.   Information D.   Clickstream data
E.   Hyperlink data
55) _____ is the integration of economic, social, cultural, and ecological facets of life, enabled by information.
A.   regionalization B.   globalization C.   nationalization D.   business environment
           
56) Various organizations that promote fair and responsible use of information systems often develop __________.
A.   a code of ethics B.   responsibility charters
C.   a strategic plan D.   a mission statement E.   a goals outline
57) What is _____ is not necessarily _____.
A.   Illegal, unethical B.   Unethical, legal C.   Ethical, illegal D.   Unethical, illegal
E.   Ethical, legal
58) _____ provides users with a view of what is happening, where _____ addresses why it is happening.
A.   Multidimensional data analysis, structured query language
B.   Multidimensional data analysis, neural networks C.   Data mining, multidimensional data analysis D.   Data mining, expert system E.   Multidimensional data analysis, data mining
59) Computer support is greatest for which of the following problems?
A.   Semistructured and strategic planning B.   Semistructured and management control
C.   Unstructured and operational control D.   Structured and operational control E.   Structured and management control
60) The management cockpit best exemplifies which type of system?
A.   Decision support system B.   Functional area information system
C.   Expert system D.   Digital dashboard E.   Group decision support system
61) _____ is the efficient and effective execution of specific tasks.
A.   Operational control
B.   Expertise C.   Management control
D.   Strategic planning E.   Wisdom
62) Geocoding is __________.
A.   accessing geographical information B.   integrating maps with spatially oriented databases and other databases
C.   integrating organizational transactions with spatially oriented databases D.   programming spatially oriented databases E.   encrypting spatial information
63) At 8% compounded annually, how long will it take $750 to double?
A.   48 months
B.   6.5 years C.   9 years D.   12 years
64) Which of the following represents an attempt to measure the earnings of the firm’s operations over a given time period?
A.   Cash flow statement
B.   Balance sheet C.   Income statement D.   Quarterly statement
           
65) A machine costs $1,000, has a three-year life, and has an estimated salvage value of $100. It will generate after-tax annual cash flows (ACF) of $600 a year, starting next year. If your required rate of return for the project is 10%, what is the NPV of this investment? (Round your answerwer to the nearest $10.)
A.   $570 B.   $490 C.   $900 D.   -$150
           
66) Disadvantages of using current liabilities as opposed to long-term debt include:
A.   higher cash flow exposure B.   greater risk of illiquidity, and uncertainty of interest costs
C.   decreased risk of liquidity D.   certainty of interest costs E.   uncertainty of future liabilities
67) Petrified Forest Skin Care, Inc. pays an annual perpetual dividend of $1.70 per share. If the stock is currently selling for $21.25 per share, what is the expected rate of return on this stock?
A.   12.5% B.   36.13%
C.   8.0% D.   13.6%
68) Which of the following is most consistent with the hedging principle in working capital management?
A.   Fixed assets should be financed with short-term notes payable. B.   Inventory should be financed with preferred stock. C.   Accounts receivable should be financed with short-term lines of credit.
D.   Borrow on a floating rate basis to finance investments in permanent assets.
           
69) An increase in future value can be caused by an increase in the __________.
A.   original amount invested B.   annual interest rate and number of compounding periods
C.   rate of return D.   dividends paid E.   starting value
70) If the quote for a forward exchange contract is greater than the computed price, the forward contract is:
A.   at equilibrium.
B.   undervalued. C.   a good buy. D.   overvalued.
71) Your company is considering an investment in a project which would require an initial outlay of $300,000 and produce expected cash flows in Years 1 through 5 of $87,385 per year. You have determined that the current after-tax cost of the firm’s capital (required rate of return) for each source of financing is as follows:
Cost of debt     8%
Cost of preferred stock           12%
Cost of common stock            16%
Long-term debt currently makes up 20% of the capital structure, preferred stock 10%, and common stock 70%. What is the net present value of this project?
A.   $1,568
B.   $871 C.   $1,241
D.   $463
72) Suppose you determine that the NPV of a project is $1,525,855. What does that mean?
A.   The project’s IRR would have to be less that the firm’s discount rate. B.   The project would add value to the firm. C.   Under all conditions, the project’s payback would be less than the profitability index.
D.   In all cases, investing in this project would be better than investing in a project that has an NPV of $850,000.
           
73) The common stockholders are most concerned with:
A.   the spread between the return generated on new investments and the investor’s required rate of return.
B.   the size of the firm’s beginning earnings per share. C.   the risk of the investment. D.   the percentage of profits retained.
74) PepsiCo calculates unlevered betas for each peer group in order to:
A.   eliminate different financial risks.
B.   eliminate competitive factors. C.   eliminate judgment factors. D.   eliminate different business risks.
75) Which of the following best represents operating income?
A.   Income from discontinued operations
B.   Earnings before interest and taxes C.   Income from capital gains D.   Income after financing activities
76) In comparison to the buying of final consumers, the purchasing of organizational buyers:
A.   is even less predictable. B.   leans basically toward economy, quality, and dependability.
C.   is always emotional. D.   is strictly economic and not at all emotional. E.   is always based on competitive bids from multiple suppliers.
           
77) The basic objective of the U.S. market-directed economic system is to:
A.   achieve an annual growth rate of at least 10 percent. B.   provide each person with an equal share of the economic output.
C.   make the most efficient use of the country's resources. D.   minimize inflation. E.   satisfy consumer needs as they--the consumers--see them.
78) Comparing GDP for foreign countries can help a marketing manager evaluate potential markets if the manager remembers that:
A.   GDP measures show people's tendency to buy particular products. B.   income tends to be evenly distributed among consumers in most countries. C.   GDP estimates may not be very accurate for very different cultures and economies.
D.   Other countries most likely don’t use the US Dollar as their primary currency.
E.   GDP measures show the degree of competition in a market.
79) A firm's "marketing mix" decision areas would NOT include:
A.   Promotion.
B.   People. C.   Price. D.   Place. E.   Product.
80) __________ is a marketing management aid which refers to how customers think about proposed and/or present brands in a market.
A.   Brand familiarity B.   Positioning
C.   Market scanning D.   Customer relationship management (CRM)
E.   Market segmentation
81) The "four Ps" of a marketing mix are:
A.   Production, Personnel, Price, and Physical Distribution
B.   Promotion, Production, Price, and People C.   Potential customers, Product, Price, and Personal Selling
D.   Product, Price, Promotion, and Profit E.   Product, Place, Promotion, and Price
82) When evaluating macro-marketing:
A.   the evaluation is necessarily subjective. B.   the best approach is to consider the profit generated by individual firms within the overall system.
C.   one must determine how efficiently the society's resources are used. D.   one must consider the society’s role in the marketing system. E.   one must consider each individual firm's role in the marketing system.
83) A cluster analysis of the "toothpaste market" would probably show that:
A.   the broad product-market can be served effectively with one marketing mix.
B.   most consu
          56) Various organizations that promote fair and responsible use of information systems often develop __________. A. a code of ethics B. responsibility charters C. a strategic plan D. a mission statement E. a goals outline        

BUS/475 Guide 4


1) The cost principle requires that when assets are acquired, they be recorded at __________.
A.   list price B.   selling price C.   exchange price paid D.   appraisal value
2) "Generally accepted" in the phrase generally accepted accounting principles means that the principles __________.
A.   have been approved for use by the managements of business firms
B.   have been approved by the Internal Revenue Service C.   have substantial authoritative support D.   are proven theories of accounting
3) The standards and rules that are recognized as a general guide for financial reporting are called __________.
A.   standards of financial reporting B.   operating guidelines C.   generally accepted accounting principles D.   generally accepted accounting standards
4) Sam's Used Cars uses the specific identification method of costing inventory. During March, Sam purchased three cars for $6,000, $7,500, and $9,750, respectively. During March, two cars are sold for $9,000 each. Sam determines that at March 31, the $9,750 car is still on hand. What is Sam’s gross profit for March?
A.   $8,250
B.   $750 C.   $4,500
D.   $5,250
           
5) Hess, Inc. sells a single product with a contribution margin of $12 per unit and fixed costs of $74,400 and sales for the current year of $100,000. How much is Hess’s break even point?
A.   2,133 units
B.   6,200 units
C.   $25,600 D.   4,600 units
           
6) As Plant Controller, you are trying to determine which costs over which you have the most control on a day to day basis. Your goal is to achieve better profitability. The Plant Operations Manager suggests that overhead is the easiest area to directly reduce costs. Which of the following items would be classified as manufacturing overhead?
A.   The western division’s vice president’s salary
B.   Cost of landscaping the corporate office C.   General corporate liability insurance D.   Factory janitor
7) What is the preparation of reports for each level of responsibility in the company’s organization chart called?
A.   Master budgeting analysis
B.   Exception reporting C.   Responsibility reporting
D.   Static reporting
8) Disney’s variable costs are 30% of sales. The company is contemplating an advertising campaign that will cost $22,000. If sales are expected to increase $40,000, by how much will the company's net income increase?
A.   $6,000 B.   $12,000
C.   $28,000
D.   $18,000
           
9) The cost of an asset and its fair market value are __________.
A.   never the same B.   irrelevant when the asset is used by the business in its operations
C.   the same on the date of acquisition D.   the same when the asset is sold
10) Which one of the following is a product cost?
A.   Indirect labor B.   Sales person’s salaries
C.   Advertising costs D.   Office salaries
11) What exists when budgeted costs exceed actual results?
A.   A budgeting error B.   An unfavorable difference
C.   An excess profit D.   A favorable difference
12) The income statement and balance sheet columns of Pine Company's worksheet reflects the following totals:
                        Income Statement                  Balance Sheet
            Dr.       Cr.                   Dr.       Cr.
Totals              $58,000           $48,000                       $34,000           $44,000
           

Closing entries are necessary for __________.
A.   permanent accounts only B.   both permanent and temporary accounts
C.   permanent or real accounts only D.   temporary accounts only
13) Managerial accounting __________.
A.   is concerned with costing products B.   pertains to the entity as a whole and is highly aggregated
C.   places emphasis on special-purpose information D.   is governed by generally accepted accounting principles
           
14) H55 Company sells two products, beer and wine. Beer has a 10 percent profit margin and wine has a 12 percent profit margin. Beer has a 27 percent contribution margin and wine has a 25 percent contribution margin. If other factors are equal, which product should H55 push to customers?
A.   Beer B.   Selling either results in the same additional income for the company
C.   It should sell an equal quantity of both D.   Wine
15) Lekeisha's income exceeds her expenditures. Lekeisha is a __________.
A.   saver who demands money from the financial system B.   borrower who demands money from the financial system
C.   borrower who supplies money to the financial system D.   saver who supplies money to the financial system
16) Maurice receives $100 as a birthday gift. In deciding how to spend the money, he narrows his options down to four choices: Option A, Option B, Option C, and Option D. Each option costs $100. Finally he decides on Option B. The opportunity cost of this decision is __________.
A.   the value to Maurice of the option he would have chosen had Option B not been available
B.   $100 C.   $300 D.   the value to Maurice of Options A, C and D combined
17) A production possibilities frontier will be a straight line if __________.
A.   the economy is producing efficiently B.   the economy is engaged in trade with at least one other economy C.   increasing the production of one good by x units entails no opportunity cost in terms of the other good
D.   increasing the production of one good by x units entails a constant opportunity cost in terms of the other good
           
18) In economics, the cost of something is __________.
A.   what you give up to get it B.   often impossible to quantify, even in principle C.   the dollar amount of obtaining it D.   always measured in units of time given up to get it
           
19) A tax on an imported good is called a __________.
A.   supply tax
B.   trade tax C.   quota D.   tariff
20) Which of the following statements about GDP is correct?
A.   GDP is to a nation’s economy as household income is to a household. B.   GDP increases if the total population increases. C.   GDP measures two things at once: the total income of everyone in the economy and the unemployment rate.
D.   Money continuously flows from households to government and then back to households, and GDP measures this flow of money.
           
21) In computing GDP, market prices are used to value final goods and services because __________.
A.   if market prices are out of line with how people value goods, the government sets price ceilings and price floors
B.   Market prices are not used in computing GDP C.   market prices reflect the values of goods and services D.   market prices do not change much over time, so it is easy to make comparisons between years

22) Which of the following statements about GDP is correct?
A.   Nominal GDP values production at market prices, whereas real GDP values production at the cost of the resources used in the production process.
B.   Nominal GDP consistently underestimates the value of production, whereas real GDP consistently overestimates the value of production.
C.   Nominal GDP values production at current prices, whereas real GDP values production at constant prices.
D.   Nominal GDP values production at constant prices, whereas real GDP values production at current prices.
           
23) Which of the following is not correct?
A.   The U.S. debt per-person is large compared with average lifetime income.
B.   In 2005, the U.S. government had a deficit. C.   A potential cost of deficits is that they reduce national saving, thereby reducing growth of the capital stock and output growth.
D.   Deficits give people the opportunity to consume at the expense of their children, but they do not require them to do so.
           
24) The part of the balance of payments account that lists all long-term flows of payments is called the:
A.   balance of trade. B.   financial and capital account.
C.   government financial account.
D.   current account.
25) Edward Prescott and Finn Kydland won the Nobel Prize in Economics in 2004. One of their contributions was to argue that if a central bank could convince people to expect zero inflation, then the Fed would be tempted to raise output by increasing inflation. This possibility is known as __________.
A.   the sacrifice ratio dilemma B.   the monetary policy reaction lag
C.   the time inconsistency of policy
D.   inflation targeting
26) In general, the longest lag for __________.
A.   fiscal policy is the time it takes to change policy, while for monetary policy the longest lag is the time it takes for policy to affect aggregate demand
B.   both fiscal and monetary policy is the time it takes for policy to affect aggregate demand
C.   monetary policy is the time it takes to change policy, while for fiscal policy the longest lag is the time it takes for policy to affect aggregate demand
D.   both fiscal and monetary policy is the time it takes to change policy
27) Consider two items that might be included in GDP: (1) The estimated rental value of owner-occupied housing; and (2) purchases of newly-constructed homes. How are these two items accounted for when GDP is calculated?
A.   Only item (2) is included in GDP and it is included in the investment component.
B.   Item (1) is included in the consumption component, while item (2) is included in the investment component.
C.   Item (1) is included in the investment component, while item (2) is included in the consumption component.
D.   Both item (1) and item (2) are included in the consumption component of GDP.

28) Managers will utilize __________ skills with increasing frequency as they rise within an organization.
A.   Professional B.   Interpersonal and communication
C.   Technical D.   Professional E.   Conceptual and decision
29) Which of these represent skills that managers need?
A.   Interpersonal, quantitative, and professional B.   Technical, interpersonal & communication and conceptual & decision making
C.   Professional, technical and interpersonal & communication D.   Conceptual & decision making, professional and technical E.   Interpersonal & communication, conceptual & decision making and professional
           
30) Building a dynamic organization is another way of describing which function of management?
A.   Staffing B.   Organizing
C.   Leading D.   Controlling
E.   Planning
31) Your roommate is interested in starting a business and everybody has been giving him different information about being an entrepreneur. Since you have been studying about entrepreneurship and new ventures, which of these would you tell him is true?
A.   Anyone can start a business B.   All entrepreneurs need venture capital in order to get started C.   Successful entrepreneurs take very careful, calculated risks D.   Entrepreneurs are their own bosses and completely independent
E.   Money should not be considered a start-up ingredient
32) The term used to refer to all kinds of differences including religious affiliation, age, disability status, economic class and lifestyle in addition to gender, race, ethnicity and nationality is:
A.   Diversity B.   Managerial ethics
C.   Recruiting D.   Employment E.   Selection
33) A manager's ability to stimulate people to be high performers is referred to as:
A.   Planning B.   Supervising
C.   Controlling
D.   Organizing E.   Leading
34) A series of quality standards developed by a committee working under the International Organization for Standardization to improve total quality in all businesses for the benefit of both producers and consumers is:
A.   Total quality management B.   Customer-based integration C.   Computer-integrated manufacturing (CIM)
D.   Just-in-time control (JIT)
E.   ISO 9000
35) Japanese manufacturers' kaizen (continuous improvement) programs enable them to maintain:
A.   A strategic alliance B.   A homogeneous workforce C.   Positive working relationships with all employees
D.   A Learning advantage over their competition E.   Larger, faster facilities
36) Listening to employee suggestions, gaining support for organizational objectives and fostering an atmosphere of teamwork are all considered:
A.   Technical skills B.   Conceptual C.   Professional skills D.   Interpersonal/communication skills
E.   Diagnostic skills
37) The basic components of an effective sexual harassment policy include the following EXCEPT:
A.   To develop an organization wide policy on sexual harassment B.   To establish a means for ongoing training C.   To act immediately when employees complain of sexual harassment
D.   To establish a performance appraisal system E.   To establish a formal complaint procedure
38) Teams that operate separately from the regular work structure and exist temporarily are known as:
A.   Management teams B.   Transnational teams
C.   Self-managed teams
D.   Parallel teams E.   Self-designing teams
           
39) The Aquatic Center, Inc. periodically reviews the goals of the company. During the process, The Aquatic Center managers analyze their current strategies as compared to their competitors, determine goals that they will pursue and decide upon specific actions for each area of the company to take in pursuit of these goals. The Aquatic Center managers have been engaged in the management function of:
A.   Goal Coordination
B.   Controlling C.   Organizing D.   Staffing E.   Planning
40) As related to managing of human resources, diversity refers to:
A.   Differences in demographics (such as age, race, gender, disability status, lifestyle, veteran status, educational level, etc.)
B.   Differences in pay methods (such as hourly, salaried, overtime, hazard-pay, commissioned, etc.)
C.   Differences in employee benefit plans (such as pensions, insurance, vacations, memberships, etc.)
D.   Differences in retention strategies (such as training, hiring, incentives, etc) E.   Differences in recruiting methods (such as newspapers, schools, flyers, magazines, agencies, etc.)
           
41) __________ is the process of working with people and resources to accomplish organizational goals.
A.   Controlling B.   Decision making
C.   Planning D.   Supervising E.   Management
42) Twelve randomly-chosen students were asked how many times they had missed class during a certain semester, with this result: 2, 1, 5, 1, 1, 3, 4, 3, 1, 1, 5, 18.
For this sample, the median is _____.
A.   3 B.   3.5
C.   2.5
D.   2
43) Use the following table to answer question:
 P(S | W) is approximately _____.
A.   .40
B.   .30
C.   .12
D.   .58
           
44) Use the following table to answer question:
 P(M  A) is approximately _____.
A.   .50 B.   .625
C.   .125
D.   .25
45) Dullco Manufacturing claims that its alkaline batteries last forty hours on average in a certain type of portable CD player. Tests on a random sample of 18 batteries showed a mean battery life of 37.8 hours with a standard deviation of 5.4 hours.
In determining the p-value for reporting the study's findings, which of the following is true?
A.   The p-value is equal to .05. B.   The p-value is greater than .05. C.   The p-value cannot be determined without specifying  . D.   The p-value is less than .05.
46) William used a sample of 68 U.S. cities to estimate the relationship between Crime (annual property crimes per 100,000 persons) and Income (median income per capita). His estimated regression equation was Crime = 428 + .050 Income.
Which outcomes would be likely in a bivariate regression on 45 randomly chosen U.S. cities in 2005 with
Y = number of robberies in each city (thousands of robberies) and
X = size of police force in each city (thousands of police)?
A.   High R2 (due to city size). B.   Positive slope (due to city size).
C.   No correlation. D.   Autocorrelation.
47) Twelve randomly-chosen students were asked how many times they had missed class during a certain semester, with this result: 2, 1, 5, 1, 1, 3, 4, 3, 1, 1, 5, 18.
For this sample, which measure of central tendency is least representative of the “typical” student?
A.   Midrange
B.   Mean C.   Mode D.   Median
           
48) Likely reasons for inaccurate control limits would include which of the following?
A.   Process variation was not zero, as expected. B.   The engineering parameter for variance is unknown.
C.   There was insufficient preliminary sampling. D.   The engineers were underpaid for their work.
49) You are faced with a linear programming objective function of:
Max P = $20X + $30Y
and constraints of:
3X + 4Y = 24 (Constraint A)
5X – Y = 18 (Constraint B)
You discover that the shadow price for Constraint A is 7.5 and the shadow price for Constraint B is 0. Which of these statements is TRUE?
A.   The most you would want to pay for an additional unit of A would be $7.50.
B.   You can change quantities of X and Y at no cost for Constraint B. C.   For every additional unit of the objective function you create, the price of A rises by $7.50.
D.   For every additional unit of the objective function you create, you lose 0 units of B.
           
50) A project has three paths. A–B–C has a length of 25 days. A–D–C has a length of 15 days. Finally, A–E–C has a length of 20 days. Which one of the following statements is TRUE?
A.   The expected duration of this project is 25 + 15 + 20 = 60 days.
B.   A–D–C is the critical path. C.   The expected duration of this project is 25 days. D.   A–B–C has the most slack.
51) Which one of the following statements concerning production and staffing plans is best?
A.   A master production schedule is a projected statement of income, costs, and profits.
B.   Aggregation can be performed along three dimensions: product families, labor, and time.
C.   Production plans are based primarily on information from the master production plan.
D.   A staffing plan is the intermediate link between the business plan and the master production schedule.
           
52) While glancing over the sensitivity report, you note that the stitching labor has a shadow price of $10 and a lower limit of 24 hours with an upper limit of 36 hours. If your original right hand value for stitching labor was 30 hours, you know that:
A.   you would lose $80 if one of your workers missed an entire 8 hour shift. B.   the next worker that offers to work an extra 8 hours should receive at least $80.
C.   you would be willing pay up to $60 for someone to work another 6 hours.
D.   you can send someone home 6 hours early and still pay them the $60 they would have earned while on the clock.

53) The costs of delivering products in the _____ channel are much higher than delivering products in the _____ channel.
A.   physical, digital B.   e-commerce, digital
C.   physical, financial D.   digital, e-commerce
E.   digital, physical
54) When customers access a Web site and make purchases, they generate __________.
A.   Tracking cookies B.   Web data C.   Information D.   Clickstream data
E.   Hyperlink data
55) _____ is the integration of economic, social, cultural, and ecological facets of life, enabled by information.
A.   regionalization B.   globalization C.   nationalization D.   business environment
           
56) Various organizations that promote fair and responsible use of information systems often develop __________.
A.   a code of ethics B.   responsibility charters
C.   a strategic plan D.   a mission statement E.   a goals outline
57) What is _____ is not necessarily _____.
A.   Illegal, unethical B.   Unethical, legal C.   Ethical, illegal D.   Unethical, illegal
E.   Ethical, legal
58) _____ provides users with a view of what is happening, where _____ addresses why it is happening.
A.   Multidimensional data analysis, structured query language
B.   Multidimensional data analysis, neural networks C.   Data mining, multidimensional data analysis D.   Data mining, expert system E.   Multidimensional data analysis, data mining
59) Computer support is greatest for which of the following problems?
A.   Semistructured and strategic planning B.   Semistructured and management control
C.   Unstructured and operational control D.   Structured and operational control E.   Structured and management control
60) The management cockpit best exemplifies which type of system?
A.   Decision support system B.   Functional area information system
C.   Expert system D.   Digital dashboard E.   Group decision support system
61) _____ is the efficient and effective execution of specific tasks.
A.   Operational control
B.   Expertise C.   Management control
D.   Strategic planning E.   Wisdom
62) Geocoding is __________.
A.   accessing geographical information B.   integrating maps with spatially oriented databases and other databases
C.   integrating organizational transactions with spatially oriented databases D.   programming spatially oriented databases E.   encrypting spatial information
63) At 8% compounded annually, how long will it take $750 to double?
A.   48 months
B.   6.5 years C.   9 years D.   12 years
64) Which of the following represents an attempt to measure the earnings of the firm’s operations over a given time period?
A.   Cash flow statement
B.   Balance sheet C.   Income statement D.   Quarterly statement
           
65) A machine costs $1,000, has a three-year life, and has an estimated salvage value of $100. It will generate after-tax annual cash flows (ACF) of $600 a year, starting next year. If your required rate of return for the project is 10%, what is the NPV of this investment? (Round your answerwer to the nearest $10.)
A.   $570 B.   $490 C.   $900 D.   -$150
           
66) Disadvantages of using current liabilities as opposed to long-term debt include:
A.   higher cash flow exposure B.   greater risk of illiquidity, and uncertainty of interest costs
C.   decreased risk of liquidity D.   certainty of interest costs E.   uncertainty of future liabilities
67) Petrified Forest Skin Care, Inc. pays an annual perpetual dividend of $1.70 per share. If the stock is currently selling for $21.25 per share, what is the expected rate of return on this stock?
A.   12.5% B.   36.13%
C.   8.0% D.   13.6%
68) Which of the following is most consistent with the hedging principle in working capital management?
A.   Fixed assets should be financed with short-term notes payable. B.   Inventory should be financed with preferred stock. C.   Accounts receivable should be financed with short-term lines of credit.
D.   Borrow on a floating rate basis to finance investments in permanent assets.
           
69) An increase in future value can be caused by an increase in the __________.
A.   original amount invested B.   annual interest rate and number of compounding periods
C.   rate of return D.   dividends paid E.   starting value
70) If the quote for a forward exchange contract is greater than the computed price, the forward contract is:
A.   at equilibrium.
B.   undervalued. C.   a good buy. D.   overvalued.
71) Your company is considering an investment in a project which would require an initial outlay of $300,000 and produce expected cash flows in Years 1 through 5 of $87,385 per year. You have determined that the current after-tax cost of the firm’s capital (required rate of return) for each source of financing is as follows:
Cost of debt     8%
Cost of preferred stock           12%
Cost of common stock            16%
Long-term debt currently makes up 20% of the capital structure, preferred stock 10%, and common stock 70%. What is the net present value of this project?
A.   $1,568
B.   $871 C.   $1,241
D.   $463
72) Suppose you determine that the NPV of a project is $1,525,855. What does that mean?
A.   The project’s IRR would have to be less that the firm’s discount rate. B.   The project would add value to the firm. C.   Under all conditions, the project’s payback would be less than the profitability index.
D.   In all cases, investing in this project would be better than investing in a project that has an NPV of $850,000.
           
73) The common stockholders are most concerned with:
A.   the spread between the return generated on new investments and the investor’s required rate of return.
B.   the size of the firm’s beginning earnings per share. C.   the risk of the investment. D.   the percentage of profits retained.
74) PepsiCo calculates unlevered betas for each peer group in order to:
A.   eliminate different financial risks.
B.   eliminate competitive factors. C.   eliminate judgment factors. D.   eliminate different business risks.
75) Which of the following best represents operating income?
A.   Income from discontinued operations
B.   Earnings before interest and taxes C.   Income from capital gains D.   Income after financing activities
76) In comparison to the buying of final consumers, the purchasing of organizational buyers:
A.   is even less predictable. B.   leans basically toward economy, quality, and dependability.
C.   is always emotional. D.   is strictly economic and not at all emotional. E.   is always based on competitive bids from multiple suppliers.
           
77) The basic objective of the U.S. market-directed economic system is to:
A.   achieve an annual growth rate of at least 10 percent. B.   provide each person with an equal share of the economic output.
C.   make the most efficient use of the country's resources. D.   minimize inflation. E.   satisfy consumer needs as they--the consumers--see them.
78) Comparing GDP for foreign countries can help a marketing manager evaluate potential markets if the manager remembers that:
A.   GDP measures show people's tendency to buy particular products. B.   income tends to be evenly distributed among consumers in most countries. C.   GDP estimates may not be very accurate for very different cultures and economies.
D.   Other countries most likely don’t use the US Dollar as their primary currency.
E.   GDP measures show the degree of competition in a market.
79) A firm's "marketing mix" decision areas would NOT include:
A.   Promotion.
B.   People. C.   Price. D.   Place. E.   Product.
80) __________ is a marketing management aid which refers to how customers think about proposed and/or present brands in a market.
A.   Brand familiarity B.   Positioning
C.   Market scanning D.   Customer relationship management (CRM)
E.   Market segmentation
81) The "four Ps" of a marketing mix are:
A.   Production, Personnel, Price, and Physical Distribution
B.   Promotion, Production, Price, and People C.   Potential customers, Product, Price, and Personal Selling
D.   Product, Price, Promotion, and Profit E.   Product, Place, Promotion, and Price
82) When evaluating macro-marketing:
A.   the evaluation is necessarily subjective. B.   the best approach is to consider the profit generated by individual firms within the overall system.
C.   one must determine how efficiently the society's resources are used. D.   one must consider the society’s role in the marketing system. E.   one must consider each individual firm's role in the marketing system.
83) A cluster analysis of the "toothpaste market" would probably show that:
A.   the broad product-market can be served effectively with one marketing mix.
B.   most consu
          57) What is _____ is not necessarily _____. A. Illegal, unethical B. Unethical, legal C. Ethical, illegal D. Unethical, illegal E. Ethical, legal        

BUS/475 Guide 4


1) The cost principle requires that when assets are acquired, they be recorded at __________.
A.   list price B.   selling price C.   exchange price paid D.   appraisal value
2) "Generally accepted" in the phrase generally accepted accounting principles means that the principles __________.
A.   have been approved for use by the managements of business firms
B.   have been approved by the Internal Revenue Service C.   have substantial authoritative support D.   are proven theories of accounting
3) The standards and rules that are recognized as a general guide for financial reporting are called __________.
A.   standards of financial reporting B.   operating guidelines C.   generally accepted accounting principles D.   generally accepted accounting standards
4) Sam's Used Cars uses the specific identification method of costing inventory. During March, Sam purchased three cars for $6,000, $7,500, and $9,750, respectively. During March, two cars are sold for $9,000 each. Sam determines that at March 31, the $9,750 car is still on hand. What is Sam’s gross profit for March?
A.   $8,250
B.   $750 C.   $4,500
D.   $5,250
           
5) Hess, Inc. sells a single product with a contribution margin of $12 per unit and fixed costs of $74,400 and sales for the current year of $100,000. How much is Hess’s break even point?
A.   2,133 units
B.   6,200 units
C.   $25,600 D.   4,600 units
           
6) As Plant Controller, you are trying to determine which costs over which you have the most control on a day to day basis. Your goal is to achieve better profitability. The Plant Operations Manager suggests that overhead is the easiest area to directly reduce costs. Which of the following items would be classified as manufacturing overhead?
A.   The western division’s vice president’s salary
B.   Cost of landscaping the corporate office C.   General corporate liability insurance D.   Factory janitor
7) What is the preparation of reports for each level of responsibility in the company’s organization chart called?
A.   Master budgeting analysis
B.   Exception reporting C.   Responsibility reporting
D.   Static reporting
8) Disney’s variable costs are 30% of sales. The company is contemplating an advertising campaign that will cost $22,000. If sales are expected to increase $40,000, by how much will the company's net income increase?
A.   $6,000 B.   $12,000
C.   $28,000
D.   $18,000
           
9) The cost of an asset and its fair market value are __________.
A.   never the same B.   irrelevant when the asset is used by the business in its operations
C.   the same on the date of acquisition D.   the same when the asset is sold
10) Which one of the following is a product cost?
A.   Indirect labor B.   Sales person’s salaries
C.   Advertising costs D.   Office salaries
11) What exists when budgeted costs exceed actual results?
A.   A budgeting error B.   An unfavorable difference
C.   An excess profit D.   A favorable difference
12) The income statement and balance sheet columns of Pine Company's worksheet reflects the following totals:
                        Income Statement                  Balance Sheet
            Dr.       Cr.                   Dr.       Cr.
Totals              $58,000           $48,000                       $34,000           $44,000
           

Closing entries are necessary for __________.
A.   permanent accounts only B.   both permanent and temporary accounts
C.   permanent or real accounts only D.   temporary accounts only
13) Managerial accounting __________.
A.   is concerned with costing products B.   pertains to the entity as a whole and is highly aggregated
C.   places emphasis on special-purpose information D.   is governed by generally accepted accounting principles
           
14) H55 Company sells two products, beer and wine. Beer has a 10 percent profit margin and wine has a 12 percent profit margin. Beer has a 27 percent contribution margin and wine has a 25 percent contribution margin. If other factors are equal, which product should H55 push to customers?
A.   Beer B.   Selling either results in the same additional income for the company
C.   It should sell an equal quantity of both D.   Wine
15) Lekeisha's income exceeds her expenditures. Lekeisha is a __________.
A.   saver who demands money from the financial system B.   borrower who demands money from the financial system
C.   borrower who supplies money to the financial system D.   saver who supplies money to the financial system
16) Maurice receives $100 as a birthday gift. In deciding how to spend the money, he narrows his options down to four choices: Option A, Option B, Option C, and Option D. Each option costs $100. Finally he decides on Option B. The opportunity cost of this decision is __________.
A.   the value to Maurice of the option he would have chosen had Option B not been available
B.   $100 C.   $300 D.   the value to Maurice of Options A, C and D combined
17) A production possibilities frontier will be a straight line if __________.
A.   the economy is producing efficiently B.   the economy is engaged in trade with at least one other economy C.   increasing the production of one good by x units entails no opportunity cost in terms of the other good
D.   increasing the production of one good by x units entails a constant opportunity cost in terms of the other good
           
18) In economics, the cost of something is __________.
A.   what you give up to get it B.   often impossible to quantify, even in principle C.   the dollar amount of obtaining it D.   always measured in units of time given up to get it
           
19) A tax on an imported good is called a __________.
A.   supply tax
B.   trade tax C.   quota D.   tariff
20) Which of the following statements about GDP is correct?
A.   GDP is to a nation’s economy as household income is to a household. B.   GDP increases if the total population increases. C.   GDP measures two things at once: the total income of everyone in the economy and the unemployment rate.
D.   Money continuously flows from households to government and then back to households, and GDP measures this flow of money.
           
21) In computing GDP, market prices are used to value final goods and services because __________.
A.   if market prices are out of line with how people value goods, the government sets price ceilings and price floors
B.   Market prices are not used in computing GDP C.   market prices reflect the values of goods and services D.   market prices do not change much over time, so it is easy to make comparisons between years

22) Which of the following statements about GDP is correct?
A.   Nominal GDP values production at market prices, whereas real GDP values production at the cost of the resources used in the production process.
B.   Nominal GDP consistently underestimates the value of production, whereas real GDP consistently overestimates the value of production.
C.   Nominal GDP values production at current prices, whereas real GDP values production at constant prices.
D.   Nominal GDP values production at constant prices, whereas real GDP values production at current prices.
           
23) Which of the following is not correct?
A.   The U.S. debt per-person is large compared with average lifetime income.
B.   In 2005, the U.S. government had a deficit. C.   A potential cost of deficits is that they reduce national saving, thereby reducing growth of the capital stock and output growth.
D.   Deficits give people the opportunity to consume at the expense of their children, but they do not require them to do so.
           
24) The part of the balance of payments account that lists all long-term flows of payments is called the:
A.   balance of trade. B.   financial and capital account.
C.   government financial account.
D.   current account.
25) Edward Prescott and Finn Kydland won the Nobel Prize in Economics in 2004. One of their contributions was to argue that if a central bank could convince people to expect zero inflation, then the Fed would be tempted to raise output by increasing inflation. This possibility is known as __________.
A.   the sacrifice ratio dilemma B.   the monetary policy reaction lag
C.   the time inconsistency of policy
D.   inflation targeting
26) In general, the longest lag for __________.
A.   fiscal policy is the time it takes to change policy, while for monetary policy the longest lag is the time it takes for policy to affect aggregate demand
B.   both fiscal and monetary policy is the time it takes for policy to affect aggregate demand
C.   monetary policy is the time it takes to change policy, while for fiscal policy the longest lag is the time it takes for policy to affect aggregate demand
D.   both fiscal and monetary policy is the time it takes to change policy
27) Consider two items that might be included in GDP: (1) The estimated rental value of owner-occupied housing; and (2) purchases of newly-constructed homes. How are these two items accounted for when GDP is calculated?
A.   Only item (2) is included in GDP and it is included in the investment component.
B.   Item (1) is included in the consumption component, while item (2) is included in the investment component.
C.   Item (1) is included in the investment component, while item (2) is included in the consumption component.
D.   Both item (1) and item (2) are included in the consumption component of GDP.

28) Managers will utilize __________ skills with increasing frequency as they rise within an organization.
A.   Professional B.   Interpersonal and communication
C.   Technical D.   Professional E.   Conceptual and decision
29) Which of these represent skills that managers need?
A.   Interpersonal, quantitative, and professional B.   Technical, interpersonal & communication and conceptual & decision making
C.   Professional, technical and interpersonal & communication D.   Conceptual & decision making, professional and technical E.   Interpersonal & communication, conceptual & decision making and professional
           
30) Building a dynamic organization is another way of describing which function of management?
A.   Staffing B.   Organizing
C.   Leading D.   Controlling
E.   Planning
31) Your roommate is interested in starting a business and everybody has been giving him different information about being an entrepreneur. Since you have been studying about entrepreneurship and new ventures, which of these would you tell him is true?
A.   Anyone can start a business B.   All entrepreneurs need venture capital in order to get started C.   Successful entrepreneurs take very careful, calculated risks D.   Entrepreneurs are their own bosses and completely independent
E.   Money should not be considered a start-up ingredient
32) The term used to refer to all kinds of differences including religious affiliation, age, disability status, economic class and lifestyle in addition to gender, race, ethnicity and nationality is:
A.   Diversity B.   Managerial ethics
C.   Recruiting D.   Employment E.   Selection
33) A manager's ability to stimulate people to be high performers is referred to as:
A.   Planning B.   Supervising
C.   Controlling
D.   Organizing E.   Leading
34) A series of quality standards developed by a committee working under the International Organization for Standardization to improve total quality in all businesses for the benefit of both producers and consumers is:
A.   Total quality management B.   Customer-based integration C.   Computer-integrated manufacturing (CIM)
D.   Just-in-time control (JIT)
E.   ISO 9000
35) Japanese manufacturers' kaizen (continuous improvement) programs enable them to maintain:
A.   A strategic alliance B.   A homogeneous workforce C.   Positive working relationships with all employees
D.   A Learning advantage over their competition E.   Larger, faster facilities
36) Listening to employee suggestions, gaining support for organizational objectives and fostering an atmosphere of teamwork are all considered:
A.   Technical skills B.   Conceptual C.   Professional skills D.   Interpersonal/communication skills
E.   Diagnostic skills
37) The basic components of an effective sexual harassment policy include the following EXCEPT:
A.   To develop an organization wide policy on sexual harassment B.   To establish a means for ongoing training C.   To act immediately when employees complain of sexual harassment
D.   To establish a performance appraisal system E.   To establish a formal complaint procedure
38) Teams that operate separately from the regular work structure and exist temporarily are known as:
A.   Management teams B.   Transnational teams
C.   Self-managed teams
D.   Parallel teams E.   Self-designing teams
           
39) The Aquatic Center, Inc. periodically reviews the goals of the company. During the process, The Aquatic Center managers analyze their current strategies as compared to their competitors, determine goals that they will pursue and decide upon specific actions for each area of the company to take in pursuit of these goals. The Aquatic Center managers have been engaged in the management function of:
A.   Goal Coordination
B.   Controlling C.   Organizing D.   Staffing E.   Planning
40) As related to managing of human resources, diversity refers to:
A.   Differences in demographics (such as age, race, gender, disability status, lifestyle, veteran status, educational level, etc.)
B.   Differences in pay methods (such as hourly, salaried, overtime, hazard-pay, commissioned, etc.)
C.   Differences in employee benefit plans (such as pensions, insurance, vacations, memberships, etc.)
D.   Differences in retention strategies (such as training, hiring, incentives, etc) E.   Differences in recruiting methods (such as newspapers, schools, flyers, magazines, agencies, etc.)
           
41) __________ is the process of working with people and resources to accomplish organizational goals.
A.   Controlling B.   Decision making
C.   Planning D.   Supervising E.   Management
42) Twelve randomly-chosen students were asked how many times they had missed class during a certain semester, with this result: 2, 1, 5, 1, 1, 3, 4, 3, 1, 1, 5, 18.
For this sample, the median is _____.
A.   3 B.   3.5
C.   2.5
D.   2
43) Use the following table to answer question:
 P(S | W) is approximately _____.
A.   .40
B.   .30
C.   .12
D.   .58
           
44) Use the following table to answer question:
 P(M  A) is approximately _____.
A.   .50 B.   .625
C.   .125
D.   .25
45) Dullco Manufacturing claims that its alkaline batteries last forty hours on average in a certain type of portable CD player. Tests on a random sample of 18 batteries showed a mean battery life of 37.8 hours with a standard deviation of 5.4 hours.
In determining the p-value for reporting the study's findings, which of the following is true?
A.   The p-value is equal to .05. B.   The p-value is greater than .05. C.   The p-value cannot be determined without specifying  . D.   The p-value is less than .05.
46) William used a sample of 68 U.S. cities to estimate the relationship between Crime (annual property crimes per 100,000 persons) and Income (median income per capita). His estimated regression equation was Crime = 428 + .050 Income.
Which outcomes would be likely in a bivariate regression on 45 randomly chosen U.S. cities in 2005 with
Y = number of robberies in each city (thousands of robberies) and
X = size of police force in each city (thousands of police)?
A.   High R2 (due to city size). B.   Positive slope (due to city size).
C.   No correlation. D.   Autocorrelation.
47) Twelve randomly-chosen students were asked how many times they had missed class during a certain semester, with this result: 2, 1, 5, 1, 1, 3, 4, 3, 1, 1, 5, 18.
For this sample, which measure of central tendency is least representative of the “typical” student?
A.   Midrange
B.   Mean C.   Mode D.   Median
           
48) Likely reasons for inaccurate control limits would include which of the following?
A.   Process variation was not zero, as expected. B.   The engineering parameter for variance is unknown.
C.   There was insufficient preliminary sampling. D.   The engineers were underpaid for their work.
49) You are faced with a linear programming objective function of:
Max P = $20X + $30Y
and constraints of:
3X + 4Y = 24 (Constraint A)
5X – Y = 18 (Constraint B)
You discover that the shadow price for Constraint A is 7.5 and the shadow price for Constraint B is 0. Which of these statements is TRUE?
A.   The most you would want to pay for an additional unit of A would be $7.50.
B.   You can change quantities of X and Y at no cost for Constraint B. C.   For every additional unit of the objective function you create, the price of A rises by $7.50.
D.   For every additional unit of the objective function you create, you lose 0 units of B.
           
50) A project has three paths. A–B–C has a length of 25 days. A–D–C has a length of 15 days. Finally, A–E–C has a length of 20 days. Which one of the following statements is TRUE?
A.   The expected duration of this project is 25 + 15 + 20 = 60 days.
B.   A–D–C is the critical path. C.   The expected duration of this project is 25 days. D.   A–B–C has the most slack.
51) Which one of the following statements concerning production and staffing plans is best?
A.   A master production schedule is a projected statement of income, costs, and profits.
B.   Aggregation can be performed along three dimensions: product families, labor, and time.
C.   Production plans are based primarily on information from the master production plan.
D.   A staffing plan is the intermediate link between the business plan and the master production schedule.
           
52) While glancing over the sensitivity report, you note that the stitching labor has a shadow price of $10 and a lower limit of 24 hours with an upper limit of 36 hours. If your original right hand value for stitching labor was 30 hours, you know that:
A.   you would lose $80 if one of your workers missed an entire 8 hour shift. B.   the next worker that offers to work an extra 8 hours should receive at least $80.
C.   you would be willing pay up to $60 for someone to work another 6 hours.
D.   you can send someone home 6 hours early and still pay them the $60 they would have earned while on the clock.

53) The costs of delivering products in the _____ channel are much higher than delivering products in the _____ channel.
A.   physical, digital B.   e-commerce, digital
C.   physical, financial D.   digital, e-commerce
E.   digital, physical
54) When customers access a Web site and make purchases, they generate __________.
A.   Tracking cookies B.   Web data C.   Information D.   Clickstream data
E.   Hyperlink data
55) _____ is the integration of economic, social, cultural, and ecological facets of life, enabled by information.
A.   regionalization B.   globalization C.   nationalization D.   business environment
           
56) Various organizations that promote fair and responsible use of information systems often develop __________.
A.   a code of ethics B.   responsibility charters
C.   a strategic plan D.   a mission statement E.   a goals outline
57) What is _____ is not necessarily _____.
A.   Illegal, unethical B.   Unethical, legal C.   Ethical, illegal D.   Unethical, illegal
E.   Ethical, legal
58) _____ provides users with a view of what is happening, where _____ addresses why it is happening.
A.   Multidimensional data analysis, structured query language
B.   Multidimensional data analysis, neural networks C.   Data mining, multidimensional data analysis D.   Data mining, expert system E.   Multidimensional data analysis, data mining
59) Computer support is greatest for which of the following problems?
A.   Semistructured and strategic planning B.   Semistructured and management control
C.   Unstructured and operational control D.   Structured and operational control E.   Structured and management control
60) The management cockpit best exemplifies which type of system?
A.   Decision support system B.   Functional area information system
C.   Expert system D.   Digital dashboard E.   Group decision support system
61) _____ is the efficient and effective execution of specific tasks.
A.   Operational control
B.   Expertise C.   Management control
D.   Strategic planning E.   Wisdom
62) Geocoding is __________.
A.   accessing geographical information B.   integrating maps with spatially oriented databases and other databases
C.   integrating organizational transactions with spatially oriented databases D.   programming spatially oriented databases E.   encrypting spatial information
63) At 8% compounded annually, how long will it take $750 to double?
A.   48 months
B.   6.5 years C.   9 years D.   12 years
64) Which of the following represents an attempt to measure the earnings of the firm’s operations over a given time period?
A.   Cash flow statement
B.   Balance sheet C.   Income statement D.   Quarterly statement
           
65) A machine costs $1,000, has a three-year life, and has an estimated salvage value of $100. It will generate after-tax annual cash flows (ACF) of $600 a year, starting next year. If your required rate of return for the project is 10%, what is the NPV of this investment? (Round your answerwer to the nearest $10.)
A.   $570 B.   $490 C.   $900 D.   -$150
           
66) Disadvantages of using current liabilities as opposed to long-term debt include:
A.   higher cash flow exposure B.   greater risk of illiquidity, and uncertainty of interest costs
C.   decreased risk of liquidity D.   certainty of interest costs E.   uncertainty of future liabilities
67) Petrified Forest Skin Care, Inc. pays an annual perpetual dividend of $1.70 per share. If the stock is currently selling for $21.25 per share, what is the expected rate of return on this stock?
A.   12.5% B.   36.13%
C.   8.0% D.   13.6%
68) Which of the following is most consistent with the hedging principle in working capital management?
A.   Fixed assets should be financed with short-term notes payable. B.   Inventory should be financed with preferred stock. C.   Accounts receivable should be financed with short-term lines of credit.
D.   Borrow on a floating rate basis to finance investments in permanent assets.
           
69) An increase in future value can be caused by an increase in the __________.
A.   original amount invested B.   annual interest rate and number of compounding periods
C.   rate of return D.   dividends paid E.   starting value
70) If the quote for a forward exchange contract is greater than the computed price, the forward contract is:
A.   at equilibrium.
B.   undervalued. C.   a good buy. D.   overvalued.
71) Your company is considering an investment in a project which would require an initial outlay of $300,000 and produce expected cash flows in Years 1 through 5 of $87,385 per year. You have determined that the current after-tax cost of the firm’s capital (required rate of return) for each source of financing is as follows:
Cost of debt     8%
Cost of preferred stock           12%
Cost of common stock            16%
Long-term debt currently makes up 20% of the capital structure, preferred stock 10%, and common stock 70%. What is the net present value of this project?
A.   $1,568
B.   $871 C.   $1,241
D.   $463
72) Suppose you determine that the NPV of a project is $1,525,855. What does that mean?
A.   The project’s IRR would have to be less that the firm’s discount rate. B.   The project would add value to the firm. C.   Under all conditions, the project’s payback would be less than the profitability index.
D.   In all cases, investing in this project would be better than investing in a project that has an NPV of $850,000.
           
73) The common stockholders are most concerned with:
A.   the spread between the return generated on new investments and the investor’s required rate of return.
B.   the size of the firm’s beginning earnings per share. C.   the risk of the investment. D.   the percentage of profits retained.
74) PepsiCo calculates unlevered betas for each peer group in order to:
A.   eliminate different financial risks.
B.   eliminate competitive factors. C.   eliminate judgment factors. D.   eliminate different business risks.
75) Which of the following best represents operating income?
A.   Income from discontinued operations
B.   Earnings before interest and taxes C.   Income from capital gains D.   Income after financing activities
76) In comparison to the buying of final consumers, the purchasing of organizational buyers:
A.   is even less predictable. B.   leans basically toward economy, quality, and dependability.
C.   is always emotional. D.   is strictly economic and not at all emotional. E.   is always based on competitive bids from multiple suppliers.
           
77) The basic objective of the U.S. market-directed economic system is to:
A.   achieve an annual growth rate of at least 10 percent. B.   provide each person with an equal share of the economic output.
C.   make the most efficient use of the country's resources. D.   minimize inflation. E.   satisfy consumer needs as they--the consumers--see them.
78) Comparing GDP for foreign countries can help a marketing manager evaluate potential markets if the manager remembers that:
A.   GDP measures show people's tendency to buy particular products. B.   income tends to be evenly distributed among consumers in most countries. C.   GDP estimates may not be very accurate for very different cultures and economies.
D.   Other countries most likely don’t use the US Dollar as their primary currency.
E.   GDP measures show the degree of competition in a market.
79) A firm's "marketing mix" decision areas would NOT include:
A.   Promotion.
B.   People. C.   Price. D.   Place. E.   Product.
80) __________ is a marketing management aid which refers to how customers think about proposed and/or present brands in a market.
A.   Brand familiarity B.   Positioning
C.   Market scanning D.   Customer relationship management (CRM)
E.   Market segmentation
81) The "four Ps" of a marketing mix are:
A.   Production, Personnel, Price, and Physical Distribution
B.   Promotion, Production, Price, and People C.   Potential customers, Product, Price, and Personal Selling
D.   Product, Price, Promotion, and Profit E.   Product, Place, Promotion, and Price
82) When evaluating macro-marketing:
A.   the evaluation is necessarily subjective. B.   the best approach is to consider the profit generated by individual firms within the overall system.
C.   one must determine how efficiently the society's resources are used. D.   one must consider the society’s role in the marketing system. E.   one must consider each individual firm's role in the marketing system.
83) A cluster analysis of the "toothpaste market" would probably show that:
A.   the broad product-market can be served effectively with one marketing mix.
B.   most consu
          58) _____ provides users with a view of what is happening, where _____ addresses why it is happening. A. Multidimensional data analysis, structured query language B. Multidimensional data analysis, neural networks C. Data mining, multidimensional data analysis D. Data mining, expert system E. Multidimensional data analysis, data mining        

BUS/475 Guide 4


1) The cost principle requires that when assets are acquired, they be recorded at __________.
A.   list price B.   selling price C.   exchange price paid D.   appraisal value
2) "Generally accepted" in the phrase generally accepted accounting principles means that the principles __________.
A.   have been approved for use by the managements of business firms
B.   have been approved by the Internal Revenue Service C.   have substantial authoritative support D.   are proven theories of accounting
3) The standards and rules that are recognized as a general guide for financial reporting are called __________.
A.   standards of financial reporting B.   operating guidelines C.   generally accepted accounting principles D.   generally accepted accounting standards
4) Sam's Used Cars uses the specific identification method of costing inventory. During March, Sam purchased three cars for $6,000, $7,500, and $9,750, respectively. During March, two cars are sold for $9,000 each. Sam determines that at March 31, the $9,750 car is still on hand. What is Sam’s gross profit for March?
A.   $8,250
B.   $750 C.   $4,500
D.   $5,250
           
5) Hess, Inc. sells a single product with a contribution margin of $12 per unit and fixed costs of $74,400 and sales for the current year of $100,000. How much is Hess’s break even point?
A.   2,133 units
B.   6,200 units
C.   $25,600 D.   4,600 units
           
6) As Plant Controller, you are trying to determine which costs over which you have the most control on a day to day basis. Your goal is to achieve better profitability. The Plant Operations Manager suggests that overhead is the easiest area to directly reduce costs. Which of the following items would be classified as manufacturing overhead?
A.   The western division’s vice president’s salary
B.   Cost of landscaping the corporate office C.   General corporate liability insurance D.   Factory janitor
7) What is the preparation of reports for each level of responsibility in the company’s organization chart called?
A.   Master budgeting analysis
B.   Exception reporting C.   Responsibility reporting
D.   Static reporting
8) Disney’s variable costs are 30% of sales. The company is contemplating an advertising campaign that will cost $22,000. If sales are expected to increase $40,000, by how much will the company's net income increase?
A.   $6,000 B.   $12,000
C.   $28,000
D.   $18,000
           
9) The cost of an asset and its fair market value are __________.
A.   never the same B.   irrelevant when the asset is used by the business in its operations
C.   the same on the date of acquisition D.   the same when the asset is sold
10) Which one of the following is a product cost?
A.   Indirect labor B.   Sales person’s salaries
C.   Advertising costs D.   Office salaries
11) What exists when budgeted costs exceed actual results?
A.   A budgeting error B.   An unfavorable difference
C.   An excess profit D.   A favorable difference
12) The income statement and balance sheet columns of Pine Company's worksheet reflects the following totals:
                        Income Statement                  Balance Sheet
            Dr.       Cr.                   Dr.       Cr.
Totals              $58,000           $48,000                       $34,000           $44,000
           

Closing entries are necessary for __________.
A.   permanent accounts only B.   both permanent and temporary accounts
C.   permanent or real accounts only D.   temporary accounts only
13) Managerial accounting __________.
A.   is concerned with costing products B.   pertains to the entity as a whole and is highly aggregated
C.   places emphasis on special-purpose information D.   is governed by generally accepted accounting principles
           
14) H55 Company sells two products, beer and wine. Beer has a 10 percent profit margin and wine has a 12 percent profit margin. Beer has a 27 percent contribution margin and wine has a 25 percent contribution margin. If other factors are equal, which product should H55 push to customers?
A.   Beer B.   Selling either results in the same additional income for the company
C.   It should sell an equal quantity of both D.   Wine
15) Lekeisha's income exceeds her expenditures. Lekeisha is a __________.
A.   saver who demands money from the financial system B.   borrower who demands money from the financial system
C.   borrower who supplies money to the financial system D.   saver who supplies money to the financial system
16) Maurice receives $100 as a birthday gift. In deciding how to spend the money, he narrows his options down to four choices: Option A, Option B, Option C, and Option D. Each option costs $100. Finally he decides on Option B. The opportunity cost of this decision is __________.
A.   the value to Maurice of the option he would have chosen had Option B not been available
B.   $100 C.   $300 D.   the value to Maurice of Options A, C and D combined
17) A production possibilities frontier will be a straight line if __________.
A.   the economy is producing efficiently B.   the economy is engaged in trade with at least one other economy C.   increasing the production of one good by x units entails no opportunity cost in terms of the other good
D.   increasing the production of one good by x units entails a constant opportunity cost in terms of the other good
           
18) In economics, the cost of something is __________.
A.   what you give up to get it B.   often impossible to quantify, even in principle C.   the dollar amount of obtaining it D.   always measured in units of time given up to get it
           
19) A tax on an imported good is called a __________.
A.   supply tax
B.   trade tax C.   quota D.   tariff
20) Which of the following statements about GDP is correct?
A.   GDP is to a nation’s economy as household income is to a household. B.   GDP increases if the total population increases. C.   GDP measures two things at once: the total income of everyone in the economy and the unemployment rate.
D.   Money continuously flows from households to government and then back to households, and GDP measures this flow of money.
           
21) In computing GDP, market prices are used to value final goods and services because __________.
A.   if market prices are out of line with how people value goods, the government sets price ceilings and price floors
B.   Market prices are not used in computing GDP C.   market prices reflect the values of goods and services D.   market prices do not change much over time, so it is easy to make comparisons between years

22) Which of the following statements about GDP is correct?
A.   Nominal GDP values production at market prices, whereas real GDP values production at the cost of the resources used in the production process.
B.   Nominal GDP consistently underestimates the value of production, whereas real GDP consistently overestimates the value of production.
C.   Nominal GDP values production at current prices, whereas real GDP values production at constant prices.
D.   Nominal GDP values production at constant prices, whereas real GDP values production at current prices.
           
23) Which of the following is not correct?
A.   The U.S. debt per-person is large compared with average lifetime income.
B.   In 2005, the U.S. government had a deficit. C.   A potential cost of deficits is that they reduce national saving, thereby reducing growth of the capital stock and output growth.
D.   Deficits give people the opportunity to consume at the expense of their children, but they do not require them to do so.
           
24) The part of the balance of payments account that lists all long-term flows of payments is called the:
A.   balance of trade. B.   financial and capital account.
C.   government financial account.
D.   current account.
25) Edward Prescott and Finn Kydland won the Nobel Prize in Economics in 2004. One of their contributions was to argue that if a central bank could convince people to expect zero inflation, then the Fed would be tempted to raise output by increasing inflation. This possibility is known as __________.
A.   the sacrifice ratio dilemma B.   the monetary policy reaction lag
C.   the time inconsistency of policy
D.   inflation targeting
26) In general, the longest lag for __________.
A.   fiscal policy is the time it takes to change policy, while for monetary policy the longest lag is the time it takes for policy to affect aggregate demand
B.   both fiscal and monetary policy is the time it takes for policy to affect aggregate demand
C.   monetary policy is the time it takes to change policy, while for fiscal policy the longest lag is the time it takes for policy to affect aggregate demand
D.   both fiscal and monetary policy is the time it takes to change policy
27) Consider two items that might be included in GDP: (1) The estimated rental value of owner-occupied housing; and (2) purchases of newly-constructed homes. How are these two items accounted for when GDP is calculated?
A.   Only item (2) is included in GDP and it is included in the investment component.
B.   Item (1) is included in the consumption component, while item (2) is included in the investment component.
C.   Item (1) is included in the investment component, while item (2) is included in the consumption component.
D.   Both item (1) and item (2) are included in the consumption component of GDP.

28) Managers will utilize __________ skills with increasing frequency as they rise within an organization.
A.   Professional B.   Interpersonal and communication
C.   Technical D.   Professional E.   Conceptual and decision
29) Which of these represent skills that managers need?
A.   Interpersonal, quantitative, and professional B.   Technical, interpersonal & communication and conceptual & decision making
C.   Professional, technical and interpersonal & communication D.   Conceptual & decision making, professional and technical E.   Interpersonal & communication, conceptual & decision making and professional
           
30) Building a dynamic organization is another way of describing which function of management?
A.   Staffing B.   Organizing
C.   Leading D.   Controlling
E.   Planning
31) Your roommate is interested in starting a business and everybody has been giving him different information about being an entrepreneur. Since you have been studying about entrepreneurship and new ventures, which of these would you tell him is true?
A.   Anyone can start a business B.   All entrepreneurs need venture capital in order to get started C.   Successful entrepreneurs take very careful, calculated risks D.   Entrepreneurs are their own bosses and completely independent
E.   Money should not be considered a start-up ingredient
32) The term used to refer to all kinds of differences including religious affiliation, age, disability status, economic class and lifestyle in addition to gender, race, ethnicity and nationality is:
A.   Diversity B.   Managerial ethics
C.   Recruiting D.   Employment E.   Selection
33) A manager's ability to stimulate people to be high performers is referred to as:
A.   Planning B.   Supervising
C.   Controlling
D.   Organizing E.   Leading
34) A series of quality standards developed by a committee working under the International Organization for Standardization to improve total quality in all businesses for the benefit of both producers and consumers is:
A.   Total quality management B.   Customer-based integration C.   Computer-integrated manufacturing (CIM)
D.   Just-in-time control (JIT)
E.   ISO 9000
35) Japanese manufacturers' kaizen (continuous improvement) programs enable them to maintain:
A.   A strategic alliance B.   A homogeneous workforce C.   Positive working relationships with all employees
D.   A Learning advantage over their competition E.   Larger, faster facilities
36) Listening to employee suggestions, gaining support for organizational objectives and fostering an atmosphere of teamwork are all considered:
A.   Technical skills B.   Conceptual C.   Professional skills D.   Interpersonal/communication skills
E.   Diagnostic skills
37) The basic components of an effective sexual harassment policy include the following EXCEPT:
A.   To develop an organization wide policy on sexual harassment B.   To establish a means for ongoing training C.   To act immediately when employees complain of sexual harassment
D.   To establish a performance appraisal system E.   To establish a formal complaint procedure
38) Teams that operate separately from the regular work structure and exist temporarily are known as:
A.   Management teams B.   Transnational teams
C.   Self-managed teams
D.   Parallel teams E.   Self-designing teams
           
39) The Aquatic Center, Inc. periodically reviews the goals of the company. During the process, The Aquatic Center managers analyze their current strategies as compared to their competitors, determine goals that they will pursue and decide upon specific actions for each area of the company to take in pursuit of these goals. The Aquatic Center managers have been engaged in the management function of:
A.   Goal Coordination
B.   Controlling C.   Organizing D.   Staffing E.   Planning
40) As related to managing of human resources, diversity refers to:
A.   Differences in demographics (such as age, race, gender, disability status, lifestyle, veteran status, educational level, etc.)
B.   Differences in pay methods (such as hourly, salaried, overtime, hazard-pay, commissioned, etc.)
C.   Differences in employee benefit plans (such as pensions, insurance, vacations, memberships, etc.)
D.   Differences in retention strategies (such as training, hiring, incentives, etc) E.   Differences in recruiting methods (such as newspapers, schools, flyers, magazines, agencies, etc.)
           
41) __________ is the process of working with people and resources to accomplish organizational goals.
A.   Controlling B.   Decision making
C.   Planning D.   Supervising E.   Management
42) Twelve randomly-chosen students were asked how many times they had missed class during a certain semester, with this result: 2, 1, 5, 1, 1, 3, 4, 3, 1, 1, 5, 18.
For this sample, the median is _____.
A.   3 B.   3.5
C.   2.5
D.   2
43) Use the following table to answer question:
 P(S | W) is approximately _____.
A.   .40
B.   .30
C.   .12
D.   .58
           
44) Use the following table to answer question:
 P(M  A) is approximately _____.
A.   .50 B.   .625
C.   .125
D.   .25
45) Dullco Manufacturing claims that its alkaline batteries last forty hours on average in a certain type of portable CD player. Tests on a random sample of 18 batteries showed a mean battery life of 37.8 hours with a standard deviation of 5.4 hours.
In determining the p-value for reporting the study's findings, which of the following is true?
A.   The p-value is equal to .05. B.   The p-value is greater than .05. C.   The p-value cannot be determined without specifying  . D.   The p-value is less than .05.
46) William used a sample of 68 U.S. cities to estimate the relationship between Crime (annual property crimes per 100,000 persons) and Income (median income per capita). His estimated regression equation was Crime = 428 + .050 Income.
Which outcomes would be likely in a bivariate regression on 45 randomly chosen U.S. cities in 2005 with
Y = number of robberies in each city (thousands of robberies) and
X = size of police force in each city (thousands of police)?
A.   High R2 (due to city size). B.   Positive slope (due to city size).
C.   No correlation. D.   Autocorrelation.
47) Twelve randomly-chosen students were asked how many times they had missed class during a certain semester, with this result: 2, 1, 5, 1, 1, 3, 4, 3, 1, 1, 5, 18.
For this sample, which measure of central tendency is least representative of the “typical” student?
A.   Midrange
B.   Mean C.   Mode D.   Median
           
48) Likely reasons for inaccurate control limits would include which of the following?
A.   Process variation was not zero, as expected. B.   The engineering parameter for variance is unknown.
C.   There was insufficient preliminary sampling. D.   The engineers were underpaid for their work.
49) You are faced with a linear programming objective function of:
Max P = $20X + $30Y
and constraints of:
3X + 4Y = 24 (Constraint A)
5X – Y = 18 (Constraint B)
You discover that the shadow price for Constraint A is 7.5 and the shadow price for Constraint B is 0. Which of these statements is TRUE?
A.   The most you would want to pay for an additional unit of A would be $7.50.
B.   You can change quantities of X and Y at no cost for Constraint B. C.   For every additional unit of the objective function you create, the price of A rises by $7.50.
D.   For every additional unit of the objective function you create, you lose 0 units of B.
           
50) A project has three paths. A–B–C has a length of 25 days. A–D–C has a length of 15 days. Finally, A–E–C has a length of 20 days. Which one of the following statements is TRUE?
A.   The expected duration of this project is 25 + 15 + 20 = 60 days.
B.   A–D–C is the critical path. C.   The expected duration of this project is 25 days. D.   A–B–C has the most slack.
51) Which one of the following statements concerning production and staffing plans is best?
A.   A master production schedule is a projected statement of income, costs, and profits.
B.   Aggregation can be performed along three dimensions: product families, labor, and time.
C.   Production plans are based primarily on information from the master production plan.
D.   A staffing plan is the intermediate link between the business plan and the master production schedule.
           
52) While glancing over the sensitivity report, you note that the stitching labor has a shadow price of $10 and a lower limit of 24 hours with an upper limit of 36 hours. If your original right hand value for stitching labor was 30 hours, you know that:
A.   you would lose $80 if one of your workers missed an entire 8 hour shift. B.   the next worker that offers to work an extra 8 hours should receive at least $80.
C.   you would be willing pay up to $60 for someone to work another 6 hours.
D.   you can send someone home 6 hours early and still pay them the $60 they would have earned while on the clock.

53) The costs of delivering products in the _____ channel are much higher than delivering products in the _____ channel.
A.   physical, digital B.   e-commerce, digital
C.   physical, financial D.   digital, e-commerce
E.   digital, physical
54) When customers access a Web site and make purchases, they generate __________.
A.   Tracking cookies B.   Web data C.   Information D.   Clickstream data
E.   Hyperlink data
55) _____ is the integration of economic, social, cultural, and ecological facets of life, enabled by information.
A.   regionalization B.   globalization C.   nationalization D.   business environment
           
56) Various organizations that promote fair and responsible use of information systems often develop __________.
A.   a code of ethics B.   responsibility charters
C.   a strategic plan D.   a mission statement E.   a goals outline
57) What is _____ is not necessarily _____.
A.   Illegal, unethical B.   Unethical, legal C.   Ethical, illegal D.   Unethical, illegal
E.   Ethical, legal
58) _____ provides users with a view of what is happening, where _____ addresses why it is happening.
A.   Multidimensional data analysis, structured query language
B.   Multidimensional data analysis, neural networks C.   Data mining, multidimensional data analysis D.   Data mining, expert system E.   Multidimensional data analysis, data mining
59) Computer support is greatest for which of the following problems?
A.   Semistructured and strategic planning B.   Semistructured and management control
C.   Unstructured and operational control D.   Structured and operational control E.   Structured and management control
60) The management cockpit best exemplifies which type of system?
A.   Decision support system B.   Functional area information system
C.   Expert system D.   Digital dashboard E.   Group decision support system
61) _____ is the efficient and effective execution of specific tasks.
A.   Operational control
B.   Expertise C.   Management control
D.   Strategic planning E.   Wisdom
62) Geocoding is __________.
A.   accessing geographical information B.   integrating maps with spatially oriented databases and other databases
C.   integrating organizational transactions with spatially oriented databases D.   programming spatially oriented databases E.   encrypting spatial information
63) At 8% compounded annually, how long will it take $750 to double?
A.   48 months
B.   6.5 years C.   9 years D.   12 years
64) Which of the following represents an attempt to measure the earnings of the firm’s operations over a given time period?
A.   Cash flow statement
B.   Balance sheet C.   Income statement D.   Quarterly statement
           
65) A machine costs $1,000, has a three-year life, and has an estimated salvage value of $100. It will generate after-tax annual cash flows (ACF) of $600 a year, starting next year. If your required rate of return for the project is 10%, what is the NPV of this investment? (Round your answerwer to the nearest $10.)
A.   $570 B.   $490 C.   $900 D.   -$150
           
66) Disadvantages of using current liabilities as opposed to long-term debt include:
A.   higher cash flow exposure B.   greater risk of illiquidity, and uncertainty of interest costs
C.   decreased risk of liquidity D.   certainty of interest costs E.   uncertainty of future liabilities
67) Petrified Forest Skin Care, Inc. pays an annual perpetual dividend of $1.70 per share. If the stock is currently selling for $21.25 per share, what is the expected rate of return on this stock?
A.   12.5% B.   36.13%
C.   8.0% D.   13.6%
68) Which of the following is most consistent with the hedging principle in working capital management?
A.   Fixed assets should be financed with short-term notes payable. B.   Inventory should be financed with preferred stock. C.   Accounts receivable should be financed with short-term lines of credit.
D.   Borrow on a floating rate basis to finance investments in permanent assets.
           
69) An increase in future value can be caused by an increase in the __________.
A.   original amount invested B.   annual interest rate and number of compounding periods
C.   rate of return D.   dividends paid E.   starting value
70) If the quote for a forward exchange contract is greater than the computed price, the forward contract is:
A.   at equilibrium.
B.   undervalued. C.   a good buy. D.   overvalued.
71) Your company is considering an investment in a project which would require an initial outlay of $300,000 and produce expected cash flows in Years 1 through 5 of $87,385 per year. You have determined that the current after-tax cost of the firm’s capital (required rate of return) for each source of financing is as follows:
Cost of debt     8%
Cost of preferred stock           12%
Cost of common stock            16%
Long-term debt currently makes up 20% of the capital structure, preferred stock 10%, and common stock 70%. What is the net present value of this project?
A.   $1,568
B.   $871 C.   $1,241
D.   $463
72) Suppose you determine that the NPV of a project is $1,525,855. What does that mean?
A.   The project’s IRR would have to be less that the firm’s discount rate. B.   The project would add value to the firm. C.   Under all conditions, the project’s payback would be less than the profitability index.
D.   In all cases, investing in this project would be better than investing in a project that has an NPV of $850,000.
           
73) The common stockholders are most concerned with:
A.   the spread between the return generated on new investments and the investor’s required rate of return.
B.   the size of the firm’s beginning earnings per share. C.   the risk of the investment. D.   the percentage of profits retained.
74) PepsiCo calculates unlevered betas for each peer group in order to:
A.   eliminate different financial risks.
B.   eliminate competitive factors. C.   eliminate judgment factors. D.   eliminate different business risks.
75) Which of the following best represents operating income?
A.   Income from discontinued operations
B.   Earnings before interest and taxes C.   Income from capital gains D.   Income after financing activities
76) In comparison to the buying of final consumers, the purchasing of organizational buyers:
A.   is even less predictable. B.   leans basically toward economy, quality, and dependability.
C.   is always emotional. D.   is strictly economic and not at all emotional. E.   is always based on competitive bids from multiple suppliers.
           
77) The basic objective of the U.S. market-directed economic system is to:
A.   achieve an annual growth rate of at least 10 percent. B.   provide each person with an equal share of the economic output.
C.   make the most efficient use of the country's resources. D.   minimize inflation. E.   satisfy consumer needs as they--the consumers--see them.
78) Comparing GDP for foreign countries can help a marketing manager evaluate potential markets if the manager remembers that:
A.   GDP measures show people's tendency to buy particular products. B.   income tends to be evenly distributed among consumers in most countries. C.   GDP estimates may not be very accurate for very different cultures and economies.
D.   Other countries most likely don’t use the US Dollar as their primary currency.
E.   GDP measures show the degree of competition in a market.
79) A firm's "marketing mix" decision areas would NOT include:
A.   Promotion.
B.   People. C.   Price. D.   Place. E.   Product.
80) __________ is a marketing management aid which refers to how customers think about proposed and/or present brands in a market.
A.   Brand familiarity B.   Positioning
C.   Market scanning D.   Customer relationship management (CRM)
E.   Market segmentation
81) The "four Ps" of a marketing mix are:
A.   Production, Personnel, Price, and Physical Distribution
B.   Promotion, Production, Price, and People C.   Potential customers, Product, Price, and Personal Selling
D.   Product, Price, Promotion, and Profit E.   Product, Place, Promotion, and Price
82) When evaluating macro-marketing:
A.   the evaluation is necessarily subjective. B.   the best approach is to consider the profit generated by individual firms within the overall system.
C.   one must determine how efficiently the society's resources are used. D.   one must consider the society’s role in the marketing system. E.   one must consider each individual firm's role in the marketing system.
83) A cluster analysis of the "toothpaste market" would probably show that:
A.   the broad product-market can be served effectively with one marketing mix.
B.   most consu
          59) Computer support is greatest for which of the following problems? A. Semistructured and strategic planning B. Semistructured and management control C. Unstructured and operational control D. Structured and operational control E. Structured and management control        

BUS/475 Guide 4


1) The cost principle requires that when assets are acquired, they be recorded at __________.
A.   list price B.   selling price C.   exchange price paid D.   appraisal value
2) "Generally accepted" in the phrase generally accepted accounting principles means that the principles __________.
A.   have been approved for use by the managements of business firms
B.   have been approved by the Internal Revenue Service C.   have substantial authoritative support D.   are proven theories of accounting
3) The standards and rules that are recognized as a general guide for financial reporting are called __________.
A.   standards of financial reporting B.   operating guidelines C.   generally accepted accounting principles D.   generally accepted accounting standards
4) Sam's Used Cars uses the specific identification method of costing inventory. During March, Sam purchased three cars for $6,000, $7,500, and $9,750, respectively. During March, two cars are sold for $9,000 each. Sam determines that at March 31, the $9,750 car is still on hand. What is Sam’s gross profit for March?
A.   $8,250
B.   $750 C.   $4,500
D.   $5,250
           
5) Hess, Inc. sells a single product with a contribution margin of $12 per unit and fixed costs of $74,400 and sales for the current year of $100,000. How much is Hess’s break even point?
A.   2,133 units
B.   6,200 units
C.   $25,600 D.   4,600 units
           
6) As Plant Controller, you are trying to determine which costs over which you have the most control on a day to day basis. Your goal is to achieve better profitability. The Plant Operations Manager suggests that overhead is the easiest area to directly reduce costs. Which of the following items would be classified as manufacturing overhead?
A.   The western division’s vice president’s salary
B.   Cost of landscaping the corporate office C.   General corporate liability insurance D.   Factory janitor
7) What is the preparation of reports for each level of responsibility in the company’s organization chart called?
A.   Master budgeting analysis
B.   Exception reporting C.   Responsibility reporting
D.   Static reporting
8) Disney’s variable costs are 30% of sales. The company is contemplating an advertising campaign that will cost $22,000. If sales are expected to increase $40,000, by how much will the company's net income increase?
A.   $6,000 B.   $12,000
C.   $28,000
D.   $18,000
           
9) The cost of an asset and its fair market value are __________.
A.   never the same B.   irrelevant when the asset is used by the business in its operations
C.   the same on the date of acquisition D.   the same when the asset is sold
10) Which one of the following is a product cost?
A.   Indirect labor B.   Sales person’s salaries
C.   Advertising costs D.   Office salaries
11) What exists when budgeted costs exceed actual results?
A.   A budgeting error B.   An unfavorable difference
C.   An excess profit D.   A favorable difference
12) The income statement and balance sheet columns of Pine Company's worksheet reflects the following totals:
                        Income Statement                  Balance Sheet
            Dr.       Cr.                   Dr.       Cr.
Totals              $58,000           $48,000                       $34,000           $44,000
           

Closing entries are necessary for __________.
A.   permanent accounts only B.   both permanent and temporary accounts
C.   permanent or real accounts only D.   temporary accounts only
13) Managerial accounting __________.
A.   is concerned with costing products B.   pertains to the entity as a whole and is highly aggregated
C.   places emphasis on special-purpose information D.   is governed by generally accepted accounting principles
           
14) H55 Company sells two products, beer and wine. Beer has a 10 percent profit margin and wine has a 12 percent profit margin. Beer has a 27 percent contribution margin and wine has a 25 percent contribution margin. If other factors are equal, which product should H55 push to customers?
A.   Beer B.   Selling either results in the same additional income for the company
C.   It should sell an equal quantity of both D.   Wine
15) Lekeisha's income exceeds her expenditures. Lekeisha is a __________.
A.   saver who demands money from the financial system B.   borrower who demands money from the financial system
C.   borrower who supplies money to the financial system D.   saver who supplies money to the financial system
16) Maurice receives $100 as a birthday gift. In deciding how to spend the money, he narrows his options down to four choices: Option A, Option B, Option C, and Option D. Each option costs $100. Finally he decides on Option B. The opportunity cost of this decision is __________.
A.   the value to Maurice of the option he would have chosen had Option B not been available
B.   $100 C.   $300 D.   the value to Maurice of Options A, C and D combined
17) A production possibilities frontier will be a straight line if __________.
A.   the economy is producing efficiently B.   the economy is engaged in trade with at least one other economy C.   increasing the production of one good by x units entails no opportunity cost in terms of the other good
D.   increasing the production of one good by x units entails a constant opportunity cost in terms of the other good
           
18) In economics, the cost of something is __________.
A.   what you give up to get it B.   often impossible to quantify, even in principle C.   the dollar amount of obtaining it D.   always measured in units of time given up to get it
           
19) A tax on an imported good is called a __________.
A.   supply tax
B.   trade tax C.   quota D.   tariff
20) Which of the following statements about GDP is correct?
A.   GDP is to a nation’s economy as household income is to a household. B.   GDP increases if the total population increases. C.   GDP measures two things at once: the total income of everyone in the economy and the unemployment rate.
D.   Money continuously flows from households to government and then back to households, and GDP measures this flow of money.
           
21) In computing GDP, market prices are used to value final goods and services because __________.
A.   if market prices are out of line with how people value goods, the government sets price ceilings and price floors
B.   Market prices are not used in computing GDP C.   market prices reflect the values of goods and services D.   market prices do not change much over time, so it is easy to make comparisons between years

22) Which of the following statements about GDP is correct?
A.   Nominal GDP values production at market prices, whereas real GDP values production at the cost of the resources used in the production process.
B.   Nominal GDP consistently underestimates the value of production, whereas real GDP consistently overestimates the value of production.
C.   Nominal GDP values production at current prices, whereas real GDP values production at constant prices.
D.   Nominal GDP values production at constant prices, whereas real GDP values production at current prices.
           
23) Which of the following is not correct?
A.   The U.S. debt per-person is large compared with average lifetime income.
B.   In 2005, the U.S. government had a deficit. C.   A potential cost of deficits is that they reduce national saving, thereby reducing growth of the capital stock and output growth.
D.   Deficits give people the opportunity to consume at the expense of their children, but they do not require them to do so.
           
24) The part of the balance of payments account that lists all long-term flows of payments is called the:
A.   balance of trade. B.   financial and capital account.
C.   government financial account.
D.   current account.
25) Edward Prescott and Finn Kydland won the Nobel Prize in Economics in 2004. One of their contributions was to argue that if a central bank could convince people to expect zero inflation, then the Fed would be tempted to raise output by increasing inflation. This possibility is known as __________.
A.   the sacrifice ratio dilemma B.   the monetary policy reaction lag
C.   the time inconsistency of policy
D.   inflation targeting
26) In general, the longest lag for __________.
A.   fiscal policy is the time it takes to change policy, while for monetary policy the longest lag is the time it takes for policy to affect aggregate demand
B.   both fiscal and monetary policy is the time it takes for policy to affect aggregate demand
C.   monetary policy is the time it takes to change policy, while for fiscal policy the longest lag is the time it takes for policy to affect aggregate demand
D.   both fiscal and monetary policy is the time it takes to change policy
27) Consider two items that might be included in GDP: (1) The estimated rental value of owner-occupied housing; and (2) purchases of newly-constructed homes. How are these two items accounted for when GDP is calculated?
A.   Only item (2) is included in GDP and it is included in the investment component.
B.   Item (1) is included in the consumption component, while item (2) is included in the investment component.
C.   Item (1) is included in the investment component, while item (2) is included in the consumption component.
D.   Both item (1) and item (2) are included in the consumption component of GDP.

28) Managers will utilize __________ skills with increasing frequency as they rise within an organization.
A.   Professional B.   Interpersonal and communication
C.   Technical D.   Professional E.   Conceptual and decision
29) Which of these represent skills that managers need?
A.   Interpersonal, quantitative, and professional B.   Technical, interpersonal & communication and conceptual & decision making
C.   Professional, technical and interpersonal & communication D.   Conceptual & decision making, professional and technical E.   Interpersonal & communication, conceptual & decision making and professional
           
30) Building a dynamic organization is another way of describing which function of management?
A.   Staffing B.   Organizing
C.   Leading D.   Controlling
E.   Planning
31) Your roommate is interested in starting a business and everybody has been giving him different information about being an entrepreneur. Since you have been studying about entrepreneurship and new ventures, which of these would you tell him is true?
A.   Anyone can start a business B.   All entrepreneurs need venture capital in order to get started C.   Successful entrepreneurs take very careful, calculated risks D.   Entrepreneurs are their own bosses and completely independent
E.   Money should not be considered a start-up ingredient
32) The term used to refer to all kinds of differences including religious affiliation, age, disability status, economic class and lifestyle in addition to gender, race, ethnicity and nationality is:
A.   Diversity B.   Managerial ethics
C.   Recruiting D.   Employment E.   Selection
33) A manager's ability to stimulate people to be high performers is referred to as:
A.   Planning B.   Supervising
C.   Controlling
D.   Organizing E.   Leading
34) A series of quality standards developed by a committee working under the International Organization for Standardization to improve total quality in all businesses for the benefit of both producers and consumers is:
A.   Total quality management B.   Customer-based integration C.   Computer-integrated manufacturing (CIM)
D.   Just-in-time control (JIT)
E.   ISO 9000
35) Japanese manufacturers' kaizen (continuous improvement) programs enable them to maintain:
A.   A strategic alliance B.   A homogeneous workforce C.   Positive working relationships with all employees
D.   A Learning advantage over their competition E.   Larger, faster facilities
36) Listening to employee suggestions, gaining support for organizational objectives and fostering an atmosphere of teamwork are all considered:
A.   Technical skills B.   Conceptual C.   Professional skills D.   Interpersonal/communication skills
E.   Diagnostic skills
37) The basic components of an effective sexual harassment policy include the following EXCEPT:
A.   To develop an organization wide policy on sexual harassment B.   To establish a means for ongoing training C.   To act immediately when employees complain of sexual harassment
D.   To establish a performance appraisal system E.   To establish a formal complaint procedure
38) Teams that operate separately from the regular work structure and exist temporarily are known as:
A.   Management teams B.   Transnational teams
C.   Self-managed teams
D.   Parallel teams E.   Self-designing teams
           
39) The Aquatic Center, Inc. periodically reviews the goals of the company. During the process, The Aquatic Center managers analyze their current strategies as compared to their competitors, determine goals that they will pursue and decide upon specific actions for each area of the company to take in pursuit of these goals. The Aquatic Center managers have been engaged in the management function of:
A.   Goal Coordination
B.   Controlling C.   Organizing D.   Staffing E.   Planning
40) As related to managing of human resources, diversity refers to:
A.   Differences in demographics (such as age, race, gender, disability status, lifestyle, veteran status, educational level, etc.)
B.   Differences in pay methods (such as hourly, salaried, overtime, hazard-pay, commissioned, etc.)
C.   Differences in employee benefit plans (such as pensions, insurance, vacations, memberships, etc.)
D.   Differences in retention strategies (such as training, hiring, incentives, etc) E.   Differences in recruiting methods (such as newspapers, schools, flyers, magazines, agencies, etc.)
           
41) __________ is the process of working with people and resources to accomplish organizational goals.
A.   Controlling B.   Decision making
C.   Planning D.   Supervising E.   Management
42) Twelve randomly-chosen students were asked how many times they had missed class during a certain semester, with this result: 2, 1, 5, 1, 1, 3, 4, 3, 1, 1, 5, 18.
For this sample, the median is _____.
A.   3 B.   3.5
C.   2.5
D.   2
43) Use the following table to answer question:
 P(S | W) is approximately _____.
A.   .40
B.   .30
C.   .12
D.   .58
           
44) Use the following table to answer question:
 P(M  A) is approximately _____.
A.   .50 B.   .625
C.   .125
D.   .25
45) Dullco Manufacturing claims that its alkaline batteries last forty hours on average in a certain type of portable CD player. Tests on a random sample of 18 batteries showed a mean battery life of 37.8 hours with a standard deviation of 5.4 hours.
In determining the p-value for reporting the study's findings, which of the following is true?
A.   The p-value is equal to .05. B.   The p-value is greater than .05. C.   The p-value cannot be determined without specifying  . D.   The p-value is less than .05.
46) William used a sample of 68 U.S. cities to estimate the relationship between Crime (annual property crimes per 100,000 persons) and Income (median income per capita). His estimated regression equation was Crime = 428 + .050 Income.
Which outcomes would be likely in a bivariate regression on 45 randomly chosen U.S. cities in 2005 with
Y = number of robberies in each city (thousands of robberies) and
X = size of police force in each city (thousands of police)?
A.   High R2 (due to city size). B.   Positive slope (due to city size).
C.   No correlation. D.   Autocorrelation.
47) Twelve randomly-chosen students were asked how many times they had missed class during a certain semester, with this result: 2, 1, 5, 1, 1, 3, 4, 3, 1, 1, 5, 18.
For this sample, which measure of central tendency is least representative of the “typical” student?
A.   Midrange
B.   Mean C.   Mode D.   Median
           
48) Likely reasons for inaccurate control limits would include which of the following?
A.   Process variation was not zero, as expected. B.   The engineering parameter for variance is unknown.
C.   There was insufficient preliminary sampling. D.   The engineers were underpaid for their work.
49) You are faced with a linear programming objective function of:
Max P = $20X + $30Y
and constraints of:
3X + 4Y = 24 (Constraint A)
5X – Y = 18 (Constraint B)
You discover that the shadow price for Constraint A is 7.5 and the shadow price for Constraint B is 0. Which of these statements is TRUE?
A.   The most you would want to pay for an additional unit of A would be $7.50.
B.   You can change quantities of X and Y at no cost for Constraint B. C.   For every additional unit of the objective function you create, the price of A rises by $7.50.
D.   For every additional unit of the objective function you create, you lose 0 units of B.
           
50) A project has three paths. A–B–C has a length of 25 days. A–D–C has a length of 15 days. Finally, A–E–C has a length of 20 days. Which one of the following statements is TRUE?
A.   The expected duration of this project is 25 + 15 + 20 = 60 days.
B.   A–D–C is the critical path. C.   The expected duration of this project is 25 days. D.   A–B–C has the most slack.
51) Which one of the following statements concerning production and staffing plans is best?
A.   A master production schedule is a projected statement of income, costs, and profits.
B.   Aggregation can be performed along three dimensions: product families, labor, and time.
C.   Production plans are based primarily on information from the master production plan.
D.   A staffing plan is the intermediate link between the business plan and the master production schedule.
           
52) While glancing over the sensitivity report, you note that the stitching labor has a shadow price of $10 and a lower limit of 24 hours with an upper limit of 36 hours. If your original right hand value for stitching labor was 30 hours, you know that:
A.   you would lose $80 if one of your workers missed an entire 8 hour shift. B.   the next worker that offers to work an extra 8 hours should receive at least $80.
C.   you would be willing pay up to $60 for someone to work another 6 hours.
D.   you can send someone home 6 hours early and still pay them the $60 they would have earned while on the clock.

53) The costs of delivering products in the _____ channel are much higher than delivering products in the _____ channel.
A.   physical, digital B.   e-commerce, digital
C.   physical, financial D.   digital, e-commerce
E.   digital, physical
54) When customers access a Web site and make purchases, they generate __________.
A.   Tracking cookies B.   Web data C.   Information D.   Clickstream data
E.   Hyperlink data
55) _____ is the integration of economic, social, cultural, and ecological facets of life, enabled by information.
A.   regionalization B.   globalization C.   nationalization D.   business environment
           
56) Various organizations that promote fair and responsible use of information systems often develop __________.
A.   a code of ethics B.   responsibility charters
C.   a strategic plan D.   a mission statement E.   a goals outline
57) What is _____ is not necessarily _____.
A.   Illegal, unethical B.   Unethical, legal C.   Ethical, illegal D.   Unethical, illegal
E.   Ethical, legal
58) _____ provides users with a view of what is happening, where _____ addresses why it is happening.
A.   Multidimensional data analysis, structured query language
B.   Multidimensional data analysis, neural networks C.   Data mining, multidimensional data analysis D.   Data mining, expert system E.   Multidimensional data analysis, data mining
59) Computer support is greatest for which of the following problems?
A.   Semistructured and strategic planning B.   Semistructured and management control
C.   Unstructured and operational control D.   Structured and operational control E.   Structured and management control
60) The management cockpit best exemplifies which type of system?
A.   Decision support system B.   Functional area information system
C.   Expert system D.   Digital dashboard E.   Group decision support system
61) _____ is the efficient and effective execution of specific tasks.
A.   Operational control
B.   Expertise C.   Management control
D.   Strategic planning E.   Wisdom
62) Geocoding is __________.
A.   accessing geographical information B.   integrating maps with spatially oriented databases and other databases
C.   integrating organizational transactions with spatially oriented databases D.   programming spatially oriented databases E.   encrypting spatial information
63) At 8% compounded annually, how long will it take $750 to double?
A.   48 months
B.   6.5 years C.   9 years D.   12 years
64) Which of the following represents an attempt to measure the earnings of the firm’s operations over a given time period?
A.   Cash flow statement
B.   Balance sheet C.   Income statement D.   Quarterly statement
           
65) A machine costs $1,000, has a three-year life, and has an estimated salvage value of $100. It will generate after-tax annual cash flows (ACF) of $600 a year, starting next year. If your required rate of return for the project is 10%, what is the NPV of this investment? (Round your answerwer to the nearest $10.)
A.   $570 B.   $490 C.   $900 D.   -$150
           
66) Disadvantages of using current liabilities as opposed to long-term debt include:
A.   higher cash flow exposure B.   greater risk of illiquidity, and uncertainty of interest costs
C.   decreased risk of liquidity D.   certainty of interest costs E.   uncertainty of future liabilities
67) Petrified Forest Skin Care, Inc. pays an annual perpetual dividend of $1.70 per share. If the stock is currently selling for $21.25 per share, what is the expected rate of return on this stock?
A.   12.5% B.   36.13%
C.   8.0% D.   13.6%
68) Which of the following is most consistent with the hedging principle in working capital management?
A.   Fixed assets should be financed with short-term notes payable. B.   Inventory should be financed with preferred stock. C.   Accounts receivable should be financed with short-term lines of credit.
D.   Borrow on a floating rate basis to finance investments in permanent assets.
           
69) An increase in future value can be caused by an increase in the __________.
A.   original amount invested B.   annual interest rate and number of compounding periods
C.   rate of return D.   dividends paid E.   starting value
70) If the quote for a forward exchange contract is greater than the computed price, the forward contract is:
A.   at equilibrium.
B.   undervalued. C.   a good buy. D.   overvalued.
71) Your company is considering an investment in a project which would require an initial outlay of $300,000 and produce expected cash flows in Years 1 through 5 of $87,385 per year. You have determined that the current after-tax cost of the firm’s capital (required rate of return) for each source of financing is as follows:
Cost of debt     8%
Cost of preferred stock           12%
Cost of common stock            16%
Long-term debt currently makes up 20% of the capital structure, preferred stock 10%, and common stock 70%. What is the net present value of this project?
A.   $1,568
B.   $871 C.   $1,241
D.   $463
72) Suppose you determine that the NPV of a project is $1,525,855. What does that mean?
A.   The project’s IRR would have to be less that the firm’s discount rate. B.   The project would add value to the firm. C.   Under all conditions, the project’s payback would be less than the profitability index.
D.   In all cases, investing in this project would be better than investing in a project that has an NPV of $850,000.
           
73) The common stockholders are most concerned with:
A.   the spread between the return generated on new investments and the investor’s required rate of return.
B.   the size of the firm’s beginning earnings per share. C.   the risk of the investment. D.   the percentage of profits retained.
74) PepsiCo calculates unlevered betas for each peer group in order to:
A.   eliminate different financial risks.
B.   eliminate competitive factors. C.   eliminate judgment factors. D.   eliminate different business risks.
75) Which of the following best represents operating income?
A.   Income from discontinued operations
B.   Earnings before interest and taxes C.   Income from capital gains D.   Income after financing activities
76) In comparison to the buying of final consumers, the purchasing of organizational buyers:
A.   is even less predictable. B.   leans basically toward economy, quality, and dependability.
C.   is always emotional. D.   is strictly economic and not at all emotional. E.   is always based on competitive bids from multiple suppliers.
           
77) The basic objective of the U.S. market-directed economic system is to:
A.   achieve an annual growth rate of at least 10 percent. B.   provide each person with an equal share of the economic output.
C.   make the most efficient use of the country's resources. D.   minimize inflation. E.   satisfy consumer needs as they--the consumers--see them.
78) Comparing GDP for foreign countries can help a marketing manager evaluate potential markets if the manager remembers that:
A.   GDP measures show people's tendency to buy particular products. B.   income tends to be evenly distributed among consumers in most countries. C.   GDP estimates may not be very accurate for very different cultures and economies.
D.   Other countries most likely don’t use the US Dollar as their primary currency.
E.   GDP measures show the degree of competition in a market.
79) A firm's "marketing mix" decision areas would NOT include:
A.   Promotion.
B.   People. C.   Price. D.   Place. E.   Product.
80) __________ is a marketing management aid which refers to how customers think about proposed and/or present brands in a market.
A.   Brand familiarity B.   Positioning
C.   Market scanning D.   Customer relationship management (CRM)
E.   Market segmentation
81) The "four Ps" of a marketing mix are:
A.   Production, Personnel, Price, and Physical Distribution
B.   Promotion, Production, Price, and People C.   Potential customers, Product, Price, and Personal Selling
D.   Product, Price, Promotion, and Profit E.   Product, Place, Promotion, and Price
82) When evaluating macro-marketing:
A.   the evaluation is necessarily subjective. B.   the best approach is to consider the profit generated by individual firms within the overall system.
C.   one must determine how efficiently the society's resources are used. D.   one must consider the society’s role in the marketing system. E.   one must consider each individual firm's role in the marketing system.
83) A cluster analysis of the "toothpaste market" would probably show that:
A.   the broad product-market can be served effectively with one marketing mix.
B.   most consu
          60) The management cockpit best exemplifies which type of system? A. Decision support system B. Functional area information system C. Expert system D. Digital dashboard E. Group decision support system        

BUS/475 Guide 4


1) The cost principle requires that when assets are acquired, they be recorded at __________.
A.   list price B.   selling price C.   exchange price paid D.   appraisal value
2) "Generally accepted" in the phrase generally accepted accounting principles means that the principles __________.
A.   have been approved for use by the managements of business firms
B.   have been approved by the Internal Revenue Service C.   have substantial authoritative support D.   are proven theories of accounting
3) The standards and rules that are recognized as a general guide for financial reporting are called __________.
A.   standards of financial reporting B.   operating guidelines C.   generally accepted accounting principles D.   generally accepted accounting standards
4) Sam's Used Cars uses the specific identification method of costing inventory. During March, Sam purchased three cars for $6,000, $7,500, and $9,750, respectively. During March, two cars are sold for $9,000 each. Sam determines that at March 31, the $9,750 car is still on hand. What is Sam’s gross profit for March?
A.   $8,250
B.   $750 C.   $4,500
D.   $5,250
           
5) Hess, Inc. sells a single product with a contribution margin of $12 per unit and fixed costs of $74,400 and sales for the current year of $100,000. How much is Hess’s break even point?
A.   2,133 units
B.   6,200 units
C.   $25,600 D.   4,600 units
           
6) As Plant Controller, you are trying to determine which costs over which you have the most control on a day to day basis. Your goal is to achieve better profitability. The Plant Operations Manager suggests that overhead is the easiest area to directly reduce costs. Which of the following items would be classified as manufacturing overhead?
A.   The western division’s vice president’s salary
B.   Cost of landscaping the corporate office C.   General corporate liability insurance D.   Factory janitor
7) What is the preparation of reports for each level of responsibility in the company’s organization chart called?
A.   Master budgeting analysis
B.   Exception reporting C.   Responsibility reporting
D.   Static reporting
8) Disney’s variable costs are 30% of sales. The company is contemplating an advertising campaign that will cost $22,000. If sales are expected to increase $40,000, by how much will the company's net income increase?
A.   $6,000 B.   $12,000
C.   $28,000
D.   $18,000
           
9) The cost of an asset and its fair market value are __________.
A.   never the same B.   irrelevant when the asset is used by the business in its operations
C.   the same on the date of acquisition D.   the same when the asset is sold
10) Which one of the following is a product cost?
A.   Indirect labor B.   Sales person’s salaries
C.   Advertising costs D.   Office salaries
11) What exists when budgeted costs exceed actual results?
A.   A budgeting error B.   An unfavorable difference
C.   An excess profit D.   A favorable difference
12) The income statement and balance sheet columns of Pine Company's worksheet reflects the following totals:
                        Income Statement                  Balance Sheet
            Dr.       Cr.                   Dr.       Cr.
Totals              $58,000           $48,000                       $34,000           $44,000
           

Closing entries are necessary for __________.
A.   permanent accounts only B.   both permanent and temporary accounts
C.   permanent or real accounts only D.   temporary accounts only
13) Managerial accounting __________.
A.   is concerned with costing products B.   pertains to the entity as a whole and is highly aggregated
C.   places emphasis on special-purpose information D.   is governed by generally accepted accounting principles
           
14) H55 Company sells two products, beer and wine. Beer has a 10 percent profit margin and wine has a 12 percent profit margin. Beer has a 27 percent contribution margin and wine has a 25 percent contribution margin. If other factors are equal, which product should H55 push to customers?
A.   Beer B.   Selling either results in the same additional income for the company
C.   It should sell an equal quantity of both D.   Wine
15) Lekeisha's income exceeds her expenditures. Lekeisha is a __________.
A.   saver who demands money from the financial system B.   borrower who demands money from the financial system
C.   borrower who supplies money to the financial system D.   saver who supplies money to the financial system
16) Maurice receives $100 as a birthday gift. In deciding how to spend the money, he narrows his options down to four choices: Option A, Option B, Option C, and Option D. Each option costs $100. Finally he decides on Option B. The opportunity cost of this decision is __________.
A.   the value to Maurice of the option he would have chosen had Option B not been available
B.   $100 C.   $300 D.   the value to Maurice of Options A, C and D combined
17) A production possibilities frontier will be a straight line if __________.
A.   the economy is producing efficiently B.   the economy is engaged in trade with at least one other economy C.   increasing the production of one good by x units entails no opportunity cost in terms of the other good
D.   increasing the production of one good by x units entails a constant opportunity cost in terms of the other good
           
18) In economics, the cost of something is __________.
A.   what you give up to get it B.   often impossible to quantify, even in principle C.   the dollar amount of obtaining it D.   always measured in units of time given up to get it
           
19) A tax on an imported good is called a __________.
A.   supply tax
B.   trade tax C.   quota D.   tariff
20) Which of the following statements about GDP is correct?
A.   GDP is to a nation’s economy as household income is to a household. B.   GDP increases if the total population increases. C.   GDP measures two things at once: the total income of everyone in the economy and the unemployment rate.
D.   Money continuously flows from households to government and then back to households, and GDP measures this flow of money.
           
21) In computing GDP, market prices are used to value final goods and services because __________.
A.   if market prices are out of line with how people value goods, the government sets price ceilings and price floors
B.   Market prices are not used in computing GDP C.   market prices reflect the values of goods and services D.   market prices do not change much over time, so it is easy to make comparisons between years

22) Which of the following statements about GDP is correct?
A.   Nominal GDP values production at market prices, whereas real GDP values production at the cost of the resources used in the production process.
B.   Nominal GDP consistently underestimates the value of production, whereas real GDP consistently overestimates the value of production.
C.   Nominal GDP values production at current prices, whereas real GDP values production at constant prices.
D.   Nominal GDP values production at constant prices, whereas real GDP values production at current prices.
           
23) Which of the following is not correct?
A.   The U.S. debt per-person is large compared with average lifetime income.
B.   In 2005, the U.S. government had a deficit. C.   A potential cost of deficits is that they reduce national saving, thereby reducing growth of the capital stock and output growth.
D.   Deficits give people the opportunity to consume at the expense of their children, but they do not require them to do so.
           
24) The part of the balance of payments account that lists all long-term flows of payments is called the:
A.   balance of trade. B.   financial and capital account.
C.   government financial account.
D.   current account.
25) Edward Prescott and Finn Kydland won the Nobel Prize in Economics in 2004. One of their contributions was to argue that if a central bank could convince people to expect zero inflation, then the Fed would be tempted to raise output by increasing inflation. This possibility is known as __________.
A.   the sacrifice ratio dilemma B.   the monetary policy reaction lag
C.   the time inconsistency of policy
D.   inflation targeting
26) In general, the longest lag for __________.
A.   fiscal policy is the time it takes to change policy, while for monetary policy the longest lag is the time it takes for policy to affect aggregate demand
B.   both fiscal and monetary policy is the time it takes for policy to affect aggregate demand
C.   monetary policy is the time it takes to change policy, while for fiscal policy the longest lag is the time it takes for policy to affect aggregate demand
D.   both fiscal and monetary policy is the time it takes to change policy
27) Consider two items that might be included in GDP: (1) The estimated rental value of owner-occupied housing; and (2) purchases of newly-constructed homes. How are these two items accounted for when GDP is calculated?
A.   Only item (2) is included in GDP and it is included in the investment component.
B.   Item (1) is included in the consumption component, while item (2) is included in the investment component.
C.   Item (1) is included in the investment component, while item (2) is included in the consumption component.
D.   Both item (1) and item (2) are included in the consumption component of GDP.

28) Managers will utilize __________ skills with increa