mst-rj_qrs.html 9.72 KB
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7, IE=9">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>长沙华恒机器人系统有限公司</title>
    <meta name="keywords" content="长沙华恒机器人系统有限公司,华恒机器人,智能物流,机器人焊接"/>
    <meta name="description" content="长沙华恒致力于智能物流、工业机器人、自动化焊接设备的研发和销售,为客户提供优质的智能物流系统与焊接自动化工程一体化解决方案"/>
    <meta name="author" content="长沙华恒机器人系统有限公司"/>
    <link href="favicon.ico" rel="shortcut icon">
    <link rel="stylesheet" href="css/bootstrap.min.css" type="text/css">
    <link href="css/font-awesome.min.css" rel="stylesheet" />
    <link rel="stylesheet" href="https://at.alicdn.com/t/font_1805932_ysrcp4y0uy9.css">
    <link rel="stylesheet" href="css/uploadImg.css">
    <link rel="stylesheet" href="css/ms_style.css" type="text/css">
    <link rel="stylesheet" href="css/reveal.css">
    <script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
    <script type="text/javascript" src="js/jquery.reveal.js"></script>
    <style type="text/css">
        .form-control {
            font-size: 16px;
        }
        .form-center .username input,.form-center .password input{
            height: 50px;
            padding-left: 60px;
        }
        .form-control-feedback {
            line-height: 50px;
            left: 20px;
        }
        @media (max-width: 414px){
            .form-control {
                font-size: 16px;
                padding: 6px 12px 6px 50px;
            }
        }
    </style>
    <script src="js/jquery.min.js"></script>
    <!--倒计时控制-->
    <script type="text/javascript">
        var maxtime = 120 * 60; //
        var examTime=0;
        function CountDown() {
            if (maxtime >= 0) {
                minutes = Math.floor(maxtime / 60);
                seconds = Math.floor(maxtime % 60);
                examTime++;
                msg = "剩余" + minutes + "分" + seconds + "秒";
                document.all["timer"].innerHTML = msg;
                if (maxtime == 5 * 60)alert("距离结束仅剩5分钟");
                --maxtime;
            } else{
                clearInterval(timer);
                submitAnswer();
                alert("时间到,结束!");
            }
        }
        //timer = setInterval("CountDown()", 1000);
    </script>
</head>
<body>
<div class="top">
    <div class="container">
        <div class="row">
            <div class="pull-left logo">
                <img src="images/white_logo.png">
            </div>
            <div class="pull-right user" id="pull-right">
                <span class="pull-right">
                        <span style="position: relative;top:5px"><i class="fa fa-pause-circle-o" style="font-size: 35px; color: red;"></i></span>
                        <span style="font-size: 18px;" id="timer"></span>
                        <span id="warring"></span>
                </span>
            </div>
        </div>
    </div>
</div>
<div class="container cont">
    <div class="mst">
        <div class="mst_title">
            <div class="st_title">软件测试题(嵌入式)</div>
            <p style="text-align: center"><span>总分:100分</span>  <span style="padding-left: 20px">闭卷:120分钟</span></p>
            <div class="row">
                <div class="col-md-3 col-md-offset-3"><span style="color:red">*</span>姓名:<input id="userName" type="text" maxlength="30" class="tm_input" placeholder="必填项" readonly></div>
                <div class="col-md-3"><span style="color:red">*</span>
                    电话:<input id="userPhone" type="text" maxlength="20" class="tm_input" placeholder="必填项" readonly>
                    <!--<p style="font-size:14px;color: red;">格式错误</p>-->
                </div>
            </div>
        </div>
        <div class="mst-dt">
            <h3 class="tm_title2">1、关键字STATIC的作用是什么?</h3>
            <div style="padding:0 30px;">
                  <textarea rows="6" name="answer" class="form-control2" placeholder="这里写答案..." style="height: 120px"></textarea>
            </div>
            <h3 class="tm_title2" style="padding-top: 10px">2、h头文件中ifndef/define/endif的作用?</h3>
            <div style="padding:0 30px;">
                <textarea rows="6" name="answer" class="form-control2" placeholder="这里写答案..." style="height: 120px"></textarea>
            </div>
            <h3 class="tm_title2" style="padding-top: 10px">3、嵌入式系统中经常用到死循环,你怎样用C编写死循环?</h3>
            <div style="padding:0 30px;">
                <textarea rows="6" name="answer" class="form-control2" placeholder="这里写答案..." style="height: 120px"></textarea>
            </div>
            <h3 class="tm_title2" style="padding-top: 10px">4、给定变量 int a,写两段代码,第一个清除a的第7位,第二个设置a的第8位,保持其他位不变</h3>
            <div style="padding:0 30px;">
                <textarea rows="6" name="answer" class="form-control2" placeholder="这里写答案..." style="height: 120px"></textarea>
            </div>
            <h3 class="tm_title2" style="padding-top: 10px">5、下面的代码输出什么?</h3>
            <div style="padding:0 30px;"> 
                <pre>
