Results 1 to 15 of 15

Thread: New Feature on CodeGuru (sister site): Tech IQ: Are You Better than a C# Rookie?

  1. #1

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    New Feature on CodeGuru (sister site): Tech IQ: Are You Better than a C# Rookie?

    We've created a new feature type on Codeguru called a Tech IQ. The first one is "Are You Better than a C# Rookie?" We'll be doing additional Tech IQs in the future. If you want to test yourself, the link to the first one is at:

    http://www.codeguru.com/quizzes/tech...-c-rookie.html

    Let's us know in this thread how you do!

    If you have an idea for a different Tech IQ, let me know. I've written some guidelines on how to suggest/create one. Any programming topic will be considered.

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: New Feature on CodeGuru (sister site): Tech IQ: Are You Better than a C# Rookie?

    I got 12... missed question #2.... anyways... it seemed more of a object-oriented quiz than actual C#... really only questions 1, 2, & 12 had anything to do with C# specifically. The rest were all around object-oriented design/programming and anyone who has had any real experience with it should be able to do reasonably well on it.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3
    Frenzied Member TheBigB's Avatar
    Join Date
    Mar 2006
    Location
    *Stack Trace*
    Posts
    1,511

    Re: New Feature on CodeGuru (sister site): Tech IQ: Are You Better than a C# Rookie?

    I got 11, however I think I deserve full points

    But in all seriousness; the first question doesn't register properly. I select option 3 and it tells me that the first answer was correct (while providing the code from the third option).

    And I misinterpreted question 7 (but that's not the question's fault).
    Delete it. They just clutter threads anyway.

  4. #4
    Frenzied Member TheBigB's Avatar
    Join Date
    Mar 2006
    Location
    *Stack Trace*
    Posts
    1,511

    Re: New Feature on CodeGuru (sister site): Tech IQ: Are You Better than a C# Rookie?

    Quote Originally Posted by techgnome View Post
    I got 12... missed question #2.... anyways... it seemed more of a object-oriented quiz than actual C#... really only questions 1, 2, & 12 had anything to do with C# specifically. The rest were all around object-oriented design/programming and anyone who has had any real experience with it should be able to do reasonably well on it.

    -tg
    I was expecting questions about things like events, delegates, syntax in general, and perhaps framework features like threading.
    Delete it. They just clutter threads anyway.

  5. #5
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: New Feature on CodeGuru (sister site): Tech IQ: Are You Better than a C# Rookie?

    Quote Originally Posted by TheBigB View Post
    I got 11, however I think I deserve full points

    But in all seriousness; the first question doesn't register properly. I select option 3 and it tells me that the first answer was correct (while providing the code from the third option).

    And I misinterpreted question 7 (but that's not the question's fault).
    Yeah, that's kind of what snagged me on #2... I got #1 right, and so then answered #2 in the similar manner and it was marked as being wrong... *shrug*.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  6. #6
    PowerPoster abhijit's Avatar
    Join Date
    Jun 1999
    Location
    Chit Chat Forum.
    Posts
    3,228

    Re: New Feature on CodeGuru (sister site): Tech IQ: Are You Better than a C# Rookie?

    I scored 8.
    Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
    save a blobFileStreamDataTable To Text Filemy blog

  7. #7
    Frenzied Member
    Join Date
    Jan 2009
    Location
    Watch Window(Shift+f9)
    Posts
    1,879

    Re: New Feature on CodeGuru (sister site): Tech IQ: Are You Better than a C# Rookie?

    Oh really, i need to spend some more time in c# .i scored only 6 .
    Last edited by firoz.raj; Apr 1st, 2013 at 04:45 PM.

  8. #8
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: New Feature on CodeGuru (sister site): Tech IQ: Are You Better than a C# Rookie?

    And I never even coded in C# - doing C++ for the past 18 months - but really - how come I can do this and only get 2 numbers on 10 different plays of powerball numbers last week?

    I'm not kidding - two numbers amongst 10 plays. I'm thinking of writing an app to reverse my numbers so I can play those instead
    Attached Images Attached Images  

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  9. #9
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: New Feature on CodeGuru (sister site): Tech IQ: Are You Better than a C# Rookie?

    Just got 11.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  10. #10
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Re: New Feature on CodeGuru (sister site): Tech IQ: Are You Better than a C# Rookie?

    Sorry to be blunt but this quiz is irrelevant.

    • It doesn't provide even a partial scope of C#.
    • C# is not only used to create WINDOWS applications.
    • There were a couple of questions related to windows forms only.
    • Some questions were not C# specific at all.
    • The title of the quiz could have been C# and VB (or plug any other .NET language).


    This quiz is so flawed I don't really know where to begin.

  11. #11
    Frenzied Member
    Join Date
    Jan 2009
    Location
    Watch Window(Shift+f9)
    Posts
    1,879

    Re: New Feature on CodeGuru (sister site): Tech IQ: Are You Better than a C# Rookie?

    Hi Friends,

    How objects of different types generally interact ?

    i have test myself again from My CG Account . but in question no 7 i was confusing .
    as i myself have answered to (ii) via events defined in the form class.

    (i)via their private methods(events,methods,properties,field) (Never possible)
    Reason
    property are
    normally public because this way private variable noramlly encapsulate in the property . so there is no any logic to interact private property with object.

    (ii)via events defined in the form class.(i have answered)
    (iii)via saving and reading data to / from a file.(never be possible)
    (iv)via database.(ok via a database .but there are more things so this is also not efficient)
    (v)via the public interface of their respective types(confused)
    Attachment 100093

  12. #12
    Fanatic Member ThomasJohnsen's Avatar
    Join Date
    Jul 2010
    Location
    Denmark
    Posts
    528

    Re: New Feature on CodeGuru (sister site): Tech IQ: Are You Better than a C# Rookie?

    11 here too :|.
    In truth, a mature man who uses hair-oil, unless medicinally , that man has probably got a quoggy spot in him somewhere. As a general rule, he can't amount to much in his totality. (Melville: Moby Dick)

  13. #13
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: New Feature on CodeGuru (sister site): Tech IQ: Are You Better than a C# Rookie?

    Woohoo! 13 baby! I had to read that question about value types and reference types a few times because that's not really the way that I'd choose to describe them.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  14. #14
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: New Feature on CodeGuru (sister site): Tech IQ: Are You Better than a C# Rookie?

    Quote Originally Posted by firoz.raj View Post
    Hi Friends,

    How objects of different types generally interact ?

    i have test myself again from My CG Account . but in question no 7 i was confusing .
    as i myself have answered to (ii) via events defined in the form class.

    (i)via their private methods(events,methods,properties,field) (Never possible)
    Reason
    property are
    normally public because this way private variable noramlly encapsulate in the property . so there is no any logic to interact private property with object.

    (ii)via events defined in the form class.(i have answered)
    (iii)via saving and reading data to / from a file.(never be possible)
    (iv)via database.(ok via a database .but there are more things so this is also not efficient)
    (v)via the public interface of their respective types(confused)
    The only way one object can affect another object is via a public member of some type, i.e. handling a public event, getting or setting a public property, calling a public method. As such, the way two objects interact is via their public interfaces. To say that objects of different types interact via devents in a form doesn't make sense because that would imply that objects in Console applications, where there are no forms, cannot interact, which is clearly false. You're thinking about Windows Forms apps and the fact that there is interaction between the form and controls via event handlers but that is still just types interacting via their public interfaces, i.e. the form is handling public events of the controls.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  15. #15
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    9,017

    Re: New Feature on CodeGuru (sister site): Tech IQ: Are You Better than a C# Rookie?

    Oh I took that a couple days ago...scored 11 if I remember correctly. Is that good or bad ? I remember getting about 3 answers wrong.
    Treeview with NodeAdded/NodesRemoved events | BlinkLabel control | Calculate Permutations | Object Enums | ComboBox with centered items | .Net Internals article(not mine) | Wizard Control | Understanding Multi-Threading | Simple file compression | Demon Arena

    Copy/move files using Windows Shell | I'm not wanted

    C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter

    There's just no reason to use garbage like InputBox. - jmcilhinney

    The threads I start are Niya and Olaf free zones. No arguing about the benefits of VB6 over .NET here please. Happiness must reign. - yereverluvinuncleber

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width