| |

VerySource

 Forgot password?
 Register
Search
View: 1707|Reply: 11

A company C # engineer's test question! (Ask the experts)

[Copy link]

3

Threads

5

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-3-18 11:30:01
| Show all posts |Read mode
The following are the test questions. I ca n’t write the storage process, and of course I wo n’t call it. Others will. It ’s not easy to find a job after graduation. This company ca n’t get in, but I also ask experts to help me with a simple storage. Pass the code, (as long as, 1.3 and 4.1\4.2) give me a code example, class, call me, but for the sake of convenience, I posted it together / thank you,


<A> Write SQL script with Notepad. Features:
 1.Create a SQL Server database on this machine
 2. Create a data table t, which includes three fields: A, B, and C. The A field is a variable-length character type with a length of 10 bytes; the B field is an integer type; and the C field is a floating point type.
 3, write stored procedures prT_Add, prT_Cha, PrT_Del, the function is to add, modify, delete records on the table T, respectively.
< 二 > Dreamweaver design user interface for operating data table t
< 三 > Write a function with Javascript_ to verify the correctness of the data entered by the user.
 1.The content of field A cannot exceed 10 bytes
 2. The content of field B cannot be character data, and the data cannot overflow
 3. Field C cannot be character data or integer
< 四 > Write C # WEB program (B / S structure). Features:
 1. Write classes Add, Cha, and Del to call stored procedures (prT_Add, prT_Cha, PrT_Del) to access the database.
 2.Call the corresponding classes (Add, Cha, Del) in the corresponding event procedures.
Reply

Use magic Report

0

Threads

14

Posts

14.00

Credits

Newbie

Rank: 1

Credits
14.00

 China

Post time: 2020-6-22 21:00:01
| Show all posts
Always write something ready
@_@
Reply

Use magic Report

0

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-6-24 09:30:01
| Show all posts
create database test
GO
use [test]
GO
create table t
(
A varchar(10),
B int,
C decimal,

PRIMARY KEY CLUSTERED
(
A ASC
) ON [PRIMARY]
) ON [PRIMARY]
GO
create proc t_Add
@A varchar(10),
@B int,
@C decimal
AS
insert into t values(@A,@B,@C)
GO
create proc t_Update
@A varchar(10),
@B int,
@C decimal
AS
update t set B=@B,C=@C where A=@A
GO
create proc t_Del
@A varchar(10)
AS
delete t where A=@A
GO
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-6-27 22:30:01
| Show all posts
Such a boring test question,
Now people like to come up with some silly questions to show their skills
Reply

Use magic Report

1

Threads

16

Posts

12.00

Credits

Newbie

Rank: 1

Credits
12.00

 China

Post time: 2020-6-29 14:00:01
| Show all posts
The company shouldn't have such questions

The most important thing for programmers is not how to write code!

personal opinion
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-6-29 14:15:01
| Show all posts
What broke the company, don’t they use IDE?

Can these basic questions be tested by engineers?
Reply

Use magic Report

0

Threads

4

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-6-29 14:30:01
| Show all posts
Haha, all the posts upstairs are out
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-6-29 17:00:01
| Show all posts
Is it for the fresh graduates? ? sweat! !
Reply

Use magic Report

0

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-6-29 18:15:02
| Show all posts
Ha ha, there is no need to write code by hand
Reply

Use magic Report

0

Threads

8

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-6-30 21:30:01
| Show all posts
Okay I will
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list