Void foo(void)
{
    Unsigned int a = 6;
    Int b = -20;
    (a+b>6)?puts(a>6) : puts(a<6);
}
                </pre>
            </div>
            <div style="padding:0 30px;">
                <textarea rows="6" name="answer" class="form-control2" placeholder="这里写答案..." style="height: 120px"></textarea>
            </div>
            <h3 class="tm_title2" style="padding-top: 10px">6、请写出下面代码的输出内容:</h3>
            <div style="padding:0 30px;"> 
                <pre>
int Main()
{
    Int a,b,c,d;
    a = 10;
    b = a++;
    c = ++a;
    d = 10*a++;
    Printf(“b,c,d:%d,%d,%d”,b,c,d);
    Return 0;
}
                    
                    
Int main()
{
    Int a[5]={1,2,3,4,5};
    Int *ptr = (int *)(&a+1);
    Printf(“%d,%d”,*(a+1),*(ptr-1));
}
                </pre>
            </div>
            <div style="padding:0 30px;">
                <textarea rows="6" name="answer" class="form-control2" placeholder="这里写答案..." style="height: 120px"></textarea>
            </div>
            <h3 class="tm_title2" style="padding-top: 10px">7、嵌入式系统中,ROM,RAM,REGISTER的概念和作用是什么?</h3>
            <div style="padding:0 30px;">
                <textarea rows="6" name="answer" class="form-control2" placeholder="这里写答案..." style="height: 120px"></textarea>
            </div>
            <h3 class="tm_title2" style="padding-top: 10px">8、STM32的芯片,初始化哪些东西才能跑起来?</h3>
            <div style="padding:0 30px;">
                <textarea rows="6" name="answer" class="form-control2" placeholder="这里写答案..." style="height: 120px"></textarea>
            </div>
            <h3 class="tm_title2" style="padding-top: 10px">9、CAN通讯总结介绍一下?</h3>
            <div style="padding:0 30px;">
                <textarea rows="6" name="answer" class="form-control2" placeholder="这里写答案..." style="height: 120px"></textarea>
            </div>
            <h3 class="tm_title2" style="padding-top: 10px;">
                10、CAN初始化配置步骤?
            </h3>
            <div style="padding:0 30px;">
                <textarea rows="6" name="answer" class="form-control2" placeholder="这里写答案..." style="height: 120px"></textarea>
            </div>
            <h3 class="tm_title2" style="padding-top: 10px;">
                11、CAN发送数据格式?
            </h3>
            <div style="padding:0 30px;">
                <textarea rows="6" name="answer" class="form-control2" placeholder="这里写答案..." style="height: 120px"></textarea>
            </div>
            
            <div class="form-group" style="overflow: hidden" id="hiddenSubmit">
                <div class="col-lg-4 col-lg-offset-4 col-sm-12" style="padding-top: 5%">
                    <a href="#" data-reveal-id="myModal" class="btn btn-primary btn-lg btn-block" style="height:60px;line-height:34px;font-size:21px;" role="button">交卷</a>
                </div>
                <div id="myModal" class="reveal-modal">
                    <h1 class="qr_title">确认提示</h1>
                    <p><i class="fa fa-3x fa-question-circle text-info pull-left"></i> <span style="position: relative;">再次确认是否交卷?仔细核对姓名和电话号码是否正确,交卷后将不能继续答题!</span></p>
                    <div class="form-group" style="padding-top: 20px">
                        <div class="pull-right">
                            <button type="submit" onclick="submitAnswer();" class="btn btn-primary btn-lg" style="font-size: 16px">确定</button>
                            &nbsp;&nbsp;
                            <button type="submit" class="btn btn-default btn-lg close-reveal-modal" style="font-size: 16px">取消</button>
                        </div>
                    </div>
                    <a class="close-reveal-modal close-reveal">&#215;</a>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="js/bootstrap.min.js"></script>
<script src="js/uploadImg.js"></script>
<script src="js/common.js"></script>
<script src="js/answer_qrs.js"></script>
<script src="js/layer/layer.js"></script>
<script>

    // layerOpen(2);
    layerOpen(7);
    
    </script>
</body>
</html>