473,904 Members | 6,317 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Online C# tests

I wondered if anyone knew of any online C# tests. I am a VB.NET
programmer and I have been learning C# and I wanted to see if I was
good enough yet to get a job using C#.

Thanks,

David.
Nov 15 '05 #1
6 7088
what tests do you mean?

AFAIK there should be no defference in performance as VB.NET and C# compile
to the same IL

"babydavy" <ab*****@hotmai l.com> wrote in message
news:a1******** *************** **@posting.goog le.com...
I wondered if anyone knew of any online C# tests. I am a VB.NET
programmer and I have been learning C# and I wanted to see if I was
good enough yet to get a job using C#.

Thanks,

David.

Nov 15 '05 #2
>> "babydavy" <ab*****@hotmai l.com> wrote in message
news:a1******** *************** **@posting.goog le.com...

I wondered if anyone knew of any online C# tests. I am a VB.NET
programmer and I have been learning C# and I wanted to see if I was
good enough yet to get a job using C#.

Thanks,

David.

Vadym Stetsyak wrote: what tests do you mean?

AFAIK there should be no difference in performance as VB.NET and C# compile
to the same IL


I believe he wishes to test his programmatic prowess :-)

--
chris

Nov 15 '05 #3

"Vadym Stetsyak" <pd****@ukr.net > wrote in message
news:e0******** ******@tk2msftn gp13.phx.gbl...
what tests do you mean?

AFAIK there should be no defference in performance as VB.NET and C# compile to the same IL


One would think that would be true. In a perfect world it should be true,
however, even a cursory comparison of the IL produced by VB.NET against
functionally similar code created using C# will demonstrate unique
differences.

VB.NET will always produce more 'clicks' than C#. Many are just NOPs, but C#
will produce slightly 'leaner' and likely 'faster' code. Just how
significant this difference is in an actual application is often difficult
to measure and likely insignificant.

For example, A switch/case statement that determines which file to read in
maybe 5 'clicks' faster than a VB.NET version - but the time of the overall
process will be dwarfed by the total time to complete the I/O which is
determined by the box and the Framework, and so is equal for both.

So while I have no wish to startup a VB.NET vs C# holy war - it is important
to note that the argument that both produce identical code is not valid.
There are other valid reasons making make a language choice that far
out-weight 'performance' considerations, anyway.

As for online C# tests - testing has become a big commodity and so few free
tests are available. Most of the bigger testing companies (AppDev, ForTest,
etc) do have some online 'sample' tests. But they often change locations - a
deligent Google search should turn up a number of them.

-ralph
Nov 15 '05 #4
Get the C# MCAD cert training guides from QUEand
subscribe to the practice exam questions via Informit.com.

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET cs*********@REM OVETHISTEXTmetr omilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/
"babydavy" <ab*****@hotmai l.com> wrote in message
news:a1******** *************** **@posting.goog le.com...
I wondered if anyone knew of any online C# tests. I am a VB.NET
programmer and I have been learning C# and I wanted to see if I was
good enough yet to get a job using C#.

Thanks,

David.

Nov 15 '05 #5
is it not also the case that VB.NET has simply *more* functions than C# has?
Looking in the SDK documentation it looks like they were the ones provided
to help VB6 users migrate - Shell for instance, VB.NET seems to have it but
C# doesn't (whereas C# would use Process.Start)
I think it's also clear that C# is the 'intended' language to compile to
MSIL, VB.NET seems to be just a VB6-like syntax wrapper round it...
"Ralph" <nt************ *@hotmail.com> wrote in message
news:qK******** ************@ar kansas.net...

"Vadym Stetsyak" <pd****@ukr.net > wrote in message
news:e0******** ******@tk2msftn gp13.phx.gbl...
what tests do you mean?

AFAIK there should be no defference in performance as VB.NET and C# compile
to the same IL


One would think that would be true. In a perfect world it should be true,
however, even a cursory comparison of the IL produced by VB.NET against
functionally similar code created using C# will demonstrate unique
differences.

VB.NET will always produce more 'clicks' than C#. Many are just NOPs, but

C# will produce slightly 'leaner' and likely 'faster' code. Just how
significant this difference is in an actual application is often difficult
to measure and likely insignificant.

For example, A switch/case statement that determines which file to read in
maybe 5 'clicks' faster than a VB.NET version - but the time of the overall process will be dwarfed by the total time to complete the I/O which is
determined by the box and the Framework, and so is equal for both.

So while I have no wish to startup a VB.NET vs C# holy war - it is important to note that the argument that both produce identical code is not valid.
There are other valid reasons making make a language choice that far
out-weight 'performance' considerations, anyway.

As for online C# tests - testing has become a big commodity and so few free tests are available. Most of the bigger testing companies (AppDev, ForTest, etc) do have some online 'sample' tests. But they often change locations - a deligent Google search should turn up a number of them.

