选择,中考数学填空选择,改写

选择正确的词语填空。竟然依然果
日期:2016 年 09 月 08 日
用时: ____
得分: ____
选择正确的词语填空。4|4T+L(x/L4R*c2?1b
竟然 依然 果然4|4T+L(x/L4R*c2?1b
1.安静是个盲童,抓住了一只蝴蝶,这真是个奇迹!4|4T+L(x/L4R*c2?1b
2.昨天天气预报说今天降温,5s9|.q,Z3_早晨起来就刮起了大风,寒气袭人。4|4T+L(x/L4R*c2?1b
3.小夜莺完成了任务,坐在河边手里削着什么,好像在等着什么。4|4T+L(x/L4R*c2?1b
语文六年级下册选词填空习题
语文六年级下册习题
语文六年级下册题型
各年级语文习题填空,开改写_百度知道英语填空,改写句子_百度知道c# + acces 实现网上答题功能,包括单选及填空改错 - 开源中国社区
当前访客身份:游客 [
当前位置:
发布于 日 23时,
c#&+&&access&.Net3.5环境下的在线答题系统源码,可作为初学者模仿练习
代码片段(5)
prestart.aspx&~&3KB&&&&
&%@ Page Language="C#" AutoEventWireup="true" CodeFile="prestart.aspx.cs" Inherits="prestart" %&
&!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&
&html xmlns="http://www.w3.org/1999/xhtml"&
&head runat="server"&
&base target="_blank"/&
&title&testing&/title&
&form id="form1" runat="server"&
&div style="width:815 height: float: font-size:14px"&
&dt&&b&系统介绍&/b&&/dt&
&dd&&&&/dd&
&dd&1、在线测试系统提供了“单项选择、多项选择、填空、改错、计算、综合”六大题型;&/dd&
&dd&2、提交测试结果后,系统将会自动给出正确答案;&/dd&
&dd&3、测试时可以自由选择题目数以及题型。&/dd&
&hr style="color:#CBCBCB; " /&
&dt&&b&进入测试&/b&&/dt&
&dd&&&&/dd&
&dd&选择测试题型及题目:&/dd&
&asp:RadioButtonList ID="RadioButtonList1" runat="server"
onselectedindexchanged="RadioButtonList1_SelectedIndexChanged" Width="176px"&
&asp:ListItem&单选题 【共 10 题】&/asp:ListItem&
&asp:ListItem&多选题 【共 05 题】&/asp:ListItem&
&asp:ListItem&改错题 【共 06 题】&/asp:ListItem&
&asp:ListItem&填空题 【共 08 题】&/asp:ListItem&
&asp:ListItem&计算题 【共 07 题】&/asp:ListItem&
&asp:ListItem&综合题 【共 05 题】&/asp:ListItem&
&/asp:RadioButtonList&
&dd&选择题目量为:&asp:TextBox ID="TextBox1" runat="server" Height="20px" Width="60px" &&/asp:TextBox&
&asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"
ControlToValidate="TextBox1" ErrorMessage="
请输入合适的正整数"
ValidationExpression="^\+?[1-9][0-9]*$"&&/asp:RegularExpressionValidator&
&dd&&&&/dd&
&asp:Button ID="Button1" runat="server" Text="进入测试" onclick="Button1_Click" /&
&asp:Button ID="Button2" runat="server" Text="重新选择" onclick="Button2_Click" /&
&asp:Label ID="Label1" runat="server" Text="" ForeColor="#CC0000"&&/asp:Label&
single.aspx&~&7KB&&&&
&%@ Page Language="C#" AutoEventWireup="true" CodeFile="single.aspx.cs" Inherits="single" %&
&!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&
&html xmlns="http://www.w3.org/1999/xhtml"&
&head runat="server"&
&title&在线测试&/title&
&style type="text/css"&
#list1{ width:35}
#list2{ width:30}
#list4{ text-align: width:375}
#list3{ text-align: width:375}
&form id="form1" runat="server"&
&div style="width:810 height: float: font-size:14px"&
&div style="height:3 width:815px"&&/div&
&div style="width:815 height:25 line-height:25 text-align: float: font-size:18px"&
&b&正在测试---&asp:Label ID="Label1" runat="server" ForeColor="Red"&&/asp:Label&选&asp:Label
ID="Label3" runat="server" Text="" ForeColor="Red"&&/asp:Label&题&/b&
&hr style="color:#CBCBCB; " /&
&%-- &asp:GridView ID="GridView1" AutoGenerateColumns="False"
runat="server"
BorderStyle="None" GridLines="None"&
&RowStyle BorderStyle="None" /&
&EmptyDataRowStyle BorderStyle="None" /&
&asp:TemplateField&
&ItemTemplate&
&table style="margin-top:20"&
id="list1"&&/td&&td
id="list2"&&%# Container.DataItemIndex+1%&&&img src="image/ask.jpg" alt="???" /&&&&/td&
&td colspan='2'&&asp:Label ID="itemwtLabel" runat="server" Text='&%# Eval("itemwt") %&' /& ( )
&asp:Image ID="Image1" runat="server" Visible="False" /&&/td&&/tr&
id="list1"&&/td&&td id="list2"&&/td&&td colspan='2'&
&asp:Label ID="AnsLabel" runat="server" Text="答案: " Visible="False" ForeColor="#3333CC"&&/asp:Label&
&asp:Label ID="answerLabel" runat="server" Text='&%# Eval("answer") %&' Visible="False" ForeColor="Red" /&&/td&&/tr&
id="list1"&&/td&&td id="list2"&&/td&&td id="list3"&A.
&asp:RadioButton ID="RadioButton1" runat="server"
GroupName="single" /&
&asp:Label ID="itemda1Label" runat="server" Text='&%# Eval("itemda1") %&' /&&/td&
&td id="list3"&B.&asp:RadioButton ID="RadioButton2" runat="server"
GroupName="single" /&
&asp:Label ID="itemda2Label" runat="server" Text='&%# Eval("itemda2") %&' /&&/td&&/tr&
&tr&&td id="list1"&&/td&&td id="list2"&&/td&&td id="list3"&C.
&asp:RadioButton ID="RadioButton3" runat="server" GroupName="single" /&
&asp:Label ID="itemda3Label" runat="server" Text='&%# Eval("itemda3") %&' /&&/td&
&td id="list3"&D.&asp:RadioButton ID="RadioButton4"
runat="server" GroupName="single" /&
&asp:Label ID="itemda4Label" runat="server" Text='&%# Eval("itemda4") %&' /&&/td&&/tr&
&/ItemTemplate&
&/asp:TemplateField&
&/Columns&
&FooterStyle BorderStyle="None" /&
&PagerStyle BorderStyle="None" /&
&SelectedRowStyle BorderStyle="None" /&
&HeaderStyle BorderStyle="None" /&
&EditRowStyle BorderStyle="None" /&
&AlternatingRowStyle BorderStyle="None" /&
&/asp:GridView&--%&
&asp:DataList ID="DataList1" runat="server" CellPadding="4" DataKeyField="ID"
ForeColor="#333333" Width="815px"&
&FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /&
&AlternatingItemStyle BackColor="White" ForeColor="#284775" /&
&ItemStyle BackColor="#F7F6F3" ForeColor="#333333" /&
&SelectedItemStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /&
&HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /&
&ItemTemplate&
&table style="margin-top:20"&
id="list1"&&/td&&td
id="list2"&&%# Container.ItemIndex+1%&&&img src="image/ask.jpg" alt="???" /&&&&/td&
&td colspan='2'&&asp:Label ID="itemwtLabel" runat="server" Text='&%# Eval("itemwt") %&' /& ( )
&asp:Image ID="Image2" runat="server" Visible="False" /&&/td&&/tr&
id="list1"&&/td&&td id="list2"&&/td&&td colspan='2'&
&asp:Label ID="AnsLabel" runat="server" Text="答案: " Visible="False" ForeColor="#3333CC"&&/asp:Label&&asp:Label ID="answerLabel" runat="server" Text='&%# Eval("answer") %&' Visible="False" ForeColor="Red" /&&/td&&/tr&
id="list1"&&/td&&td id="list2"&&/td&&td id="list3"&A.
&asp:RadioButton ID="RadioButton1" runat="server"
GroupName="single" /&
&asp:Label ID="itemda1Label" runat="server" Text='&%# Eval("itemda1") %&' /&&/td&
&td id="list3"&B.&asp:RadioButton ID="RadioButton2" runat="server"
GroupName="single" /& &asp:Label ID="itemda2Label" runat="server" Text='&%# Eval("itemda2") %&' /&&/td&&/tr&
&tr&&td id="list1"&&/td&&td id="list2"&&/td&&td id="list3"&C.
&asp:RadioButton ID="RadioButton3" runat="server" GroupName="single" /& &asp:Label ID="itemda3Label" runat="server" Text='&%# Eval("itemda3") %&' /&&/td&
&td id="list3"&D.&asp:RadioButton ID="RadioButton4"
runat="server" GroupName="single" /&&asp:Label ID="itemda4Label" runat="server" Text='&%# Eval("itemda4") %&' /&&/td&&/tr&
&/ItemTemplate&
&/asp:DataList&
&table&&tr&&td id="list1"&&/td&&td id="list2"&&/td&
&td id="list4"&&asp:Button ID="Button1" runat="server" Text="提交"
onclick="Button1_Click" /&&&&/td&
&td id="list3"&&asp:Button ID="Button2" runat="server" Text="重置"
onclick="Button2_Click" /&
&asp:Label ID="Label2" runat="server" Text=""&&/asp:Label&
single.aspx.cs&~&6KB&&&&
using System.C
using System.C
using System.D
using System.Data.OleDb;
using System.L
using System.W
using System.Web.S
using System.Web.UI;
using System.Web.UI.HtmlC
using System.Web.UI.WebC
using System.Web.UI.WebControls.WebP
using System.Xml.L
public partial class single : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
Button1.Attributes.Add("onclick", "this.form.target='_self'");
if (Session["TiType"] == null)
Response.Redirect("prestart.aspx");
Label1.Text = Session["TiType"].ToString();
Label3.Text = Request.Cookies["num"].Value.ToString();
if (!IsPostBack)
Banding();
protected void Banding()
//string str = Request.Cookies["num"].ToString();
// int TiNum = int.Parse(str);
int Tinum = int.Parse(Request.Cookies["num"].Value);
string strCon = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=|DataDirectory|ItemPool.mdb";
sqlcon = new OleDbConnection(strCon);
sqlcon.Open();
string sqlstr = "SELECT top " + Tinum + " * FROM singlechoice order by rnd(-1 * id + time())";
OleDbDataAdapter MyAdapter = new OleDbDataAdapter(sqlstr, sqlcon);
DataSet ds = new DataSet();
MyAdapter.Fill(ds);
this.DataList1.DataSource =
this.DataList1.DataBind();//problem solved
//this.GridView1.DataSource =
//this.GridView1.DataBind();
sqlcon.Close();
protected void DataList1_ItemDataBound(object sender, DataListItemEventArgs e)
RadioButton r = (RadioButton)e.Item.FindControl("RadioButton1");
r.Attributes.Add("onclick", "resetname('" + r.ClientID + "')");
protected void Button1_Click(object sender, EventArgs e)
//Datalist
foreach (DataListItem dr in DataList1.Items)
string str = "";
if (((RadioButton)dr.FindControl("RadioButton1")).Checked)
str = "A";
else if (((RadioButton)dr.FindControl("RadioButton2")).Checked)
str = "B";
else if (((RadioButton)dr.FindControl("RadioButton3")).Checked)
str = "C";
else if (((RadioButton)dr.FindControl("RadioButton4")).Checked)
str = "D";
if (((Label)dr.FindControl("answerLabel")).Text.Trim() == str)//将用户选择结果和答案进行比较
((Image)DataList1.Items[dr.ItemIndex].FindControl("Image2")).ImageUrl = ("image/right.jpg");
((Image)DataList1.Items[dr.ItemIndex].FindControl("Image2")).Visible =
else if (((Label)dr.FindControl("answerLabel")).Text.Trim() != str)
((Image)DataList1.Items[dr.ItemIndex].FindControl("Image2")).ImageUrl = ("image/wrong.jpg");
((Image)DataList1.Items[dr.ItemIndex].FindControl("Image2")).Visible =
// Response.Write(((Label)dr.FindControl("answerLabel")).Text.Trim());
//显示答案Label
((Label)DataList1.Items[dr.ItemIndex].FindControl("AnsLabel")).Visible =
((Label)DataList1.Items[dr.ItemIndex].FindControl("answerLabel")).Visible =
////////////////////////
//GridView
////////////////////////
//Hashtable htsing = new Hashtable();
//foreach (GridViewRow dr in GridView1.Rows)//对单选题每题进行判断用户选择答案
string str = "";
if (((RadioButton)dr.FindControl("RadioButton1")).Checked)
str = "A";
else if (((RadioButton)dr.FindControl("RadioButton2")).Checked)
str = "B";
else if (((RadioButton)dr.FindControl("RadioButton3")).Checked)
str = "C";
else if (((RadioButton)dr.FindControl("RadioButton4")).Checked)
str = "D";
if (((Label)dr.FindControl("answerLabel")).Text.Trim() == str)//将用户选择结果和答案进行比较
((Image)GridView1.Rows[dr.RowIndex].FindControl("Image1")).ImageUrl = ("image/right.jpg");
((Image)GridView1.Rows[dr.RowIndex].FindControl("Image1")).Visible =
else if (((Label)dr.FindControl("answerLabel")).Text.Trim() != str)
((Image)GridView1.Rows[dr.RowIndex].FindControl("Image1")).ImageUrl = ("image/wrong.jpg");
((Image)GridView1.Rows[dr.RowIndex].FindControl("Image1")).Visible =
htsing.Add(dr.RowIndex, str);
//显示答案Label
((Label)GridView1.Rows[dr.RowIndex].FindControl("AnsLabel")).Visible =
((Label)GridView1.Rows[dr.RowIndex].FindControl("answerLabel")).Visible =
///////////////////////////////////////////
//Session["htsing"] =//保存单选题答案
///////////////////////////////////////////
protected void Button2_Click(object sender, EventArgs e)
Response.Redirect("single.aspx");
mulity.aspx&~&4KB&&&&
&%@ Page Language="C#" AutoEventWireup="true" CodeFile="mulity.aspx.cs" Inherits="mulity" %&
&!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&
&html xmlns="http://www.w3.org/1999/xhtml"&
&head runat="server"&
&title&在线测试&/title&
&style type="text/css"&
#list1{ width:35}
#list2{ width:30}
#list4{ text-align: width:375}
#list3{ text-align: width:375}
&form id="form1" runat="server"&
&div style="width:810 height: float: font-size:14px"&
&div style="height:3 width:815px"&&/div&
&div style="width:815 height:25 line-height:25 text-align: float: font-size:18px"&
&b&正在测试---&asp:Label ID="Label1" runat="server" ForeColor="Red"&&/asp:Label&选&asp:Label
ID="Label3" runat="server" Text="" ForeColor="Red"&&/asp:Label&题&/b&
&hr style="color:#CBCBCB; " /&
&asp:DataList ID="DataList1" runat="server" CellPadding="4" DataKeyField="ID"
ForeColor="#333333" Width="815px"&
&FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /&
&AlternatingItemStyle BackColor="White" ForeColor="#284775" /&
&ItemStyle BackColor="#F7F6F3" ForeColor="#333333" /&
&SelectedItemStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /&
&HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /&
&ItemTemplate&
&table style="margin-top:20"&
id="list1"&&/td&&td
id="list2"&&%# Container.ItemIndex+1%&&&img src="image/ask.jpg" alt="???" /&&&&/td&
&td colspan='2'&&asp:Label ID="itemwtLabel" runat="server" Text='&%# Eval("itemwt") %&' /& ( )
&asp:Image ID="Image1" runat="server" Visible="False" /&&/td&&/tr&
id="list1"&&/td&&td id="list2"&&/td&&td colspan='2'&
&asp:Label ID="AnsLabel" runat="server" Text="答案: " Visible="False" ForeColor="#3333CC"&&/asp:Label&
&asp:Label ID="answerLabel" runat="server" Text='&%# Eval("answer") %&' Visible="False" ForeColor="Red" /&&/td&&/tr&
id="list1"&&/td&&td id="list2"&&/td&&td id="list3"&A.
&asp:CheckBox ID="CheckBox1" runat="server" /&&asp:Label ID="itemda1Label" runat="server" Text='&%# Eval("itemda1") %&' /&&/td&
&td id="list3"&B.&asp:CheckBox ID="CheckBox2" runat="server" /&&asp:Label ID="itemda2Label" runat="server" Text='&%# Eval("itemda2") %&' /&&/td&&/tr&
&tr&&td id="list1"&&/td&&td id="list2"&&/td&&td id="list3"&C.
&asp:CheckBox ID="CheckBox3" runat="server" /&&asp:Label ID="itemda3Label" runat="server" Text='&%# Eval("itemda3") %&' /&&/td&
&td id="list3"&D.&asp:CheckBox ID="CheckBox4" runat="server" /&&asp:Label ID="itemda4Label" runat="server" Text='&%# Eval("itemda4") %&' /&&/td&&/tr&
&/ItemTemplate&
&/asp:DataList&
&table&&tr&&td id="list1"&&/td&&td id="list2"&&/td&
&td id="list4"&&asp:Button ID="Button1" runat="server" Text="提交"
onclick="Button1_Click" /&&&&/td&
&td id="list3"&&asp:Button ID="Button2" runat="server" Text="重置"
onclick="Button2_Click" /&
&asp:Label ID="Label2" runat="server" Text=""&&/asp:Label&
mulity.aspx.cs&~&4KB&&&&
using System.C
using System.C
using System.D
using System.Data.OleDb;
using System.L
using System.W
using System.Web.S
using System.Web.UI;
using System.Web.UI.HtmlC
using System.Web.UI.WebC
using System.Web.UI.WebControls.WebP
using System.Xml.L
public partial class mulity : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
Button1.Attributes.Add("onclick", "this.form.target='_self'");
if (Session["TiType"] == null)
Response.Redirect("prestart.aspx");
Label1.Text = Session["TiType"].ToString();
Label3.Text = Request.Cookies["num"].Value.ToString();
if (!IsPostBack)
Banding();
//RandNum();
protected void Banding()
//string str = Request.Cookies["num"].ToString();
// int TiNum = int.Parse(str);
int Tinum =int.Parse(Request.Cookies["num"].Value);
string strCon = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=|DataDirectory|ItemPool.mdb";
sqlcon = new OleDbConnection(strCon);
sqlcon.Open();
string sqlstr = "SELECT top " + Tinum + " * FROM mulitychoice order by rnd(-1 * id + time())";
OleDbDataAdapter MyAdapter = new OleDbDataAdapter(sqlstr, sqlcon);
DataSet ds = new DataSet();
MyAdapter.Fill(ds);
this.DataList1.DataSource =
this.DataList1.DataBind();//problem solved
sqlcon.Close();
protected void Button1_Click(object sender, EventArgs e)
Hashtable htMulit = new Hashtable();
foreach (DataListItem dr in DataList1.Items)
string str = "";
if (((CheckBox)dr.FindControl("CheckBox1")).Checked)
str += "A";
if (((CheckBox)dr.FindControl("CheckBox2")).Checked)
str += "B";
if (((CheckBox)dr.FindControl("CheckBox3")).Checked)
str += "C";
if (((CheckBox)dr.FindControl("CheckBox4")).Checked)
str += "D";
if (((Label)dr.FindControl("answerLabel")).Text.Trim() == str)//将用户选择结果和答案进行比较
((Image)DataList1.Items[dr.ItemIndex].FindControl("Image1")).ImageUrl = ("image/right.jpg");
((Image)DataList1.Items[dr.ItemIndex].FindControl("Image1")).Visible =
else if (((Label)dr.FindControl("answerLabel")).Text.Trim() != str)
((Image)DataList1.Items[dr.ItemIndex].FindControl("Image1")).ImageUrl = ("image/wrong.jpg");
((Image)DataList1.Items[dr.ItemIndex].FindControl("Image1")).Visible =
//Response.Write(((Label)dr.FindControl("answerLabel")).Text.Trim());//显示成功
//显示答案
((Label)DataList1.Items[dr.ItemIndex].FindControl("AnsLabel")).Visible =
((Label)DataList1.Items[dr.ItemIndex].FindControl("answerLabel")).Visible =
htMulit.Add(dr.ItemIndex, str);
protected void Button2_Click(object sender, EventArgs e)
Response.Redirect("mulity.aspx");
开源中国-程序员在线工具:
相关的代码(6)
10回/5379阅
0回/1990阅
13回/5123阅
0回/1695阅
打个包放上去不是更好吗?!
开源从代码分享开始
淡恒的其它代码填空选择,自主练习&
冷死yeZI30FA65
填空第一题10
填空第二题a的平方,a+b的和的分之一
第三题x.y的平方分之2z
第四题x=-1时
请叫我雷锋
😄雷锋
为您推荐:
其他类似问题
扫描下载二维码}

我要回帖

更多关于 中考数学填空选择 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信