0% found this document useful (0 votes)
142 views

Harmony Soft. C# Developer Test: We Only Consider Applicants Who Complete The Test!

The document is a test for a C# software developer position at Harmony Soft. It consists of 3 questions to assess a candidate's knowledge of C# programming, software development skills, and ability to learn new languages and technologies. The test instructions specify that applicants must complete all questions to be considered for an interview. The questions cover topics like C# language features, identifying incorrect code samples, writing SQL queries, and performing basic web searches.

Uploaded by

andungtra
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
142 views

Harmony Soft. C# Developer Test: We Only Consider Applicants Who Complete The Test!

The document is a test for a C# software developer position at Harmony Soft. It consists of 3 questions to assess a candidate's knowledge of C# programming, software development skills, and ability to learn new languages and technologies. The test instructions specify that applicants must complete all questions to be considered for an interview. The questions cover topics like C# language features, identifying incorrect code samples, writing SQL queries, and performing basic web searches.

Uploaded by

andungtra
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

Harmony Software Technologies JSC.

Harmony Soft. C# Developer Test


At Harmony Soft., we are looking for someone who is passionate about programming and
would love to be involved with code and different languages.
It is always difficult to determine applicants skills based on their CV alone. This test has been
devised in order for Harmony Soft. to determine how much you know about C# programming
and the craft of software development in general as well as how well you can pick up new
languages and technologies.
WE ONLY CONSIDER APPLICANTS WHO COMPLETE THE TEST!
So by completing it you stand a good chance of getting an interview. There are 3 questions,
and you are required to do all of them. If you do not understand or know how to answer a
question please explain what you do not understand about it and move on. Please indicate any
assumptions you have made.
WE ARE MORE INTERESTED IN HOW YOU UTILISE YOUR KNOWLEDGE
THAN HOW MUCH YOU KNOW.
Answers should be sent electronically to [email protected]
Good Luck!

C# Software Developer Test

1/5

Harmony Software Technologies JSC.

Mouth.......day.........year........

Mark:......../ 100

Full name:..............................................................................................................................
Mobis number:......................................................................................................................
Email:.....................................................................................................................................

Question:
Question 1. (35 points)
Check the correct information.

C# supports multiple class inheritance.


C# support multiple interface inheritance
You can new an instance from class, it has an abstract method.
A C# program will run only on machines that have the Common Language Runtime
installed.

If I assign a negative number to an unsigned variable, the compiler returns the value
without negative.

A form is a control.
Use method ExecuteScalar of OleDbCommand with DataReader.
This is order from largest to smallest: Database; Table; Row/record; Column/field.
Structs are always derived from System.ValueType.
Every class is define by you, they have exactly one base class.
You can define optional argument in method.
You can see keyword string and String in C#. Its the one.
It is like C++, you can use pointers in C#.
A thread is an independent stream of instructions in a program.
The windows service can run without having an interactive user logged on to the
system.

I can use methods in static class after create an instance or don't need create it.
Question 2. (15 points)
Circle the wrong code.
Code 1:
namespace System

C# Software Developer Test

2/5

Harmony Software Technologies JSC.


{

public class MyClass


{
public MyClass()
{
int if = 1;
new MyClass(0);
}
public MyClass(int myarg)
{
return null;
}
}

Code 2:
namespace MyNameSpace
{
public class MyClass
{
public MyClass()
{
new MyClass(0);
}
public MyClass(int myarg)
{
}
public class MyClass1
{
public MyClass1()
{
}
}

Code 3:

namespace MyNameSpace
{
public class MyClass
{
public int IntMyInt = 100;
public MyClass()
{
}
public int Step100(){
MyClass InsMyClass;
return InsMyClass.IntMyInt;

C# Software Developer Test

3/5

Harmony Software Technologies JSC.

Question 3. (50 points)


Write down two important keywords when you define callback functions. (5 points)
................................................................................................
................................................................................................
Write down five important objects when you design a form for update a SQL Server 2000s
database, order by relationship. (5 points)
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
Database have 3 tables:
table 1: student(studentid, name, DOB, address)
table 2: subject(subjectid, name, note)
table 3: mark(markid, studentid, subjectid, value)
Write down query show students 20 years old (from now). (5 points)
....................................................................................................................................
....................................................................................................................................
....................................................................................................................................
....................................................................................................................................
Write down query show students DOB is 7/5/1990 (format dd/MM/yyyy), the query
doesnt dependent the datetime format of DOB in database. (5 points)
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................

Write down query show report of students (students name, subjects name, marks
value). A student can study some subjects without mark return. (5 points)

C# Software Developer Test

4/5

Harmony Software Technologies JSC.


...........................................................................................................................
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................

Write down query show total records of 3 tables: (5 points)


....................................................................................................................................
....................................................................................................................................
....................................................................................................................................
....................................................................................................................................
Input information in to google.com page for search with conditions: The page has words
windows, free download, and crack and the page hasnt got word buy. Write
down url of second web in googles result. (10 points)
....................................................................................................................................
....................................................................................................................................
Input information in to codeproject.com page for search with conditions: demo written
by C# and has word DataGrid. Write name of second demo in codeprojects result. (10
points)
....................................................................................................................................
....................................................................................................................................

The end.

C# Software Developer Test

5/5

You might also like