-ralph

Nov 15 '05 #6

"Bonj" <a@b.com> wrote in message
news:eD******** ******@TK2MSFTN GP12.phx.gbl...
is it not also the case that VB.NET has simply *more* functions than C# has? Looking in the SDK documentation it looks like they were the ones provided
to help VB6 users migrate - Shell for instance, VB.NET seems to have it but C# doesn't (whereas C# would use Process.Start)
I think it's also clear that C# is the 'intended' language to compile to
MSIL, VB.NET seems to be just a VB6-like syntax wrapper round it...

[snipped]

A good observation, but I was referring to simpler constructs where more
even comparisons might be made. But you are correct that many VB.NET "ways"
are perhaps generally just plain "wordier" than similar C# constructs. But
even that gets confusing since several VB-leaning friends have demostrated
to me that often what appears as more VB code 'compiles' to a more compact
C#-like version in IL.

It also doesn't take long when directly working with the IL to appreciate
that neither VB.NET or C# truly utilizes all the capablities of the IL. Most
of the new language features that are coming with W'mb aren't based on a new
IL, just better exploitation of what is already available.

Which is leads to an interesting cottage industry which is cropping up -
writing a program/routine in either VB.NET or C#, then opening the IL and
tweaking it. While many of the practictioners believe this to be an original
idea, it is almost exactly what we use to do 20 years ago in C. Write the
basic routine in C, then dump the assembly, tweak it, then include the new
code as an _asm instruction or as a separate library. It seemed like a nifty
idea at the time - but ghod help the poor maintainer than came behind you.
<g>

I believe your observation that VB.NET does tend to maintain a VB-ness to it
is correct and deliberate, and believe this trend will continue. Just as it
is more likely that C# will evolve to a more direct exploitation of the IL.

That is why I felt the need to comment on the "identical" IL issue. It isn't
true now and will likely be even less true with W'mb. (Then we get a whole
new round of language wars. <smile>)

But that is only an opinion and I am often wrong.

-ralph


Nov 15 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
3710
by: Andrew Dalke | last post by:
Is there an author index for the new version of the Python cookbook? As a contributor I got my comp version delivered today and my ego wanted some gratification. I couldn't find my entries. Andrew dalke@dalkescientific.com
51
8012
by: Matt | last post by:
Hello, I'm a hiring C++ developer employer looking for existing, online C++ aptitude tests. I have not yet extensively researched this yet, but as an example, I thought this test looked pretty good: http://expertrating.com/c++test.asp
3
1540
by: TPJ | last post by:
"The advantage of xrange() over range() is minimal (since xrange() still has to create the values when asked for them) except when a very large range is used on a memory-starved machine or when all of the range's elements are never used (such as when the loop is usually terminated with break)." - from Python Library Reference. I decided to measure the performance of range and xrange. I did it with the following functions: def rprint(...
10
1876
by: malv | last post by:
I am involved in a major scientific algorithm design problem in which simulation of the underlying physics and visualization play an important role. Algorithm adaptation from run to run often involves few lines of code. The setup of the system's state requires quite a bit of processing time and rapidly becomes a real drag on the experimentation sessions. It would be very nice if Python would allow 'online' code modification from the...
20
2457
by: My Internet | last post by:
Hello, I am in the process to define if our product can use PostgreSQL. Do you know what type of application use PostgreSQL, and also what is the size of the database for these projects? Our application has a table with more than 300000 rows. There are complexe query with many joins. And we must respect some time constraints. Also the application is running 24 hours per day, so the product must be stable, with
2
2292
by: um | last post by:
When the POSIX pthreads library for w32 release 2-2-0 (http://sources.redhat.com/pthreads-win32/) is compiled with VC++6 then it compiles and passes all the benchmark tests in the subdirectory "tests". Also, VC++ 2005 beta 1 compiles the tests fine, but here the following tests fail in execution: # semaphore1.pass \ # condvar2.pass \ # condvar2_1.pass \ # mutex8.pass \
0
1181
by: nospam | last post by:
A new version of Getting Fit With .Net, an introductory guide to testing .Net applications with Fit/FitNesse, can be downloaded from http://gojko.net/fitnesse. The guide covers following topics: * Setting up a FitNesse server for testing .Net code * Writing basic tests, performing common tasks * Saving time and effort with specialised test types * Tips and tricks for writing better tests and making test pages easier to read * Managing...
0
1157
by: =?Utf-8?B?c2VndWU=?= | last post by:
What are some good resources for learning the details behind recruiter type tests asp.net, C#, SqlServer. I've worked with .NET for several years but these tests always challenge me - I have MCAD circa 2002 books. Also regarding asp.net what are the pros and cons for using masterpage architecture, skins, validator control, and repeater control, etc.? Any suggestions/comments appreciated.
0
10012
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11309
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
11006
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10516
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9702
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8073
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4748
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4320
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3335
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.